| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Defines | Functions
C:/pdl_v10/library/driver/lpm/lpm.c File Reference
`#include "lpm.h"`
Include dependency graph for lpm.c:

Go to the source code of this file.

## Defines
#define | CM0P_CORE_CSR *((volatile unsigned int*)(0xE000ED10UL))
#define | LPCM_BACKUP_REG_BASE ((volatile uint8_t*)0x40035900)
## Functions
static uint16_t | WRFSRDummyRead (void)
| WRFSR dummy read.
static uint16_t | WIFSRDummyRead (void)
| WRFSR dummy read.
void | Lpm_GoToStandByMode (en_lpm_mode_t enMode, boolean_t bIoRemain)
| go to standby mode
en_result_t | Lpm_ConfigDeepStbRetCause (stc_dstb_ret_cause_t *pstcCause)
| Configure return cause from deep standby mode.
en_dstb_ret_cause_t | Lpm_ReadDeepStbRetCause (void)
| Read deep standby mode return cause flag.
en_result_t | Lpm_SetWkupPinLevel (en_dstb_wkup_pin_t enPinIndex, en_wkup_valid_level_t enLevel)
| Set the valid level of wkup pin.
en_result_t | Lpm_WriteBackupReg (en_dstb_bakup_reg_t enRegIndex, uint8_t u8Data)
| Write the backup register.
uint8_t | Lpm_ReadBackupReg (en_dstb_bakup_reg_t enRegIndex)
| Read the backup register.
en_result_t | Lpm_ConfigSubClk (boolean_t bSupplyCec, boolean_t bSupplyRtc)
| Configue the sub clock supply.
en_result_t | Lpm_ConfigDeepStbRAMRetention (boolean_t bRamRetain)
| Configure deep standby mode RAM retention.

## Detailed Description

A detailed description is available at Low Power Modes Module description

History:

- 2014-01-23 1.0 Edison Zhang First version.
- 2014-03-10 1.1 Edison Zhang Update Lpm_ConfigDeepStbRetCause() function

Definition in file lpm.c.