![]() |
Morse Micro IoT SDK
2.11.2
|
Data Structures | |
| struct | mmagic_core_sys_deep_sleep_cmd_args |
| Command arguments structure for sys_deep_sleep. More... | |
| struct | mmagic_core_sys_get_version_rsp_args |
| Response arguments structure for sys_get_version. More... | |
| struct | mmagic_core_sys_get_stats_cmd_args |
| Command arguments structure for sys_get_stats. More... | |
| struct | mmagic_core_sys_get_stats_rsp_args |
| Response arguments structure for sys_get_stats. More... | |
Functions | |
| static enum mmagic_status | mmagic_controller_sys_reset (struct mmagic_controller *controller) |
| Performs a soft reset. More... | |
| static enum mmagic_status | mmagic_controller_sys_deep_sleep (struct mmagic_controller *controller, struct mmagic_core_sys_deep_sleep_cmd_args *cmd_args) |
| Enters deep sleep mode. More... | |
| static enum mmagic_status | mmagic_controller_sys_get_version (struct mmagic_controller *controller, struct mmagic_core_sys_get_version_rsp_args *rsp_args) |
| Gets the device firmware and hardware versions. More... | |
| static enum mmagic_status | mmagic_controller_sys_get_stats (struct mmagic_controller *controller, struct mmagic_core_sys_get_stats_cmd_args *cmd_args, struct mmagic_core_sys_get_stats_rsp_args *rsp_args) |
| Retrieve subsystem statistics. More... | |
|
inlinestatic |
Enters deep sleep mode.
| controller | Reference to the controller handle. | |
| [in] | cmd_args | Command arguments |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 5344 of file mmagic_controller.h.
|
inlinestatic |
Retrieve subsystem statistics.
| controller | Reference to the controller handle. | |
| [in] | cmd_args | Command arguments |
| [out] | rsp_args | Pointer to the data structure to be filled out with the result. If the return code is not MMAGIC_STATUS_OK then the contents of this structure will be undefined. |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 5448 of file mmagic_controller.h.
|
inlinestatic |
Gets the device firmware and hardware versions.
| controller | Reference to the controller handle. | |
| [out] | rsp_args | Pointer to the data structure to be filled out with the result. If the return code is not MMAGIC_STATUS_OK then the contents of this structure will be undefined. |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 5391 of file mmagic_controller.h.
|
inlinestatic |
Performs a soft reset.
| controller | Reference to the controller handle. |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 5320 of file mmagic_controller.h.