RA Flexible Software Package Documentation  Release v5.6.0

 
Low Power Modes Interface

Detailed Description

Interface for accessing low power modes.

Summary

This section defines the API for the LPM (Low Power Mode) Driver. The LPM Driver provides functions for controlling power consumption by configuring and transitioning to a low power mode. The LPM driver supports configuration of MCU low power modes using the LPM hardware peripheral. The LPM driver supports low power modes deep standby, standby, sleep, and snooze.

Note
Not all low power modes are available on all MCUs.

Data Structures

struct  lpm_ram_retention_t
 
struct  lpm_ldo_standby_cfg_t
 
struct  lpm_cfg_t
 
struct  lpm_api_t
 
struct  lpm_instance_t
 

Typedefs

typedef void lpm_ctrl_t
 

Enumerations

enum  lpm_mode_t
 
enum  lpm_snooze_request_t
 
enum  lpm_snooze_end_t
 
enum  lpm_snooze_cancel_t
 
enum  lpm_snooze_dtc_t
 
enum  lpm_standby_wake_source_t
 
enum  lpm_io_port_t
 
enum  lpm_power_supply_t
 
enum  lpm_deep_standby_cancel_edge_t
 
enum  lpm_deep_standby_cancel_source_t
 
enum  lpm_output_port_enable_t
 
enum  lpm_ldo_standby_operation_t
 
enum  lpm_flash_mode_select_t
 
enum  lpm_hoco_startup_speed_t
 
enum  lpm_standby_sosc_t
 

Data Structure Documentation

◆ lpm_ram_retention_t

struct lpm_ram_retention_t

RAM Retention Configuration for deep sleep and standby modes.

Data Fields
uint16_t ram_retention

Configure RAM retention in software standby mode.

bool tcm_retention

Enable or disable TCM retention in deep sleep and software standby modes.

◆ lpm_ldo_standby_cfg_t

struct lpm_ldo_standby_cfg_t

Configure LDO operation in standby mode.

Data Fields
lpm_ldo_standby_operation_t pll1_ldo Configure the state of PLL1 LDO in standby mode.
lpm_ldo_standby_operation_t pll2_ldo Configure the state of PLL2 LDO in standby mode.
lpm_ldo_standby_operation_t hoco_ldo Configure the state of HOCO LDO in standby mode.

◆ lpm_cfg_t

struct lpm_cfg_t

User configuration structure, used in open function

Data Fields
lpm_mode_t low_power_mode

Low Power Mode

lpm_standby_wake_source_bits_t standby_wake_sources

Bitwise list of sources to wake from deep sleep and standby mode

lpm_snooze_request_t snooze_request_source

Snooze request source

lpm_snooze_end_bits_t snooze_end_sources

Bitwise list of snooze end sources

lpm_snooze_cancel_t snooze_cancel_sources

List of snooze cancel sources

lpm_snooze_dtc_t dtc_state_in_snooze

State of DTC in snooze mode, enabled or disabled

lpm_output_port_enable_t output_port_enable

Output port enabled/disabled in standby and deep standby

lpm_io_port_t io_port_state

IO port state in deep standby (maintained or reset)

lpm_power_supply_t power_supply_state

Internal power supply state in standby and deep standby (deepcut)

lpm_deep_standby_cancel_source_bits_t deep_standby_cancel_source

Sources that can trigger exit from deep standby

lpm_deep_standby_cancel_edge_bits_t deep_standby_cancel_edge

Signal edges for the sources that can trigger exit from deep standby

lpm_ram_retention_t ram_retention_cfg

RAM retention configuration for deep sleep and standby modes.

lpm_ldo_standby_cfg_t ldo_standby_cfg

Configure LDOs that are disabled in standby mode.

void const * p_extend

Placeholder for extension.

◆ lpm_api_t

struct lpm_api_t

LPM driver structure. General LPM functions implemented at the HAL layer will follow this API.

Data Fields

fsp_err_t(* open )(lpm_ctrl_t *const p_ctrl, lpm_cfg_t const *const p_cfg)
 
fsp_err_t(* close )(lpm_ctrl_t *const p_ctrl)
 
fsp_err_t(* lowPowerReconfigure )(lpm_ctrl_t *const p_ctrl, lpm_cfg_t const *const p_cfg)
 
fsp_err_t(* lowPowerModeEnter )(lpm_ctrl_t *const p_ctrl)
 
fsp_err_t(* ioKeepClear )(lpm_ctrl_t *const p_ctrl)
 

Field Documentation

◆ open

fsp_err_t(* lpm_api_t::open) (lpm_ctrl_t *const p_ctrl, lpm_cfg_t const *const p_cfg)

Initialization function

◆ close

fsp_err_t(* lpm_api_t::close) (lpm_ctrl_t *const p_ctrl)

Initialization function

◆ lowPowerReconfigure

fsp_err_t(* lpm_api_t::lowPowerReconfigure) (lpm_ctrl_t *const p_ctrl, lpm_cfg_t const *const p_cfg)

Configure a low power mode.

Parameters
[in]p_cfgPointer to configuration structure. All elements of this structure must be set by user.

◆ lowPowerModeEnter

fsp_err_t(* lpm_api_t::lowPowerModeEnter) (lpm_ctrl_t *const p_ctrl)

Enter low power mode (sleep/standby/deep standby) using WFI macro. Function will return after waking from low power mode.

◆ ioKeepClear

fsp_err_t(* lpm_api_t::ioKeepClear) (lpm_ctrl_t *const p_ctrl)

Clear the IOKEEP bit after deep software standby.

◆ lpm_instance_t

struct lpm_instance_t

This structure encompasses everything that is needed to use an instance of this interface.

Data Fields
lpm_ctrl_t * p_ctrl Pointer to the control structure for this instance.
lpm_cfg_t const *const p_cfg Pointer to the configuration structure for this instance.
lpm_api_t const *const p_api Pointer to the API structure for this instance.

Typedef Documentation

◆ lpm_ctrl_t

typedef void lpm_ctrl_t

LPM control block. Allocate an instance specific control block to pass into the LPM API calls.

Enumeration Type Documentation

◆ lpm_mode_t

enum lpm_mode_t

Low power modes

Enumerator
LPM_MODE_SLEEP 

Sleep mode.

LPM_MODE_DEEP_SLEEP 

Deep Sleep mode.

LPM_MODE_STANDBY 

Software Standby mode.

LPM_MODE_STANDBY_SNOOZE 

Software Standby mode with Snooze mode enabled.

LPM_MODE_DEEP 

Deep Software Standby mode.

◆ lpm_snooze_request_t

Snooze request sources

Enumerator
LPM_SNOOZE_REQUEST_RXD0_FALLING 

Enable RXD0 falling edge snooze request.

LPM_SNOOZE_REQUEST_IRQ0 

Enable IRQ0 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ1 

Enable IRQ1 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ2 

Enable IRQ2 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ3 

Enable IRQ3 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ4 

Enable IRQ4 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ5 

Enable IRQ5 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ6 

Enable IRQ6 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ7 

Enable IRQ7 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ8 

Enable IRQ8 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ9 

Enable IRQ9 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ10 

Enable IRQ10 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ11 

Enable IRQ11 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ12 

Enable IRQ12 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ13 

Enable IRQ13 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ14 

Enable IRQ14 pin snooze request.

LPM_SNOOZE_REQUEST_IRQ15 

Enable IRQ15 pin snooze request.

LPM_SNOOZE_REQUEST_KEY 

Enable KR snooze request.

LPM_SNOOZE_REQUEST_ACMPHS0 

Enable High-speed analog comparator 0 snooze request.

LPM_SNOOZE_REQUEST_RTC_ALARM1 

Enable RTC alarm 1 snooze request.

LPM_SNOOZE_REQUEST_RTC_ALARM 

Enable RTC alarm snooze request.

LPM_SNOOZE_REQUEST_RTC_PERIOD 

Enable RTC period snooze request.

LPM_SNOOZE_REQUEST_AGT1_UNDERFLOW 

Enable AGT1 underflow snooze request.

LPM_SNOOZE_REQUEST_AGTW1_UNDERFLOW 

Enable AGTW1 underflow snooze request.

LPM_SNOOZE_REQUEST_AGT1_COMPARE_A 

Enable AGT1 compare match A snooze request.

LPM_SNOOZE_REQUEST_AGTW1_COMPARE_A 

Enable AGTW1 compare match A snooze request.

LPM_SNOOZE_REQUEST_AGT1_COMPARE_B 

Enable AGT1 compare match B snooze request.

LPM_SNOOZE_REQUEST_AGTW1_COMPARE_B 

Enable AGTW1 compare match B snooze request.

LPM_SNOOZE_REQUEST_AGT3_UNDERFLOW 

Enable AGT3 underflow snooze request.

LPM_SNOOZE_REQUEST_AGT3_COMPARE_A 

Enable AGT3 compare match A snooze request.

LPM_SNOOZE_REQUEST_AGT3_COMPARE_B 

Enable AGT3 compare match B snooze request.

◆ lpm_snooze_end_t

Snooze end control

Enumerator
LPM_SNOOZE_END_STANDBY_WAKE_SOURCES 

Transition from Snooze to Normal mode directly.

LPM_SNOOZE_END_AGT1_UNDERFLOW 

AGT1 underflow.

LPM_SNOOZE_END_AGTW1_UNDERFLOW 

AGTW1 underflow.

LPM_SNOOZE_END_DTC_TRANS_COMPLETE 

Last DTC transmission completion.

LPM_SNOOZE_END_DTC_TRANS_COMPLETE_NEGATED 

Not Last DTC transmission completion.

LPM_SNOOZE_END_ADC0_COMPARE_MATCH 

ADC Channel 0 compare match.

LPM_SNOOZE_END_ADC0_COMPARE_MISMATCH 

ADC Channel 0 compare mismatch.

LPM_SNOOZE_END_ADC1_COMPARE_MATCH 

ADC 1 compare match.

LPM_SNOOZE_END_ADC1_COMPARE_MISMATCH 

ADC 1 compare mismatch.

LPM_SNOOZE_END_SCI0_ADDRESS_MATCH 

SCI0 address mismatch.

LPM_SNOOZE_END_AGT3_UNDERFLOW 

AGT3 underflow.

◆ lpm_snooze_cancel_t

enum lpm_snooze_cancel_t

Snooze cancel control

Enumerator
LPM_SNOOZE_CANCEL_SOURCE_NONE 

No snooze cancel source.

LPM_SNOOZE_CANCEL_SOURCE_SCI0_AM 

SCI0 address match event.

LPM_SNOOZE_CANCEL_SOURCE_DTC_COMPLETE 

DTC transfer completion.

LPM_SNOOZE_CANCEL_SOURCE_DOC_DOPCI 

Data operation circuit interrupt.

LPM_SNOOZE_CANCEL_SOURCE_NONE 

No snooze cancel source.

LPM_SNOOZE_CANCEL_SOURCE_ADC0_WCMPM 

ADC Channel 0 window compare match.

LPM_SNOOZE_CANCEL_SOURCE_ADC0_WCMPUM 

ADC Channel 0 window compare mismatch.

LPM_SNOOZE_CANCEL_SOURCE_DTC_COMPLETE 

DTC transfer completion.

LPM_SNOOZE_CANCEL_SOURCE_DOC_DOPCI 

Data operation circuit interrupt.

◆ lpm_snooze_dtc_t

DTC Enable in Snooze Mode

Enumerator
LPM_SNOOZE_DTC_DISABLE 

Disable DTC operation.

LPM_SNOOZE_DTC_ENABLE 

Enable DTC operation.

◆ lpm_standby_wake_source_t

enum lpm_standby_wake_source_t

Wake from deep sleep or standby mode sources, does not apply to sleep or deep standby modes

Enumerator
LPM_STANDBY_WAKE_SOURCE_IWDT 

Independent watchdog interrupt.

LPM_STANDBY_WAKE_SOURCE_LVD1 

Low Voltage Detection 1 interrupt.

LPM_STANDBY_WAKE_SOURCE_IRQ0 

IRQ0.

LPM_STANDBY_WAKE_SOURCE_IRQ1 

IRQ1.

LPM_STANDBY_WAKE_SOURCE_IRQ2 

IRQ2.

LPM_STANDBY_WAKE_SOURCE_IRQ3 

IRQ3.

LPM_STANDBY_WAKE_SOURCE_IRQ4 

IRQ4.

LPM_STANDBY_WAKE_SOURCE_IRQ5 

IRQ5.

LPM_STANDBY_WAKE_SOURCE_IICA0 

I2CA 0 interrupt.

LPM_STANDBY_WAKE_SOURCE_RTC 

RTC interrupt.

LPM_STANDBY_WAKE_SOURCE_ITL 

