| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Functions
C:/pdl_v10/library/driver/mft/mft_adcmp.c File Reference
`#include "mft_adcmp.h"`
Include dependency graph for mft_adcmp.c:

Go to the source code of this file.

## Functions
en_result_t | Mft_Adcmp_Init (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8Ch, stc_mft_adcmp_config_t *pstcConfig)
| Device dependent initialization of Mft adcmp module.
en_result_t | Mft_Adcmp_EnableOperation (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8Ch, stc_mft_adcmp_func_t *pstcFunc)
| Enable Mft Adcmp operations.
en_result_t | Mft_Adcmp_DisableOperation (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8Ch, stc_mft_adcmp_func_t *pstcFunc)
| Disable Mft Adcmp operations.
en_result_t | Mft_Adcmp_WriteAcmp (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8Ch, uint16_t u16AdcmpVal)
| Write compare or offset value to ADCMP.
uint16_t | Mft_Adcmp_ReadAcmp (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8Ch)
| Read compare and offset value of ACMP.
en_result_t | Mft_Adcmp_Fm3_Init (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh, stc_mft_adcmp_fm3_config_t *pstcConfig)
| Mft Adcmp fm3 compatible initialization.
en_result_t | Mft_Adcmp_Fm3_EnableOperation (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh)
| Mft Adcmp fm3 compatible mode configuration and enable operation.
en_result_t | Mft_Adcmp_Fm3_DisableOperation (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh)
| De-configurate Mft Adcmp fm3 compatible function and disable operation.
en_result_t | Mft_Adcmp_Fm3_WriteAccp (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh, uint16_t u16AccpVal)
| Mft Adcmp fm3 compatible mode, write Accp register.
uint16_t | Mft_Adcmp_Fm3_ReadAccp (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh)
| Mft Adcmp fm3 compatible mode, read Accp register stored value.
en_result_t | Mft_Adcmp_Fm3_WriteAccpdn (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh, uint16_t u16AccpdnVal)
| Mft Adcmp fm3 compatible mode, write Accpdn register.
uint16_t | Mft_Adcmp_Fm3_ReadAccpdn (volatile FM0P_MFT_ADCMP_TypeDef *pstcMftAdcmp, uint8_t u8CoupleCh)
| Mft Adcmp fm3 compatible mode, read Accpdn register stored value.

## Detailed Description

A detailed description is available at ADCMP Module description

History:

- 2014-01-10 0.1 Edison Zhang First version.

Definition in file mft_adcmp.c.