|
powermux3 2.2.0
|
Power MUX 3 Click Example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Power MUX 3 Click Example.
This example demonstrates the use of the Power MUX 3 Click board. It enables automatic selection between three power sources, selecting the highest voltage as the input source. The demo toggles the output ON and OFF at regular intervals, allowing observation of the output control functionality.
The demo application is composed of two sections:
Initializes the logger and the Power MUX 3 Click driver, then enables the device.
Alternates enabling and disabling the output in 5-second intervals while logging the status.
| 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 | ) |