usbcsink 2.0.0.0
USB-C Sink Registers Settings

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

Macros

#define USBCSINK_FTP_CUST_PWD   0x47
 USB-C Sink description setting.
 
#define USBCSINK_SW_RESET_ON   0x01
 USB-C Sink software reset.
 
#define USBCSINK_SW_RESET_OFF   0x00
 
#define USBCSINK_READ   0x00
 USB-C Sink sector commands.
 
#define USBCSINK_WRITE_PL   0x01
 
#define USBCSINK_WRITE_SER   0x02
 
#define USBCSINK_ERASE_SEC   0x05
 
#define USBCSINK_PROG_SEC   0x06
 
#define USBCSINK_SOFT_PROG_SEC   0x07
 
#define USBCSINK_SET_PDO_1   0x01
 USB-C Sink PDO select.
 
#define USBCSINK_SET_PDO_2   0x02
 
#define USBCSINK_SET_PDO_3   0x03
 
#define USBCSINK_UPLOAD_NEW_DATA_VAL   0x00
 
#define USBCSINK_UPLOAD_DEFAULT   0x01
 
#define USBCSINK_SLAVE_ADR_0   0x28
 USB-C Sink device address setting.
 
#define USBCSINK_SLAVE_ADR_1   0x29
 
#define USBCSINK_SLAVE_ADR_2   0x2A
 
#define USBCSINK_SLAVE_ADR_3   0x2B
 

Detailed Description

Settings for registers of USB-C Sink Click driver.

Macro Definition Documentation

◆ USBCSINK_ERASE_SEC

#define USBCSINK_ERASE_SEC   0x05

◆ USBCSINK_FTP_CUST_PWD

#define USBCSINK_FTP_CUST_PWD   0x47

USB-C Sink description setting.

Specified setting for description of USB-C Sink Click driver.

USB-C Sink customer password.

Specified customer password of USB-C Sink Click driver.

◆ USBCSINK_PROG_SEC

#define USBCSINK_PROG_SEC   0x06

◆ USBCSINK_READ

#define USBCSINK_READ   0x00

USB-C Sink sector commands.

Specified sector commands of USB-C Sink Click driver.

◆ USBCSINK_SET_PDO_1

#define USBCSINK_SET_PDO_1   0x01

USB-C Sink PDO select.

Specified PDO select settings of USB-C Sink Click driver.

◆ USBCSINK_SET_PDO_2

#define USBCSINK_SET_PDO_2   0x02

◆ USBCSINK_SET_PDO_3

#define USBCSINK_SET_PDO_3   0x03

◆ USBCSINK_SLAVE_ADR_0

#define USBCSINK_SLAVE_ADR_0   0x28

USB-C Sink device address setting.

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

◆ USBCSINK_SLAVE_ADR_1

#define USBCSINK_SLAVE_ADR_1   0x29

◆ USBCSINK_SLAVE_ADR_2

#define USBCSINK_SLAVE_ADR_2   0x2A

◆ USBCSINK_SLAVE_ADR_3

#define USBCSINK_SLAVE_ADR_3   0x2B

◆ USBCSINK_SOFT_PROG_SEC

#define USBCSINK_SOFT_PROG_SEC   0x07

◆ USBCSINK_SW_RESET_OFF

#define USBCSINK_SW_RESET_OFF   0x00

◆ USBCSINK_SW_RESET_ON

#define USBCSINK_SW_RESET_ON   0x01

USB-C Sink software reset.

Specified software reset setting of USB-C Sink Click driver.

◆ USBCSINK_UPLOAD_DEFAULT

#define USBCSINK_UPLOAD_DEFAULT   0x01

◆ USBCSINK_UPLOAD_NEW_DATA_VAL

#define USBCSINK_UPLOAD_NEW_DATA_VAL   0x00

◆ USBCSINK_WRITE_PL

#define USBCSINK_WRITE_PL   0x01

◆ USBCSINK_WRITE_SER

#define USBCSINK_WRITE_SER   0x02