Syspm-Callbacks
SCB UART Deep Sleep Callback

General Description

Implementation of the SCB UART Deep Sleep callback.

Data Structures

struct  mtb_syspm_callbacks_uart_pins
 This is the pin structure that stores the info about the pin configurations. More...
 
struct  mtb_syspm_uart_deepsleep_context_t
 Context Reference Structure for SCB UART peripheral. More...
 

Functions

cy_en_syspm_status_t mtb_syspm_scb_uart_deepsleep_callback (cy_stc_syspm_callback_params_t *params, cy_en_syspm_callback_mode_t mode)
 Deepsleep callback for SCB UART IP. More...
 

Data Structure Documentation

◆ mtb_syspm_callbacks_uart_pins

struct mtb_syspm_callbacks_uart_pins
Data Fields
GPIO_PRT_Type * port Port base address.
uint32_t pinNum Pin number.
en_hsiom_sel_t hsiom HSIOM setting.

◆ mtb_syspm_uart_deepsleep_context_t

struct mtb_syspm_uart_deepsleep_context_t
Data Fields
mtb_syspm_callbacks_uart_pins tx_pin TX pin info.
mtb_syspm_callbacks_uart_pins rts_pin RTS pin info.
cy_stc_scb_uart_context_t * uart_context Pointer to UART context structure.

Function Documentation

◆ mtb_syspm_scb_uart_deepsleep_callback()

cy_en_syspm_status_t mtb_syspm_scb_uart_deepsleep_callback ( cy_stc_syspm_callback_params_t *  params,
cy_en_syspm_callback_mode_t  mode 
)

Deepsleep callback for SCB UART IP.

Parameters
[in]paramsThe param structure for the callback for which the context element should be of type mtb_syspm_uart_deepsleep_context_t
[in]modeThe callback mode
Returns
Returns CY_SYSPM_SUCCESS if successful, an error code otherwise