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

Go to the source code of this file.

Functions

void Dstc_IrqHandler (void)
 Interrupt Service Routine of DSTC. More...
 
en_result_t Dstc_ReleaseStandBy (void)
 Release DSTC from Standby State. More...
 
en_result_t Dstc_Init (stc_dstc_config_t *pstcConfig)
 Initializes the DSTC according the Configuration. More...
 
en_result_t Dstc_DeInit (void)
 De-Initializes the the DSTC. More...
 
en_result_t Dstc_SetHwdesp (uint8_t u8Channel, uint16_t u16HwDesp)
 Initializes a DSTC channel. More...
 
uint16_t Dstc_ReadHwdesp (uint8_t u8Channel)
 Read the HWDESP Address Offset of a Channel. More...
 
en_result_t Dstc_SetCommand (en_dstc_cmd_t enCommand)
 Set a Command to CMD Register. More...
 
en_result_t Dstc_SwTrigger (uint16_t u16SwDesPointer)
 Set SWDESP offset and trigger SW transfer. More...
 
en_result_t Dstc_SwTrqansferStartStatus (void)
 Check Software Trigger Start State. More...
 
en_result_t Dstc_SetDreqenb (stc_dstc_dreqenb_t *pstcDreqenb)
 Set DREQENB Register. More...
 
en_result_t Dstc_ReadDreqenb (stc_dstc_dreqenb_t *pstcDreqenb)
 Read DREQENB Register. More...
 
en_result_t Dstc_SetDreqenbBit (uint8_t u8BitPos)
 Set DREQENB Register Bit. More...
 
en_result_t Dstc_ClearDreqenbBit (uint8_t u8BitPos)
 Clear DREQENB Register Bit. More...
 
en_result_t Dstc_ReadHwint (stc_dstc_hwint_t *pstcHwint)
 Read HWINT Register. More...
 
en_result_t Dstc_SetHwintclr (stc_dstc_hwintclr_t *pstcHwintclr)
 Set HWINTCLR Register. More...
 
boolean_t Dstc_ReadHwintBit (uint8_t u8BitPos)
 Read HWINT Register Bit. More...
 
en_result_t Dstc_SetHwintclrBit (uint8_t u8BitPos)
 Set HWINTCLR Register Bit. More...
 
en_result_t Dstc_ReadDqmsk (stc_dstc_dqmsk_t *pstcDqmsk)
 Read DQMSK Register. More...
 
en_result_t Dstc_SetDqmskclr (stc_dstc_dqmskclr_t *pstcDqmskclr)
 Set DQMSKCLR Register. More...
 
en_result_t Dstc_SetDqmskclrBit (uint8_t u8BitPos)
 Set DQMSKCLR Register Bit. More...
 
void Dstc_AdcIrqHandler (uint8_t u8IrqChannel0, uint8_t u8IrqChannel1)
 DSTC Peripheral Interrupt Service Routines. More...
 
void Dstc_BtIrqHandler (uint8_t u8IrqChannel0, uint8_t u8IrqChannel1)
 BT. More...
 
void Dstc_ExintIrqHandler (uint8_t u8IrqChannel)
 EXT INT. More...
 
void Dstc_MfsRxIrqHandler (uint8_t u8IrqChannel)
 MFS. More...
 
void Dstc_MfsTxIrqHandler (uint8_t u8IrqChannel)
 
void Dstc_MftFrtPeakIrqHandler (uint8_t u8IrqChannel)
 MFT FRT. More...
 
void Dstc_MftFrtZeroIrqHandler (uint8_t u8IrqChannel)
 
void Dstc_MftOcuIrqHandler (uint8_t u8IrqChannel)
 
void Dstc_MftWfgIrqHandler (uint8_t u8IrqChannel)
 
void Dstc_MftIcuIrqHandler (uint8_t u8IrqChannel)
 
void Dstc_PpgIrqHandler (uint8_t u8IrqChannel)
 PPG. More...
 
void Dstc_QprcIrqHandler (uint8_t u8IrqChannel)
 QPRC. More...
 
void Dstc_WcIrqHandler (void)
 

Variables

static stc_dstc_intern_data_t stcDstcInternData
 

Detailed Description

A detailed description is available at DSTC description

History:

  • 2013-04-24 1.0 MWi First version
  • 2014-04-16 1.1 MWi Typos in comments corrected

Definition in file dstc.c.