![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include "mft_icu.h"
Go to the source code of this file.
Functions | |
| static stc_mft_icu_intern_data_t * | MftIcuGetInternDataPtr (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu) |
| Return the internal data for a certain MFT_ICU instance. More... | |
| static en_result_t | MftIcu_InitIrq (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu) |
| Device dependent initialization of interrupts according CMSIS with level defined in l3.h. More... | |
| static en_result_t | MftIcu_DeInitIrq (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu) |
| Device dependent de-initialization of interrupts according CMSIS. More... | |
| void | Mft_Icu_IrqHandler (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, stc_mft_icu_intern_data_t *pstcMftIcuInternData) |
| Device Interrupt handler. More... | |
| en_result_t | Mft_Icu_SelFrt (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch, en_mft_icu_frt_t enFrt) |
| Select FRTx channel to connect to ICUx. More... | |
| en_result_t | Mft_Icu_ConfigDetectMode (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch, en_mft_icu_mode_t enMode) |
| Configure ICU module detection mode(different edge) More... | |
| en_result_t | Mft_Icu_EnableInt (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch, func_ptr_t pfnCallback) |
| Enable Mft Icu interrupt. More... | |
| en_result_t | Mft_Icu_DisableInt (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch) |
| Disable Mft Icu interrupt and release callback function. More... | |
| en_int_flag_t | Mft_Icu_GetIntFlag (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch) |
| Get interrupt flag. More... | |
| en_result_t | Mft_Icu_ClrIntFlag (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch) |
| Clear interrupt flag. More... | |
| en_mft_icu_edge_t | Mft_Icu_GetLastEdge (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch) |
| Get the latest captured edge type. More... | |
| uint16_t | Mft_Icu_GetCaptureData (volatile FM4_MFT_ICU_TypeDef *pstcMftIcu, uint8_t u8Ch) |
| Readout captured data value. More... | |
Variables | |
| stc_mft_icu_instance_data_t | m_astcMftIcuInstanceDataLut [(uint8_t)(PDL_PERIPHERAL_ENABLE_MFT0_ICU==PDL_ON)+(uint8_t)(PDL_PERIPHERAL_ENABLE_MFT1_ICU==PDL_ON)+(uint8_t)(PDL_PERIPHERAL_ENABLE_MFT2_ICU==PDL_ON)] |
A detailed description is available at ICU Module description
History:
Definition in file mft_icu.c.