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

Go to the source code of this file.

Data Structures

struct  stc_lvd_intern_data
 Low Voltage Detection internal data. More...
 
struct  stc_lvd_config
 Clock Supervisor configuration. More...
 

Typedefs

typedef enum en_lvd_irq_voltage en_lvd_irq_voltage_t
 Interruption voltage settings for Low Voltage Detection. More...
 
typedef struct stc_lvd_intern_data stc_lvd_intern_data_t
 Low Voltage Detection internal data. More...
 
typedef struct stc_lvd_config stc_lvd_config_t
 Clock Supervisor configuration. More...
 

Enumerations

enum  en_lvd_irq_voltage {
  LvdIrqVoltage220 = 0,
  LvdIrqVoltage240 = 1,
  LvdIrqVoltage245 = 2,
  LvdIrqVoltage260 = 3,
  LvdIrqVoltage270 = 4,
  LvdIrqVoltage280 = 5,
  LvdIrqVoltage290 = 6,
  LvdIrqVoltage300 = 7,
  LvdIrqVoltage320 = 8,
  LvdIrqVoltage350 = 9,
  LvdIrqVoltage360 = 10,
  LvdIrqVoltage370 = 11,
  LvdIrqVoltage380 = 12,
  LvdIrqVoltage390 = 13,
  LvdIrqVoltage400 = 14,
  LvdIrqVoltage410 = 15,
  LvdIrqVoltage420 = 16,
  LvdIrqVoltage430 = 17,
  LvdIrqVoltage452 = 18
}
 Interruption voltage settings for Low Voltage Detection. More...
 

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...
 

Detailed Description

Headerfile for LVD functions

History:

  • 2012-04-03 1.0 NT First version.

Definition in file lvd.h.