![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include "pdl.h"

Go to the source code of this file.
Data Structures | |
| struct | stc_dstc_dreqenb |
| DREQENB structure. More... | |
| struct | stc_dstc_hwint |
| HWINT structure. More... | |
| struct | stc_dstc_hwintclr |
| HWINTCLR structure. More... | |
| struct | stc_dstc_dqmsk |
| DQMSK structure. More... | |
| struct | stc_dstc_dqmskclr |
| DQMSKCLR structure. More... | |
| struct | stc_dstc_des0 |
| Definition of Descriptor 0 (DES0 - Transfer Basic Setting) More... | |
| struct | stc_dstc_des1_mode0 |
| Definition of Descriptor 1 (DES1 - Number of Transfers) in Mode 0. More... | |
| struct | stc_dstc_des1_mode1 |
| Definition of Descriptor 1 (DES1 - Number of Transfers) in Mode 1. More... | |
| struct | stc_dstc_des0123 |
| Definition of Descriptor Group DES0 - DES3. More... | |
| struct | stc_dstc_des01234 |
| Definition of Descriptor Group DES0 - DES4. More... | |
| struct | stc_dstc_des012345 |
| Definition of Descriptor Group DES0 - DES5. More... | |
| struct | stc_dstc_des0123456 |
| Definition of Descriptor Group DES0 - DES6. More... | |
| struct | stc_dstc_des01235 |
| Definition of Descriptor Group DES0 - DES3, DES5. More... | |
| struct | stc_dstc_des01236 |
| Definition of Descriptor Group DES0 - DES3, DES6. More... | |
| struct | stc_dstc_des012346 |
| Definition of Descriptor Group DES0 - DES4, DES6. More... | |
| struct | stc_dstc_des012356 |
| Definition of Descriptor Group DES0 - DES3, DES5, DES6. More... | |
| struct | stc_dstc_config |
| DSTC configuration. More... | |
| struct | stc_dstc_intern_data |
| DSTC Intern Data. More... | |
Typedefs | |
| typedef enum en_dstc_cmd | en_dstc_cmd_t |
| DSTC Commands. More... | |
| typedef enum en_dstc_swpr | en_dstc_swpr_t |
| Software Transfer Priority. More... | |
| typedef enum en_dstc_est_error | en_dstc_est_error_t |
| MONERS EST Error Code. More... | |
| typedef void(* | func_ptr_dstc_args_t )(en_dstc_est_error_t enEstError, uint16_t u16ErrorChannel, uint16_t u16ErrorDesPointer, boolean_t bSoftwareError, boolean_t bDoubleError, boolean_t bErrorStop) |
| Error Status Callback. More... | |
| typedef struct stc_dstc_dreqenb | stc_dstc_dreqenb_t |
| DREQENB structure. More... | |
| typedef struct stc_dstc_hwint | stc_dstc_hwint_t |
| HWINT structure. More... | |
| typedef struct stc_dstc_hwintclr | stc_dstc_hwintclr_t |
| HWINTCLR structure. More... | |
| typedef struct stc_dstc_dqmsk | stc_dstc_dqmsk_t |
| DQMSK structure. More... | |
| typedef struct stc_dstc_dqmskclr | stc_dstc_dqmskclr_t |
| DQMSKCLR structure. More... | |
| typedef struct stc_dstc_des0 | stc_dstc_des0_t |
| Definition of Descriptor 0 (DES0 - Transfer Basic Setting) More... | |
| typedef struct stc_dstc_des1_mode0 | stc_dstc_des1_mode0_t |
| Definition of Descriptor 1 (DES1 - Number of Transfers) in Mode 0. More... | |
| typedef struct stc_dstc_des1_mode1 | stc_dstc_des1_mode1_t |
| Definition of Descriptor 1 (DES1 - Number of Transfers) in Mode 1. More... | |
| typedef struct stc_dstc_des0123 | stc_dstc_des0123_t |
| Definition of Descriptor Group DES0 - DES3. More... | |
| typedef struct stc_dstc_des01234 | stc_dstc_des01234_t |
| Definition of Descriptor Group DES0 - DES4. More... | |
| typedef struct stc_dstc_des012345 | stc_dstc_des012345_t |
| Definition of Descriptor Group DES0 - DES5. More... | |
| typedef struct stc_dstc_des0123456 | stc_dstc_des0123456_t |
| Definition of Descriptor Group DES0 - DES6. More... | |
| typedef struct stc_dstc_des01235 | stc_dstc_des01235_t |
| Definition of Descriptor Group DES0 - DES3, DES5. More... | |
| typedef struct stc_dstc_des01236 | stc_dstc_des01236_t |
| Definition of Descriptor Group DES0 - DES3, DES6. More... | |
| typedef struct stc_dstc_des012346 | stc_dstc_des012346_t |
| Definition of Descriptor Group DES0 - DES4, DES6. More... | |
| typedef struct stc_dstc_des012356 | stc_dstc_des012456_t |
| Definition of Descriptor Group DES0 - DES3, DES5, DES6. More... | |
| typedef struct stc_dstc_config | stc_dstc_config_t |
| DSTC configuration. More... | |
| typedef struct stc_dstc_intern_data | stc_dstc_intern_data_t |
| DSTC Intern Data. More... | |
Enumerations | |
| enum | en_dstc_cmd { CmdStandyRelease = 0u, CmdStandyTransition = 1u, CmdSwclr = 2u, CmdErclr = 3u, CmdRbclr = 4u, CmdMkclr = 5u } |
| DSTC Commands. More... | |
| enum | en_dstc_swpr { PriorityHighest = 0u, Priority1_2 = 1u, Priority1_3 = 2u, Priority1_7 = 3u, Priority1_15 = 4u, Priority1_31 = 5u, Priority1_63 = 6u, PriorityLowest = 7u } |
| Software Transfer Priority. More... | |
| enum | en_dstc_est_error { NoError = 0u, SourceAccessError = 1u, DestinationAccessError = 2u, ForcedTransferStop = 3u, DesAccessError = 4u, DesOpenError = 5u, UnknownError = 6u } |
| MONERS EST Error Code. More... | |
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) |