balancer5 2.0.0.0
|
Balancer5 Click example. More...
Functions | |
void | charger_status_1_handler (uint8_t cs1_data) |
void | charger_status_2_handler (uint8_t cs2_data) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Balancer5 Click example.
This example demonstrates basic Balancer 5 Click functionalities.
The demo application is composed of two sections :
Initializes Click and Driver, Checks Device ID, starts charging, reads charge status registers and configures ADC.
Reads ADC values from registers and logs it.
void charger_status_1_handler ( uint8_t cs1_data ); void charger_status_2_handler ( uint8_t cs2_data );
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void charger_status_1_handler | ( | uint8_t | cs1_data | ) |
void charger_status_2_handler | ( | uint8_t | cs2_data | ) |
int main | ( | void | ) |