![]() |
S32 SDK
|
#include "cmp_hal.h"
Go to the source code of this file.
Functions | |
void | CMP_HAL_Init (CMP_Type *baseAddr) |
Initializes the comparator registers with reset values. More... | |
void | CMP_HAL_SetFunctionalMode (CMP_Type *baseAddr, cmp_mode_t mode, uint8_t filter_sample_count, uint8_t filter_sample_period) |
Sets the comparator functional mode (mode, filter count, filter period) More... | |
cmp_mode_t | CMP_HAL_GetFunctionalMode (const CMP_Type *baseAddr) |
Gets the comparator functional mode. If you want to get filter count and filter period please use CMP_HAL_GetFilterSamplePeriod and CMP_HAL_GetSamplingState. More... | |