This is the quick start guide for the BPM Module, with step-by-step instructions on how to configure and use the driver in a selection of use cases.
The use cases contain several code fragments. The code fragments in the steps for setup can be copied into a custom initialization function, while the steps for usage can be copied into, e.g., the main application function.
In this use case, the BPM module can put system into different power saving modes. Check the current of the system to see consumptions.
Sleep mode itself does not require any IO input, but to wakeup an interrupt is needed.
The following code needs to be added to the user application, to wakeup system and switch to next power mode.
Add to application C-file: