 |
m2mb API docs
25.30.004.0
m2mb API sets documentation
|
Go to the documentation of this file.
45 M2MB_POWER_SYSHALT_EVT,
214 #endif // M2MB_POWER_H
Definition: m2mb_power.h:56
M2MB_POWER_EVT_E
Enumeration representing all power related events.
Definition: m2mb_power.h:43
Definition: m2mb_power.h:55
M2MB_POWER_ACTION_E
Enumeration representing all power related actions.
Definition: m2mb_power.h:53
HANDLE M2MB_POWER_HANDLE
Generic handle type for power operations.
Definition: m2mb_power.h:63
M2MB_RESULT_E m2mb_power_deinit(M2MB_POWER_HANDLE handle)
Deinitializes the power management system.
M2MB_RESULT_E m2mb_power_init(M2MB_POWER_HANDLE *pHandle, m2mb_power_ind_callback callback, void *userdata)
Initializes the power system.
Definition: m2mb_power.h:46
void(* m2mb_power_ind_callback)(M2MB_POWER_HANDLE h, M2MB_POWER_EVT_E power_event, UINT16 resp_size, void *resp_struct, void *userdata)
Power events indication callback type.
Definition: m2mb_power.h:72
M2MB_RESULT_E m2mb_power_shutdown(M2MB_POWER_HANDLE handle)
Turns off the system.
M2MB_RESULT_E m2mb_power_reboot(M2MB_POWER_HANDLE handle)
Restarts all the system.