charger12 2.0.0.0
main.c File Reference

Charger12 Click example. More...

#include "board.h"
#include "log.h"
#include "charger12.h"

Functions

void charger12_case_plus ()
 
void charger12_case_minus ()
 
void charger12_case_one ()
 
void charger12_case_two ()
 
void charger12_case_three ()
 
void charger12_case_four ()
 
void application_init (void)
 
void application_task (void)
 
int main (void)
 

Detailed Description

Charger12 Click example.

Description

This application charges the batery.

The demo application is composed of two sections :

Application Init

Iniztializes SPI driver.

Application Task

Executes additional functions based on user input.

note: Additional Functions :

  • charger12_case_Plus() - Increments Wiper position.
  • charger12_case_Minus() - Decrements Wiper position.
  • charger12_case_One() - Selects 1st mode of operation.
  • charger12_case_Two() - Selects 2nd mode of operation.
  • charger12_case_Three() - Selects 3rd mode of operation.
  • charger12_case_Four() - Selects 4th mode of operation.
Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void )

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void )

◆ charger12_case_four()

void charger12_case_four ( )

◆ charger12_case_minus()

void charger12_case_minus ( )

◆ charger12_case_one()

void charger12_case_one ( )

◆ charger12_case_plus()

void charger12_case_plus ( )

◆ charger12_case_three()

void charger12_case_three ( )

◆ charger12_case_two()

void charger12_case_two ( )

◆ main()

int main ( void )