usbcsink2 2.1.0.0
USB-C Sink 2 Registers Settings

Settings for registers of USB-C Sink 2 Click driver. More...

Macros

#define USBCSINK2_SRCPDO_LENGTH   28
 USB-C Sink 2 PDO and RDO length data values.
 
#define USBCSINK2_RDO_LENGTH   4
 
#define USBCSINK2_RDO_REQ_SUCCESS   0x03
 USB-C Sink 2 status successful RDO request data value.
 
#define USBCSINK2_SENS_VTG_MV   80.0f
 USB-C Sink 2 voltage and current measured calculation data values.
 
#define USBCSINK2_SENS_CURRENT_MA   24.0f
 
#define USBCSINK2_ADC_RESOLUTION   0x0FFF
 USB-C Sink 2 ADC setting.
 
#define USBCSINK2_VREF_3V3   3.3
 
#define USBCSINK2_VREF_5V   5.0
 
#define USBCSINK2_SET_DEV_ADDR   0x51
 USB-C Sink 2 device address setting.
 

Detailed Description

Settings for registers of USB-C Sink 2 Click driver.

Macro Definition Documentation

◆ USBCSINK2_ADC_RESOLUTION

#define USBCSINK2_ADC_RESOLUTION   0x0FFF

USB-C Sink 2 ADC setting.

Specified settings for ADC of USB-C Sink 2 Click driver.

◆ USBCSINK2_RDO_LENGTH

#define USBCSINK2_RDO_LENGTH   4

◆ USBCSINK2_RDO_REQ_SUCCESS

#define USBCSINK2_RDO_REQ_SUCCESS   0x03

USB-C Sink 2 status successful RDO request data value.

Specified status successful RDO request data value of USB-C Sink 2 Click driver.

◆ USBCSINK2_SENS_CURRENT_MA

#define USBCSINK2_SENS_CURRENT_MA   24.0f

◆ USBCSINK2_SENS_VTG_MV

#define USBCSINK2_SENS_VTG_MV   80.0f

USB-C Sink 2 voltage and current measured calculation data values.

Specified PDO and RDO length data values of USB-C Sink 2 Click driver.

◆ USBCSINK2_SET_DEV_ADDR

#define USBCSINK2_SET_DEV_ADDR   0x51

USB-C Sink 2 device address setting.

Specified setting for device slave address selection of USB-C Sink 2 Click driver.

◆ USBCSINK2_SRCPDO_LENGTH

#define USBCSINK2_SRCPDO_LENGTH   28

USB-C Sink 2 PDO and RDO length data values.

Specified PDO and RDO length data values of USB-C Sink 2 Click driver.

◆ USBCSINK2_VREF_3V3

#define USBCSINK2_VREF_3V3   3.3

◆ USBCSINK2_VREF_5V

#define USBCSINK2_VREF_5V   5.0