Morse Micro IoT SDK  2.9.7

Detailed Description

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...
 

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...
 

Function Documentation

◆ mmagic_controller_sys_deep_sleep()

static enum mmagic_status mmagic_controller_sys_deep_sleep ( struct mmagic_controller *  controller,
struct mmagic_core_sys_deep_sleep_cmd_args cmd_args 
)
inlinestatic

Enters deep sleep mode.

Parameters
controllerReference to the controller handle.
[in]cmd_argsCommand arguments
Returns
MMAGIC_STATUS_OK else an appropriate error code.

Definition at line 4677 of file mmagic_controller.h.

◆ mmagic_controller_sys_get_version()

static enum mmagic_status mmagic_controller_sys_get_version ( struct mmagic_controller *  controller,
struct mmagic_core_sys_get_version_rsp_args rsp_args 
)
inlinestatic

Gets the device firmware and hardware versions.

Parameters
controllerReference to the controller handle.
[out]rsp_argsPointer to the data structure to be filled out with the result. If the If the return code is not MMAGIC_STATUS_OK then the contents of this structure will be undefined.
Returns
MMAGIC_STATUS_OK else an appropriate error code.

Definition at line 4714 of file mmagic_controller.h.

◆ mmagic_controller_sys_reset()

static enum mmagic_status mmagic_controller_sys_reset ( struct mmagic_controller *  controller)
inlinestatic

Performs a soft reset.

Parameters
controllerReference to the controller handle.
Returns
MMAGIC_STATUS_OK else an appropriate error code.

Definition at line 4653 of file mmagic_controller.h.