|
| static uint32_t | ACMP_GetInstance (CMP_Type *base) |
| | Get the ACMP instance from the peripheral base address.
|
| |
| void | ACMP_Init (CMP_Type *base, const acmp_config_t *config) |
| | Initializes the ACMP.
|
| |
| void | ACMP_Deinit (CMP_Type *base) |
| | Deinitializes the ACMP.
|
| |
| void | ACMP_GetDefaultConfig (acmp_config_t *config) |
| | Gets the default configuration for ACMP.
|
| |
| void | ACMP_Enable (CMP_Type *base, bool enable) |
| | Enables or disables the ACMP.
|
| |
| void | ACMP_EnableLinkToDAC (CMP_Type *base, bool enable) |
| | Enables the link from CMP to DAC enable.
|
| |
| void | ACMP_SetChannelConfig (CMP_Type *base, const acmp_channel_config_t *config) |
| | Sets the channel configuration.
|
| |
| void | ACMP_EnableDMA (CMP_Type *base, bool enable) |
| | Enables or disables DMA.
|
| |
| void | ACMP_EnableWindowMode (CMP_Type *base, bool enable) |
| | Enables or disables window mode.
|
| |
| void | ACMP_SetFilterConfig (CMP_Type *base, const acmp_filter_config_t *config) |
| | Configures the filter.
|
| |
| void | ACMP_SetDACConfig (CMP_Type *base, const acmp_dac_config_t *config) |
| | Configures the internal DAC.
|
| |
| void | ACMP_SetRoundRobinConfig (CMP_Type *base, const acmp_round_robin_config_t *config) |
| | Configures the round robin mode.
|
| |
| void | ACMP_SetRoundRobinPreState (CMP_Type *base, uint32_t mask) |
| | Defines the pre-set state of channels in round robin mode.
|
| |
| void | ACMP_ClearRoundRobinStatusFlags (CMP_Type *base, uint32_t mask) |
| | Clears the channel input changed flags in round robin mode.
|
| |
| void | ACMP_EnableInterrupts (CMP_Type *base, uint32_t mask) |
| | Enables interrupts.
|
| |
| void | ACMP_DisableInterrupts (CMP_Type *base, uint32_t mask) |
| | Disables interrupts.
|
| |
| uint32_t | ACMP_GetStatusFlags (CMP_Type *base) |
| | Gets status flags.
|
| |
| void | ACMP_ClearStatusFlags (CMP_Type *base, uint32_t mask) |
| | Clears status flags.
|
| |
| void | ACMP_SetDiscreteModeConfig (CMP_Type *base, const acmp_discrete_mode_config_t *config) |
| | Configure the discrete mode.
|
| |
| void | ACMP_GetDefaultDiscreteModeConfig (acmp_discrete_mode_config_t *config) |
| | Get the default configuration for discrete mode setting.
|
| |