Interval signal of 32-bit interval timer Interrupt.

LPM_STANDBY_WAKE_SOURCE_UARTA0ERRI 

UARTA0 reception communication error Interrupt.

LPM_STANDBY_WAKE_SOURCE_UARTA0TXI 

UARTA0 transmission transfer end or buffer empty Interrupt.

LPM_STANDBY_WAKE_SOURCE_UARTA0RXI 

UARTA0 reception transfer end Interrupt.

LPM_STANDBY_WAKE_SOURCE_IRQ0 

IRQ0.

LPM_STANDBY_WAKE_SOURCE_IRQ1 

IRQ1.

LPM_STANDBY_WAKE_SOURCE_IRQ2 

IRQ2.

LPM_STANDBY_WAKE_SOURCE_IRQ3 

IRQ3.

LPM_STANDBY_WAKE_SOURCE_IRQ4 

IRQ4.

LPM_STANDBY_WAKE_SOURCE_IRQ5 

IRQ5.

LPM_STANDBY_WAKE_SOURCE_IRQ6 

IRQ6.

LPM_STANDBY_WAKE_SOURCE_IRQ7 

IRQ7.

LPM_STANDBY_WAKE_SOURCE_IRQ8 

IRQ8.

LPM_STANDBY_WAKE_SOURCE_IRQ9 

IRQ9.

LPM_STANDBY_WAKE_SOURCE_IRQ10 

IRQ10.

LPM_STANDBY_WAKE_SOURCE_IRQ11 

IRQ11.

LPM_STANDBY_WAKE_SOURCE_IRQ12 

IRQ12.

LPM_STANDBY_WAKE_SOURCE_IRQ13 

IRQ13.

LPM_STANDBY_WAKE_SOURCE_IRQ14 

IRQ14.

LPM_STANDBY_WAKE_SOURCE_IRQ15 

IRQ15.

LPM_STANDBY_WAKE_SOURCE_IWDT 

Independent watchdog interrupt.

LPM_STANDBY_WAKE_SOURCE_KEY 

Key interrupt.

LPM_STANDBY_WAKE_SOURCE_LVD1 

Low Voltage Detection 1 interrupt.

LPM_STANDBY_WAKE_SOURCE_LVD2 

Low Voltage Detection 2 interrupt.

LPM_STANDBY_WAKE_SOURCE_VBATT 

VBATT Monitor interrupt.

LPM_STANDBY_WAKE_SOURCE_VRTC 

LVDVRTC interrupt.

LPM_STANDBY_WAKE_SOURCE_EXLVD 

LVDEXLVD interrupt.

LPM_STANDBY_WAKE_SOURCE_ACMPHS0 

Analog Comparator High-speed 0 interrupt.

LPM_STANDBY_WAKE_SOURCE_ACMPLP0 

Analog Comparator Low-speed 0 interrupt.

LPM_STANDBY_WAKE_SOURCE_RTCALM1 

RTC Alarm interrupt 1.

LPM_STANDBY_WAKE_SOURCE_RTCALM 

RTC Alarm interrupt.

LPM_STANDBY_WAKE_SOURCE_RTCPRD 

RTC Period interrupt.

LPM_STANDBY_WAKE_SOURCE_USBHS 

USB High-speed interrupt.

LPM_STANDBY_WAKE_SOURCE_USBFS 

USB Full-speed interrupt.

LPM_STANDBY_WAKE_SOURCE_AGTW0UD 

AGTW0 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGTW1UD 

AGTW1 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGTW1CA 

AGTW1 Compare Match A interrupt.

LPM_STANDBY_WAKE_SOURCE_AGTW1CB 

AGTW1 Compare Match B interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT1UD 

AGT1 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT1CA 

AGT1 Compare Match A interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT1CB 

AGT1 Compare Match B interrupt.

LPM_STANDBY_WAKE_SOURCE_IIC0 

I2C 0 interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT0UD 

AGT0 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT3UD 

AGT3 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT1UD_S 

AGT1 Underflow interrupt for specific board.

LPM_STANDBY_WAKE_SOURCE_AGT3CA 

AGT3 Compare Match A interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT2UD 

AGT2 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT3CB 

AGT3 Compare Match B interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT3UD_S 

AGT3 Underflow interrupt for specific board.

