Syspm-Callbacks
SMIF Deep Sleep Callback

General Description

Implementation of the SMIF Deep Sleep callback.

Data Structures

struct  mtb_syspm_smif_deepsleep_context_t
 Context Reference Structure for SMIF peripheral in case of DeepSleep. More...
 

Functions

cy_en_syspm_status_t mtb_syspm_smif_deepsleep_callback (cy_stc_syspm_callback_params_t *params, cy_en_syspm_callback_mode_t mode)
 Deepsleep callback for SMIF IP. More...
 

Data Structure Documentation

◆ mtb_syspm_smif_deepsleep_context_t

struct mtb_syspm_smif_deepsleep_context_t
Data Fields
cy_stc_smif_context_t * smif_context Context of the SMIF IP.
uint32_t smif_crypto_input1 Content of SMIF_CRYPTO_INPUT1 register.
uint32_t smif_crypto_input2 Content of SMIF_CRYPTO_INPUT2 register.
uint32_t smif_crypto_input3 Content of SMIF_CRYPTO_INPUT3 register.

Function Documentation

◆ mtb_syspm_smif_deepsleep_callback()

cy_en_syspm_status_t mtb_syspm_smif_deepsleep_callback ( cy_stc_syspm_callback_params_t *  params,
cy_en_syspm_callback_mode_t  mode 
)

Deepsleep callback for SMIF IP.

Parameters
[in]paramsThe param structure for the callback for which the context element should be of type mtb_syspm_smif_deepsleep_context_t
[in]modeThe callback mode
Returns
Returns CY_SYSPM_SUCCESS if successful, an error code otherwise
Note
If the application is stored in external memory of the device, this callback should have order as high as possible to reenable the correct access to extenral memory.