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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Typedefs | Enumerations | Functions
C:/pdl_v10/library/driver/lvd/lvd.h File Reference
`#include "mcu.h"`
`#include "pdl_user.h"`
Include dependency graph for lvd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Typedefs
typedef enum en_lvd_int_volt | en_lvd_int_volt_t
| Interruption voltage settings for Low Voltage Detection.
typedef enum en_lvd_reset_volt | en_lvd_reset_volt_t
| Reset voltage settings for Low Voltage Detection.
typedef enum en_lvd_func | en_lvd_func_t
| LVD functions.
## Enumerations
enum | en_lvd_int_volt { LvdIntVoltage280 = 0, LvdIntVoltage300 = 1, LvdIntVoltage320 = 2, LvdIntVoltage360 = 3, LvdIntVoltage370 = 4, LvdIntVoltage400 = 5, LvdIntVoltage410 = 6, LvdIntVoltage420 = 7 }
| Interruption voltage settings for Low Voltage Detection. More...
enum | en_lvd_reset_volt { LvdResetVoltage245 = 0, LvdResetVoltage260 = 1, LvdResetVoltage270 = 2, LvdResetVoltage280 = 3, LvdResetVoltage300 = 4, LvdResetVoltage320 = 5, LvdResetVoltage360 = 6, LvdResetVoltage370 = 7, LvdResetVoltage400 = 8, LvdResetVoltage410 = 9, LvdResetVoltage420 = 10 }
| Reset voltage settings for Low Voltage Detection. More...
enum | en_lvd_func { LvdIntFunc = 0u, LvdResetFunc = 1u }
| LVD functions. More...
## 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.

## Detailed Description

Headerfile for LVD functions

History:

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

Definition in file lvd.h.