charger11 2.0.0.0
|
Charger11 Click example. More...
Functions | |
void | charger11_log_wiper_position (charger11_t *ctx) |
Charger 11 log wiper position. | |
void | charger11_case_plus (charger11_t *ctx) |
Charger 11 increase wiper position. | |
void | charger11_case_minus (charger11_t *ctx) |
Charger 11 decrease wiper position. | |
void | charger11_case_report (charger11_t *ctx) |
Charger 11 log wiper position and voltage. | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Charger11 Click example.
This is an example that demonstrates the use of the Charger 11 Click board.
The demo application is composed of two sections :
Initalizes INT ( ST ), PWM ( LG ), AN ( LR ) pins and SPI, I2C, LOG modules.
Waits for user input in order to increment, decrement wiper or log report (Wiper position and Output voltage)
Additional Functions :
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void charger11_case_minus | ( | charger11_t * | ctx | ) |
Charger 11 decrease wiper position.
This function decreases wiper position and logs it on UART terminal.
void charger11_case_plus | ( | charger11_t * | ctx | ) |
Charger 11 increase wiper position.
This function increases wiper position and logs it on UART terminal.
void charger11_case_report | ( | charger11_t * | ctx | ) |
Charger 11 log wiper position and voltage.
This function reads wiper position and voltage and logs them on UART terminal.
void charger11_log_wiper_position | ( | charger11_t * | ctx | ) |
Charger 11 log wiper position.
This function reads wiper position and logs it on UART terminal.
int main | ( | void | ) |