LPM_STANDBY_WAKE_SOURCE_COMPHS0 

Comparator-HS0 Interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT4UD 

AGT4 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT5UD 

AGT5 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT6UD 

AGT6 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_AGT7UD 

AGT7 Underflow interrupt.

LPM_STANDBY_WAKE_SOURCE_SOSTD 

SOSTD interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP0U 

ULPT0 Underflow Interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP0A 

ULPT0 Compare Match A Interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP0B 

ULPT0 Compare Match B Interrupt.

LPM_STANDBY_WAKE_SOURCE_I3C0 

I3C0 address match interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP1U 

ULPT1 Underflow Interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP1A 

ULPT1 Compare Match A Interrupt.

LPM_STANDBY_WAKE_SOURCE_ULP1B 

ULPT1 Compare Match B Interrupt.

◆ lpm_io_port_t

I/O port state after Deep Software Standby mode

Enumerator
LPM_IO_PORT_RESET 

When the Deep Software Standby mode is canceled, the I/O ports are in the reset state

LPM_IO_PORT_NO_CHANGE 

When the Deep Software Standby mode is canceled, the I/O ports are in the same state as in the Deep Software Standby mode

◆ lpm_power_supply_t

Power supply control

Enumerator
LPM_POWER_SUPPLY_DEEPCUT0 

Power to the standby RAM, Low-speed on-chip oscillator, AGTn, and USBFS/HS resume detecting unit is supplied in deep software standby mode

LPM_POWER_SUPPLY_DEEPCUT1 

Power to the standby RAM, Low-speed on-chip oscillator, AGTn, and USBFS/HS resume detecting unit is not supplied in deep software standby mode

LPM_POWER_SUPPLY_DEEPCUT3 

Power to the standby RAM, Low-speed on-chip oscillator, AGTn, and USBFS/HS resume detecting unit is not supplied in deep software standby mode. In addition, LVD is disabled and the low power function in a poweron reset circuit is enabled

LPM_POWER_SUPPLY_DEEP_STANDBY_MODE1 

Power to the standby RAM, Low-speed on-chip oscillator, Programmable Voltage Detection Unit 0, and USBFS/HS resume detecting unit is supplied in deep software standby mode.

LPM_POWER_SUPPLY_DEEP_STANDBY_MODE2 

Power to standby RAM, USBFS/HS resume detecting unit, Low-speed on-chip oscillator, and IWDT is disabled in deep software standby mode. Power to the Programmable Voltage Detection Unit 0 is supplied in deep software standby mode.

LPM_POWER_SUPPLY_DEEP_STANDBY_MODE3 

Power to standby RAM, Programmable Voltage Detection Unit 0, USBFS/HS resume detecting unit, Low-speed on-chip oscillator, and IWDT is disabled in deep software standby mode.

◆ lpm_deep_standby_cancel_edge_t

Deep Standby Interrupt Edge

Enumerator
LPM_DEEP_STANDBY_CANCEL_SOURCE_EDGE_NONE 

No options for a deep standby cancel source.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ0_RISING 

IRQ0-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ0_FALLING 

IRQ0-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ1_RISING 

IRQ1-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ1_FALLING 

IRQ1-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ2_RISING 

IRQ2-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ2_FALLING 

IRQ2-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ3_RISING 

IRQ3-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ3_FALLING 

IRQ3-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ4_RISING 

IRQ4-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ4_FALLING 

IRQ4-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ5_RISING 

IRQ5-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ5_FALLING 

IRQ5-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ6_RISING 

IRQ6-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ6_FALLING 

IRQ6-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ7_RISING 

IRQ7-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ7_FALLING 

IRQ7-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ8_RISING 

IRQ8-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ8_FALLING 

IRQ8-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ9_RISING 

IRQ9-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ9_FALLING 

IRQ9-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ10_RISING 

IRQ10-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ10_FALLING 

IRQ10-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ11_RISING 

IRQ11-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ11_FALLING 

IRQ11-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ12_RISING 

IRQ12-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ12_FALLING 

IRQ12-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ13_RISING 

IRQ13-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ13_FALLING 

IRQ13-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ14_RISING 

IRQ14-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ14_FALLING 

IRQ14-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ15_RISING 

IRQ14-DS Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ15_FALLING 

IRQ14-DS Pin Falling Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD1_RISING 

LVD1 Rising Slope.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD1_FALLING 

LVD1 Falling Slope.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD2_RISING 

