usbcsink3 2.1.0.0
|
Settings for registers of USB-C Sink 3 Click driver. More...
Settings for registers of USB-C Sink 3 Click driver.
#define USBCSINK3_ADC_RESOLUTION 0x0FFF |
USB-C Sink 3 ADC setting.
Specified settings for ADC of USB-C Sink 3 Click driver.
#define USBCSINK3_ALL_PINS_BIT_MASK 0xF0 |
#define USBCSINK3_DEVICE_ADDRESS 0x41 |
USB-C Sink 3 device address setting.
Specified setting for device slave address selection of USB-C Sink 3 Click driver.
#define USBCSINK3_DIRECTION_INPUT 0x01 |
#define USBCSINK3_DIRECTION_OUTPUT 0x00 |
USB-C Sink 3 expander I/O pin direction values.
Specified I/O pin direction values of USB-C Sink 3 Click driver.
#define USBCSINK3_NO_PIN_BIT_MASK 0x00 |
USB-C Sink 3 expander pin bit mask values.
Specified expander pin bit mask values of USB-C Sink 3 Click driver.
#define USBCSINK3_PIN_0_BIT_MASK 0x01 |
#define USBCSINK3_PIN_1_BIT_MASK 0x02 |
#define USBCSINK3_PIN_2_BIT_MASK 0x04 |
#define USBCSINK3_PIN_3_BIT_MASK 0x08 |
#define USBCSINK3_RES_100_KOHM 100.0f |
#define USBCSINK3_RES_16_KOHM 16.0f |
#define USBCSINK3_RES_27_KOHM 27.0f |
#define USBCSINK3_RES_36_KOHM 36.0f |
#define USBCSINK3_RES_45_3_KOHM 45.3f |
#define USBCSINK3_RES_56_KOHM 56.0f |
#define USBCSINK3_RES_64_9_KOHM 64.9f |
#define USBCSINK3_RES_6_8_KOHM 6.8f |
#define USBCSINK3_RES_75_KOHM 75.0f |
#define USBCSINK3_RES_82_KOHM 82.0f |
#define USBCSINK3_RES_91_KOHM 91.0f |
#define USBCSINK3_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define USBCSINK3_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define USBCSINK3_SPEC_FUNC_P3_AS_INT 0x80 |
USB-C Sink 3 expander special function values.
Specified special function values of USB-C Sink 3 Click driver.
#define USBCSINK3_SPEC_FUNC_PU_DISABLED 0x40 |
#define USBCSINK3_VBUS_R11_RES_73_2_KOHM 73.2f |
#define USBCSINK3_VBUS_R13_RES_10_KOHM 10.0f |
#define USBCSINK3_VBUS_VTG_0V 0.0f |
USB-C Sink 3 VBUS voltage values.
Specified VBUS voltage of USB-C Sink 3 Click driver.
#define USBCSINK3_VBUS_VTG_12_9V 12.9f |
#define USBCSINK3_VBUS_VTG_15V 15.0f |
#define USBCSINK3_VBUS_VTG_17_2V 17.2f |
#define USBCSINK3_VBUS_VTG_20V 20.3f |
#define USBCSINK3_VBUS_VTG_4_3V 4.3f |
#define USBCSINK3_VBUS_VTG_5V 5.0f |
#define USBCSINK3_VBUS_VTG_8_6V 8.6f |
#define USBCSINK3_VBUS_VTG_9V 9.0f |
#define USBCSINK3_VREF_3V3 3.3 |
#define USBCSINK3_VREF_5V 5.0 |
#define USBCSINK3_VSEL0_DISABLE 0x00 |
RS Transceiver expander VSEL pin direction values.
Specified VSEL pin direction values of RS Transceiver Click driver.
#define USBCSINK3_VSEL0_ENABLE 0x01 |
#define USBCSINK3_VSEL0_PIN_BIT_MASK 0x0E |
#define USBCSINK3_VSEL1_DISABLE 0x00 |
#define USBCSINK3_VSEL1_ENABLE 0x02 |
#define USBCSINK3_VSEL1_PIN_BIT_MASK 0x0D |
#define USBCSINK3_VSEL2_DISABLE 0x00 |
#define USBCSINK3_VSEL2_ENABLE 0x04 |
#define USBCSINK3_VSEL2_PIN_BIT_MASK 0x0B |
#define USBCSINK3_WIPER_POS_MAX 255 |
USB-C Sink 3 wiper and resistance data values.
Specified wiper and resistance data values of USB-C Sink 3 Click driver.