|
buck24 2.2.0
|
Buck 24 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Buck 24 Click example.
This example demonstrates the use of the Buck 24 Click board by monitoring the output voltage, current, and power via I2C communication. It also checks the Power-Good (PG) status pin to detect undervoltage conditions.
The demo application is composed of two sections :
Initializes the logger and the Click board driver, and applies the default configuration.
Checks if the Power-Good (PG) pin is active and logs an undervoltage warning if triggered. Reads and logs the average voltage, current, and power values from the device every second.
| 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 | ) |
| int main | ( | void | ) |