usbcsink4
2.1.0.0
|
USB-C Sink 4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
USB-C Sink 4 Click example.
This example demonstrates the use of a USB-C Sink 4 Click board by setting DC power requests and control for Type-C connector-equipped devices (TCD).
The demo application is composed of two sections :
The initialization of the I2C module and log UART. After driver initialization, the app sets the default configuration.
The demo app displays the reports of the Type-C port, active legacy charging mode status, and live voltage measurements on the VBUS supply for the specified port.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |