balancer3  2.0.0.0
Functions | Variables
main.c File Reference

Balancer 3 Click example. More...

#include "board.h"
#include "log.h"
#include "balancer3.h"

Functions

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

Variables

const uint8_t RX_NOT_READY = 0
 

Detailed Description

Balancer 3 Click example.

Description

This application is device for 2-series cell lithium-ion battery.

The demo application is composed of two sections :

Application Init

Initializes device sets the time interval variable (time_inter) to the 0, which is used for OV condition message logging.

Application Task

Allows user to enter a commands that can enable or disable cell balance and check the overvoltage condition. When OV condition is not detected, the status message will be sent after every 8 seconds. When OV condition is detected, the status message will be sent after every 2 seconds. Press '0' when you want to disable cell balance. Press '1' when you want to enable cell balance. Press '2' when you want to check the OV condition status immediately.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )

Variable Documentation

◆ RX_NOT_READY

const uint8_t RX_NOT_READY = 0