usbcsink4
2.1.0.0
|
Settings for registers of USB-C Sink 4 Click driver. More...
Settings for registers of USB-C Sink 4 Click driver.
#define USBCSINK4_CHARGING_MODE_DISABLE 0x01 |
#define USBCSINK4_CHARGING_MODE_ENABLE 0x00 |
USB-C Sink 4 legacy charging mode support and status setting.
Specified setting for legacy charging mode support and status of USB-C Sink 4 Click driver.
#define USBCSINK4_CHG_MODE_STATUS_AFC 0x04 |
#define USBCSINK4_CHG_MODE_STATUS_APPLE 0x05 |
#define USBCSINK4_CHG_MODE_STATUS_BC1_2DCP_CDC 0x01 |
#define USBCSINK4_CHG_MODE_STATUS_CLEAR 0xFF |
#define USBCSINK4_CHG_MODE_STATUS_NO_LGC 0x00 |
USB-C Sink 4 active Legacy charging mode.
active Legacy charging mode of USB-C Sink 4 Click driver.
#define USBCSINK4_CHG_MODE_STATUS_QC2_1 0x02 |
#define USBCSINK4_CURRENT_SENS 0.05f |
#define USBCSINK4_DEV_RSP_ASYNC_EVENT 0x80 |
#define USBCSINK4_DEV_RSP_CMD_REG_WRITE 0x00 |
USB-C Sink 4 device response data values.
Device response data values of USB-C Sink 4 Click driver.
#define USBCSINK4_DEV_RSP_CODE_ACCEPT 0x8C |
#define USBCSINK4_DEV_RSP_CODE_GOTOMIN 0x8B |
#define USBCSINK4_DEV_RSP_CODE_HARD_RST 0x8F |
#define USBCSINK4_DEV_RSP_CODE_HARD_RST_SENT 0x9A |
#define USBCSINK4_DEV_RSP_CODE_INVALID 0x05 |
#define USBCSINK4_DEV_RSP_CODE_MSG_QUEUE_OVF 0x81 |
#define USBCSINK4_DEV_RSP_CODE_NO_RSP 0x00 |
#define USBCSINK4_DEV_RSP_CODE_NO_VDM_RES_REC 0x9F |
#define USBCSINK4_DEV_RSP_CODE_NOT_SUPPORTED 0x0A |
#define USBCSINK4_DEV_RSP_CODE_OVC 0x82 |
#define USBCSINK4_DEV_RSP_CODE_OVV 0x83 |
#define USBCSINK4_DEV_RSP_CODE_PD_CMD_FAILED 0x0D |
#define USBCSINK4_DEV_RSP_CODE_PD_NEG_CPLT 0x86 |
#define USBCSINK4_DEV_RSP_CODE_PORT_BUSY 0x12 |
#define USBCSINK4_DEV_RSP_CODE_PORT_CONN 0x84 |
#define USBCSINK4_DEV_RSP_CODE_PORT_DISCONN 0x85 |
#define USBCSINK4_DEV_RSP_CODE_PS_RDY 0x8A |
#define USBCSINK4_DEV_RSP_CODE_REJECT 0x8D |
#define USBCSINK4_DEV_RSP_CODE_RST_CPLT 0x80 |
#define USBCSINK4_DEV_RSP_CODE_SINK_CAPB 0x92 |
#define USBCSINK4_DEV_RSP_CODE_SOFT_RST_SENT 0x9B |
#define USBCSINK4_DEV_RSP_CODE_SRC_CAPB 0x91 |
#define USBCSINK4_DEV_RSP_CODE_SRC_DIS 0x9D |
#define USBCSINK4_DEV_RSP_CODE_SUCCESS 0x02 |
#define USBCSINK4_DEV_RSP_CODE_SWAP_CPLT 0x87 |
#define USBCSINK4_DEV_RSP_CODE_TXN_FAILED 0x0C |
#define USBCSINK4_DEV_RSP_CODE_UNEXPECTED 0x09 |
#define USBCSINK4_DEV_RSP_CODE_VDM_REC 0x90 |
#define USBCSINK4_DEV_RSP_CODE_WAIT 0x8E |
#define USBCSINK4_DEVICE_ADDRESS 0x08 |
USB-C Sink 4 device address setting.
Specified setting for device slave address selection of USB-C Sink 4 Click driver.
#define USBCSINK4_INTERRUPT_RESPONSE_DEV 0x01 |
#define USBCSINK4_INTERRUPT_RESPONSE_NO 0x00 |
USB-C Sink 4 active Legacy charging mode.
active Legacy charging mode of USB-C Sink 4 Click driver.
#define USBCSINK4_INTERRUPT_RESPONSE_PD 0x02 |
#define USBCSINK4_OVP_CONFIG_DBNC_DEFAULT 0x0A |
#define USBCSINK4_OVP_CONFIG_SIG_DISABLE 'D' |
USB-C Sink 4 OVP configuration data values.
OVP configuration data values of USB-C Sink 4 Click driver.
#define USBCSINK4_OVP_CONFIG_SIG_RE_ENABLE 'C' |
#define USBCSINK4_OVP_CONFIG_THOLD_DEFAULT 0x28 |
#define USBCSINK4_RESET_DEVICE 0x01 |
#define USBCSINK4_RESET_I2C 0x00 |
#define USBCSINK4_SIG_RESET 'R' |
USB-C Sink 4 reset the device or the I2C block.
reset the device or the I2C block of USB-C Sink 4 Click driver.
#define USBCSINK4_SILICON_ID_BCR_LITE 0x20A2u |
USB-C Sink 4 silicon ID value.
Silicon ID value of USB-C Sink 4 Click driver.
#define USBCSINK4_TYPE_C_ST_ATT_BITMAKS 0x07 |
#define USBCSINK4_TYPE_C_ST_ATT_DEBUG 0x03 |
#define USBCSINK4_TYPE_C_ST_ATT_NTH 0x00 |
#define USBCSINK4_TYPE_C_ST_ATT_SRC 0x02 |
#define USBCSINK4_TYPE_C_ST_CC_1 0x00 |
#define USBCSINK4_TYPE_C_ST_CC_2 0x01 |
#define USBCSINK4_TYPE_C_ST_CC_BITMAKS 0x01 |
#define USBCSINK4_TYPE_C_ST_CURR_0_9A 0x00 |
#define USBCSINK4_TYPE_C_ST_CURR_1A 0x01 |
#define USBCSINK4_TYPE_C_ST_CURR_3A 0x02 |
#define USBCSINK4_TYPE_C_ST_CURR_BITMAKS 0x03 |
#define USBCSINK4_TYPE_C_ST_PORT_BITMAKS 0x01 |
#define USBCSINK4_TYPE_C_ST_PORT_CONN 0x01 |
#define USBCSINK4_TYPE_C_ST_PORT_DISCONN 0x00 |
USB-C Sink 4 description setting.
Specified setting for description of USB-C Sink 4 Click driver.
#define USBCSINK4_VOLTAGE_SENS 0.1f |
USB-C Sink 4 voltage and current sensitivity setting.
Specified setting for description of USB-C Sink 4 Click driver.