INTERNAL.
Functions | |
bool | Cy_SysPm_RegisterCallback (cy_stc_syspm_callback_t *handler) |
bool Cy_SysPm_RegisterCallback | ( | cy_stc_syspm_callback_t * | handler | ) |
Registers a new syspm callback.
A callback is a function called after an event in the driver or middleware module has occurred. The handler callback API will be executed if the specific event occurs. SysPm callbacks are called when changing power modes. See cy_stc_syspm_callback_t.
handler | The address of the syspm callback structure. See cy_stc_syspm_callback_t. |