usbcpower 2.1.0.0
USB-C Power Registers List

List of registers of USB-C Power Click driver. More...

Macros

#define USBCPOWER_REG_MODE   0x03
 USB-C Power description register.
 
#define USBCPOWER_MODE_REG_SIZE   5
 
#define USBCPOWER_REG_TYPE   0x04
 
#define USBCPOWER_TYPE_REG_SIZE   5
 
#define USBCPOWER_REG_CUSTUSE   0x06
 
#define USBCPOWER_CUSTUSE_REG_SIZE   9
 
#define USBCPOWER_REG_CMD1   0x08
 
#define USBCPOWER_CMD1_REG_SIZE   5
 
#define USBCPOWER_REG_DATA   0x09
 
#define USBCPOWER_DATA_REG_SIZE   65
 
#define USBCPOWER_REG_DEVICE_CAP   0x0D
 
#define USBCPOWER_DEVICE_CAP_REG_SIZE   5
 
#define USBCPOWER_REG_VERSION   0x0F
 
#define USBCPOWER_VERSION_REG_SIZE   5
 
#define USBCPOWER_REG_INT_EVENT1   0x14
 
#define USBCPOWER_INT_EVENT1_REG_SIZE   15
 
#define USBCPOWER_REG_INT_MASK1   0x16
 
#define USBCPOWER_INT_MASK1_REG_SIZE   12
 
#define USBCPOWER_REG_INT_CLEAR1   0x18
 
#define USBCPOWER_INT_CLEAR1_REG_SIZE   12
 
#define USBCPOWER_REG_STATUS   0x1A
 
#define USBCPOWER_STATUS_REG_SIZE   6
 
#define USBCPOWER_REG_POWER_PATH_STATUS   0x26
 
#define USBCPOWER_POWER_PATH_STATUS_REG_SIZE   6
 
#define USBCPOWER_REG_PORT_CONTROL   0x29
 
#define USBCPOWER_PORT_CONTROL_REG_SIZE   5
 
#define USBCPOWER_REG_BOOT_STATUS   0x2D
 
#define USBCPOWER_BOOT_STATUS_REG_SIZE   6
 
#define USBCPOWER_REG_BUILD_DESC   0x2E
 
#define USBCPOWER_BUILD_DESC_SIZE   50
 
#define USBCPOWER_REG_DEVICE_INFO   0x2F
 
#define USBCPOWER_DEVICE_INFO_REG_SIZE   41
 
#define USBCPOWER_REG_RX_SOURCE_CAPS   0x30
 
#define USBCPOWER_RX_SOURCE_CAPS_REG_SIZE   30
 
#define USBCPOWER_REG_RX_SINK_CAPS   0x31
 
#define USBCPOWER_RX_SINK_CAPS_REG_SIZE   30
 
#define USBCPOWER_REG_TX_SOURCE_CAPS   0x32
 
#define USBCPOWER_TX_SOURCE_CAPS_REG_SIZE   32
 
#define USBCPOWER_REG_TX_SINK_CAPS   0x33
 
#define USBCPOWER_TX_SINK_CAPS_REG_SIZE   30
 
#define USBCPOWER_REG_ACTIVE_CONTRACT_PDO   0x34
 
#define USBCPOWER_ACTIVE_CONTRACT_PDO_REG_SIZE   7
 
#define USBCPOWER_REG_ACTIVE_CONTRACT_RDO   0x35
 
#define USBCPOWER_ACTIVE_CONTRACT_RDO_REG_SIZE   5
 
#define USBCPOWER_REG_POWER_STATUS   0x3F
 
#define USBCPOWER_POWER_STATUS_REG_SIZE   3
 
#define USBCPOWER_REG_PD_STATUS   0x40
 
#define USBCPOWER_PD_STATUS_REG_SIZE   5
 
#define USBCPOWER_REG_TYPEC_STATE   0x69
 
#define USBCPOWER_TYPEC_STATE_REG_SIZE   5
 
#define USBCPOWER_REG_GPIO_STATUS   0x72
 
#define USBCPOWER_GPIO_STATUS_REG_SIZE   9
 

Detailed Description

List of registers of USB-C Power Click driver.

Macro Definition Documentation

◆ USBCPOWER_ACTIVE_CONTRACT_PDO_REG_SIZE

#define USBCPOWER_ACTIVE_CONTRACT_PDO_REG_SIZE   7

◆ USBCPOWER_ACTIVE_CONTRACT_RDO_REG_SIZE

#define USBCPOWER_ACTIVE_CONTRACT_RDO_REG_SIZE   5

◆ USBCPOWER_BOOT_STATUS_REG_SIZE

#define USBCPOWER_BOOT_STATUS_REG_SIZE   6

◆ USBCPOWER_BUILD_DESC_SIZE

#define USBCPOWER_BUILD_DESC_SIZE   50

◆ USBCPOWER_CMD1_REG_SIZE

#define USBCPOWER_CMD1_REG_SIZE   5

◆ USBCPOWER_CUSTUSE_REG_SIZE

#define USBCPOWER_CUSTUSE_REG_SIZE   9

◆ USBCPOWER_DATA_REG_SIZE

#define USBCPOWER_DATA_REG_SIZE   65

◆ USBCPOWER_DEVICE_CAP_REG_SIZE

#define USBCPOWER_DEVICE_CAP_REG_SIZE   5

◆ USBCPOWER_DEVICE_INFO_REG_SIZE

#define USBCPOWER_DEVICE_INFO_REG_SIZE   41

◆ USBCPOWER_GPIO_STATUS_REG_SIZE

#define USBCPOWER_GPIO_STATUS_REG_SIZE   9

◆ USBCPOWER_INT_CLEAR1_REG_SIZE

#define USBCPOWER_INT_CLEAR1_REG_SIZE   12

◆ USBCPOWER_INT_EVENT1_REG_SIZE

#define USBCPOWER_INT_EVENT1_REG_SIZE   15

◆ USBCPOWER_INT_MASK1_REG_SIZE

#define USBCPOWER_INT_MASK1_REG_SIZE   12

◆ USBCPOWER_MODE_REG_SIZE

#define USBCPOWER_MODE_REG_SIZE   5

◆ USBCPOWER_PD_STATUS_REG_SIZE

#define USBCPOWER_PD_STATUS_REG_SIZE   5

◆ USBCPOWER_PORT_CONTROL_REG_SIZE

#define USBCPOWER_PORT_CONTROL_REG_SIZE   5

◆ USBCPOWER_POWER_PATH_STATUS_REG_SIZE

#define USBCPOWER_POWER_PATH_STATUS_REG_SIZE   6

◆ USBCPOWER_POWER_STATUS_REG_SIZE

#define USBCPOWER_POWER_STATUS_REG_SIZE   3

◆ USBCPOWER_REG_ACTIVE_CONTRACT_PDO

#define USBCPOWER_REG_ACTIVE_CONTRACT_PDO   0x34

◆ USBCPOWER_REG_ACTIVE_CONTRACT_RDO

#define USBCPOWER_REG_ACTIVE_CONTRACT_RDO   0x35

◆ USBCPOWER_REG_BOOT_STATUS

#define USBCPOWER_REG_BOOT_STATUS   0x2D

◆ USBCPOWER_REG_BUILD_DESC

#define USBCPOWER_REG_BUILD_DESC   0x2E

◆ USBCPOWER_REG_CMD1

#define USBCPOWER_REG_CMD1   0x08

◆ USBCPOWER_REG_CUSTUSE

#define USBCPOWER_REG_CUSTUSE   0x06

◆ USBCPOWER_REG_DATA

#define USBCPOWER_REG_DATA   0x09

◆ USBCPOWER_REG_DEVICE_CAP

#define USBCPOWER_REG_DEVICE_CAP   0x0D

◆ USBCPOWER_REG_DEVICE_INFO

#define USBCPOWER_REG_DEVICE_INFO   0x2F

◆ USBCPOWER_REG_GPIO_STATUS

#define USBCPOWER_REG_GPIO_STATUS   0x72

◆ USBCPOWER_REG_INT_CLEAR1

#define USBCPOWER_REG_INT_CLEAR1   0x18

◆ USBCPOWER_REG_INT_EVENT1

#define USBCPOWER_REG_INT_EVENT1   0x14

◆ USBCPOWER_REG_INT_MASK1

#define USBCPOWER_REG_INT_MASK1   0x16

◆ USBCPOWER_REG_MODE

#define USBCPOWER_REG_MODE   0x03

USB-C Power description register.

Specified register for description of USB-C Power Click driver.

◆ USBCPOWER_REG_PD_STATUS

#define USBCPOWER_REG_PD_STATUS   0x40

◆ USBCPOWER_REG_PORT_CONTROL

#define USBCPOWER_REG_PORT_CONTROL   0x29

◆ USBCPOWER_REG_POWER_PATH_STATUS

#define USBCPOWER_REG_POWER_PATH_STATUS   0x26

◆ USBCPOWER_REG_POWER_STATUS

#define USBCPOWER_REG_POWER_STATUS   0x3F

◆ USBCPOWER_REG_RX_SINK_CAPS

#define USBCPOWER_REG_RX_SINK_CAPS   0x31

◆ USBCPOWER_REG_RX_SOURCE_CAPS

#define USBCPOWER_REG_RX_SOURCE_CAPS   0x30

◆ USBCPOWER_REG_STATUS

#define USBCPOWER_REG_STATUS   0x1A

◆ USBCPOWER_REG_TX_SINK_CAPS

#define USBCPOWER_REG_TX_SINK_CAPS   0x33

◆ USBCPOWER_REG_TX_SOURCE_CAPS

#define USBCPOWER_REG_TX_SOURCE_CAPS   0x32

◆ USBCPOWER_REG_TYPE

#define USBCPOWER_REG_TYPE   0x04

◆ USBCPOWER_REG_TYPEC_STATE

#define USBCPOWER_REG_TYPEC_STATE   0x69

◆ USBCPOWER_REG_VERSION

#define USBCPOWER_REG_VERSION   0x0F

◆ USBCPOWER_RX_SINK_CAPS_REG_SIZE

#define USBCPOWER_RX_SINK_CAPS_REG_SIZE   30

◆ USBCPOWER_RX_SOURCE_CAPS_REG_SIZE

#define USBCPOWER_RX_SOURCE_CAPS_REG_SIZE   30

◆ USBCPOWER_STATUS_REG_SIZE

#define USBCPOWER_STATUS_REG_SIZE   6

◆ USBCPOWER_TX_SINK_CAPS_REG_SIZE

#define USBCPOWER_TX_SINK_CAPS_REG_SIZE   30

◆ USBCPOWER_TX_SOURCE_CAPS_REG_SIZE

#define USBCPOWER_TX_SOURCE_CAPS_REG_SIZE   32

◆ USBCPOWER_TYPE_REG_SIZE

#define USBCPOWER_TYPE_REG_SIZE   5

◆ USBCPOWER_TYPEC_STATE_REG_SIZE

#define USBCPOWER_TYPEC_STATE_REG_SIZE   5

◆ USBCPOWER_VERSION_REG_SIZE

#define USBCPOWER_VERSION_REG_SIZE   5