PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
lvd.c File Reference
#include "pdl.h"
Include dependency graph for lvd.c:

Go to the source code of this file.

Macros

#define LvdSVHI_220   (0x00)
 
#define LvdSVHI_240   (0x01)
 
#define LvdSVHI_245   (0x03)
 
#define LvdSVHI_260   (0x02)
 
#define LvdSVHI_270   (0x06)
 
#define LvdSVHI_280   (0x07)
 
#define LvdSVHI_290   (0x05)
 
#define LvdSVHI_300   (0x04)
 
#define LvdSVHI_320   (0x0C)
 
#define LvdSVHI_350   (0x0D)
 
#define LvdSVHI_360   (0x0F)
 
#define LvdSVHI_370   (0x0E)
 
#define LvdSVHI_380   (0x0A)
 
#define LvdSVHI_390   (0x0B)
 
#define LvdSVHI_400   (0x09)
 
#define LvdSVHI_410   (0x08)
 
#define LvdSVHI_420   (0x18)
 
#define LvdSVHI_430   (0x19)
 
#define LvdSVHI_452   (0x1B)
 
#define LvdCtlUnlock   (0x1ACCE553)
 

Functions

void LvdIrqHandler (void)
 ISR of the LVD module. More...
 
en_result_t Lvd_Init (stc_lvd_config_t *pstcConfig)
 Init the LVD module. More...
 
en_result_t Lvd_DeInit (void)
 De-Init the Interrupt of the LVD module. More...
 
boolean_t Lvd_GetIntStatus (void)
 Get the LVD interrupt status. More...
 
void Lvd_ClearIntStatus (void)
 Clear the LVD interrupt status. More...
 
boolean_t Lvd_GetIntOperationStatus (void)
 Get the operation status of the LVD interrupt. More...
 

Variables

static stc_lvd_intern_data_t stcLvdInternData = {NULL}
 

Detailed Description

A detailed description is available at Low voltage Detection description

History:

  • 2013-04-03 1.0 NT First version.

Definition in file lvd.c.