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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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

Go to the source code of this file.

## Defines
#define | LVD_TIMEOUT (SystemCoreClock/10)
#define | LvdCtlUnlock (0x1ACCE553)
## Functions
void | LvdIrqHandler (void)
| ISR of the LVD module.
en_result_t | Lvd_ConfigInt (func_ptr_t pfnCallback)
| Configure LVD interrupt.
en_result_t | Lvd_SetIntDetectVoltage (en_lvd_int_volt_t enVolt)
| Set the interrupt detect voltage of LVD.
en_result_t | Lvd_SetResetDetectVoltage (en_lvd_reset_volt_t enVolt)
| Set the reset detect voltage of LVD.
en_result_t | Lvd_EnableFunc (en_lvd_func_t enFunc)
| Enable LVD function.
en_result_t | Lvd_DisableFunc (en_lvd_func_t enFunc)
| Disable LVD function.
boolean_t | Lvd_GetIntStatus (void)
| Get the LVD interrupt status.
void | Lvd_ClearIntStatus (void)
| Clear the LVD interrupt status.
## Variables
static func_ptr_t | pfnLvdCallback
| LVD interrupt callback function.

## Detailed Description

A detailed description is available at Low voltage Detection description

History:

- 2014-02-03 1.0 Edison Zhang First version.

Definition in file lvd.c.