charger9 2.0.0.0
|
Charger 9 Click example. More...
Functions | |
void | application_init (void) |
void | application_task () |
int | main (void) |
Charger 9 Click example.
This application is battery charger, capable of charging one, two or three battery cells.
The demo application is composed of two sections :
Initializes GPIO driver and turns OFF the charger as initial state.
Checks which command was sent by user and performs the selected command. Also checks the fault condition, and when fault condition is detected sends a report message to the uart terminal and turns OFF the charger.
note: When user sends a desired command to the charger, a report message will be sent to the uart terminal as indication to the user. The possible commands, for Charger 9 control, will be written to the uart terminal. The alarm sound will be generated on the determined commands: enable, disable and fault condition detecting.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |