vcpmonitor2 2.0.0.0
|
Vcpmonitor2 Click example. More...
Functions | |
void | display_alert_status () |
void | display_channel_data (uint8_t channel) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Vcpmonitor2 Click example.
VCP Monitor 2 Click is a three-channel, high-side current and bus voltage monitor with alert indication function ensuring the intended application works within desired operating conditions.
The demo application is composed of two sections :
Initiaizes the driver, and checks the communication by reading the manufacture device ID. After that, performs the device default configuration.
Displays the voltage, current, and power detected from channel 1 on the USB UART every 2 seconds. It also displays the status of alert indicators.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void display_alert_status | ( | ) |
void display_channel_data | ( | uint8_t | channel | ) |
int main | ( | void | ) |