charger9  2.0.0.0
Functions
main.c File Reference

Charger 9 Click example. More...

#include "board.h"
#include "log.h"
#include "charger9.h"

Functions

void application_init (void)
 
void application_task ()
 
void main (void)
 

Detailed Description

Charger 9 Click example.

Description

This application is battery charger, capable of charging one, two or three battery cells.

The demo application is composed of two sections :

Application Init

Initializes GPIO driver and turns OFF the charger as initial state.

Application Task

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.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( )

◆ main()

void main ( void  )