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

Go to the source code of this file.

Functions

void Csv_IrqHandler (void)
 CSV interrupt handler. More...
 
en_result_t Csv_EnableFcsInt (fn_fcs_int_callback *pfnIntCallback)
 Enables FCS interrupts. More...
 
void Csv_DisableFcsInt (void)
 Disables FCS interrupts. More...
 
void Csv_EnableMainCsv (void)
 The main CSV function is enabled. More...
 
void Csv_DisableMainCsv (void)
 The main CSV function is disabled. More...
 
void Csv_EnableSubCsv (void)
 The sub CSV function is enabled. More...
 
void Csv_DisableSubCsv (void)
 The sub CSV function is disabled¡£ More...
 
uint8_t Csv_GetCsvFailCause (stc_csv_status_t *pstcCsvStatus)
 Get CSV status. More...
 
void Csv_EnableFcs (void)
 The FCS function is enabled. More...
 
void Csv_DisableFcs (void)
 The FCS function is disabled. More...
 
void Csv_EnableFcsReset (void)
 The FCS reset is enabled. More...
 
void Csv_DisableFcsReset (void)
 The FCS reset is disabled. More...
 
void Csv_ClrFcsIntFlag (void)
 Clears the FCS interrupt cause. More...
 
uint8_t Csv_GetFcsIntFlag (void)
 Get Anomalous frequency detection interrupt status. More...
 
en_result_t Csv_SetFcsCrDiv (en_fcs_cr_div_t enDiv)
 FCS count cycle setting. More...
 
void Csv_SetFcsDetectRange (uint16_t u16LowerVal, uint16_t u16UpperVal)
 Frequency lower detection window setting. More...
 
uint16_t Csv_GetFcsDetectCount (void)
 Get the counter value of frequency detection using the main clock. More...
 

Variables

static fn_fcs_int_callback * m_pfnIntCallback = NULL
 

Detailed Description

A detailed description is available at CSV Module description

History:

  • 2013-05-09 1.0 Edison Zhang First version.

Definition in file csv.c.