charger2 2.0.0.0
|
Charger2 Click example. More...
Functions | |
void | results_logger (charger2_t *ctx) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint32_t | battery_data |
Charger2 Click example.
This app charges the battery.
The demo application is composed of two sections :
Initializes device.
Reads the all necessary information for the battery charging status and logs this results on UART. Repeats operation every second. The LED diodes are used to indicate the Vcc presence when this voltage is in operating range, and to show the charging status.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
void results_logger | ( | charger2_t * | ctx | ) |
uint32_t battery_data |