LVD2 Rising Slope.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD2_FALLING 

LVD2 Falling Slope.

LPM_DEEP_STANDBY_CANCEL_SOURCE_NMI_RISING 

NMI Pin Rising Edge.

LPM_DEEP_STANDBY_CANCEL_SOURCE_NMI_FALLING 

NMI Pin Falling Edge.

◆ lpm_deep_standby_cancel_source_t

Deep Standby cancel sources

Enumerator
LPM_DEEP_STANDBY_CANCEL_SOURCE_RESET_ONLY 

Cancel deep standby only by reset.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ0 

IRQ0.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ1 

IRQ1.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ2 

IRQ2.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ3 

IRQ3.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ4 

IRQ4.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ5 

IRQ5.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ6 

IRQ6.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ7 

IRQ7.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ8 

IRQ8.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ9 

IRQ9.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ10 

IRQ10.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ11 

IRQ11.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ12 

IRQ12.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ13 

IRQ13.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ14 

IRQ14.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IRQ15 

IRQ15.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD1 

LVD1.

LPM_DEEP_STANDBY_CANCEL_SOURCE_LVD2 

LVD2.

LPM_DEEP_STANDBY_CANCEL_SOURCE_RTC_INTERVAL 

RTC Interval Interrupt.

LPM_DEEP_STANDBY_CANCEL_SOURCE_RTC_ALARM 

RTC Alarm Interrupt.

LPM_DEEP_STANDBY_CANCEL_SOURCE_NMI 

NMI.

LPM_DEEP_STANDBY_CANCEL_SOURCE_USBFS 

USBFS Suspend/Resume.

LPM_DEEP_STANDBY_CANCEL_SOURCE_USBHS 

USBHS Suspend/Resume.

LPM_DEEP_STANDBY_CANCEL_SOURCE_AGT1 

AGT1 Underflow.

LPM_DEEP_STANDBY_CANCEL_SOURCE_AGT3 

AGT3 Underflow.

LPM_DEEP_STANDBY_CANCEL_SOURCE_ULPT0 

ULPT0 Overflow.

LPM_DEEP_STANDBY_CANCEL_SOURCE_ULPT1 

ULPT1 Overflow.

LPM_DEEP_STANDBY_CANCEL_SOURCE_IWDT 

IWDT Underflow.

LPM_DEEP_STANDBY_CANCEL_SOURCE_VBATT 

VBATT Tamper Detection.

◆ lpm_output_port_enable_t

Output port enable

Enumerator
LPM_OUTPUT_PORT_ENABLE_HIGH_IMPEDANCE 

0: In Software Standby Mode or Deep Software Standby Mode, the address output pins, data output pins, and other bus control signal output pins are set to the high-impedance state. In Snooze, the status of the address bus and bus control signals are same as before entering Software Standby Mode.

LPM_OUTPUT_PORT_ENABLE_RETAIN 

1: In Software Standby Mode, the address output pins, data output pins, and other bus control signal output pins retain the output state.

◆ lpm_ldo_standby_operation_t

Configure the behavior of an oscillator's LDO in standby mode.

Enumerator
LPM_LDO_STANDBY_OPERATION_DISABLED 

The LDO is disabled in standby mode.

LPM_LDO_STANDBY_OPERATION_RETAINED 

The LDO state is retained during standby mode.

◆ lpm_flash_mode_select_t

Flash operating mode select.

Enumerator
LPM_FLASH_MODE_SELECT_ACTIVE 

Flash active.

LPM_FLASH_MODE_SELECT_STOP 

Flash stop.

◆ lpm_hoco_startup_speed_t

Starting the high-speed on-chip oscillator at the times of release from SSTBY mode and of transitions to SNOOZE mode.

Enumerator
LPM_HOCO_STARTUP_SPEED_NORMAL_SPEED 

Starting of the high-speed on-chip oscillator is at normal speed.

LPM_HOCO_STARTUP_SPEED_HIGH_SPEED 

Starting of the high-speed on-chip oscillator is at high speed.

◆ lpm_standby_sosc_t

SOSC setting in SSTBY mode or in SNOOZE mode.

Enumerator
LPM_STANDBY_SOSC_ENABLE 

Enables supply of SOSC clock to peripheral functions.

LPM_STANDBY_SOSC_DISABLE 

Stops supply SOSC clock to peripheral functions other than the Realtime clock.