#include "sys_config.h"
#include "cmsis.h"
Go to the source code of this file.
|
| STATIC INLINE void | IP_ACMP_Init (ACMP_001_T *pACMP) |
| | Initializes the ACMP.
|
| |
| STATIC INLINE void | IP_ACMP_Deinit (ACMP_001_T *pACMP) |
| | De-initializes the ACMP.
|
| |
| STATIC INLINE uint32_t | IP_ACMP_GetCompStatus (ACMP_001_T *pACMP) |
| | Returns the current comparator status.
|
| |
| void | IP_ACMP_EdgeClear (ACMP_001_T *pACMP) |
| | Clears the ACMP interrupt (EDGECLR bit)
|
| |
| void | IP_ACMP_SetEdgeSelection (ACMP_001_T *pACMP, IP_ACMP_001_EDGESEL_T edgeSel) |
| | Sets up ACMP edge selection.
|
| |
| STATIC INLINE void | IP_ACMP_EnableSyncCompOut (ACMP_001_T *pACMP) |
| | Synchronizes Comparator output to bus clock.
|
| |
| STATIC INLINE void | IP_ACMP_DisableSyncCompOut (ACMP_001_T *pACMP) |
| | Sets comparator output to be used directly (no sync)
|
| |
| void | IP_ACMP_SetPosVoltRef (ACMP_001_T *pACMP, uint32_t Posinput) |
| | Selects positive voltage input.
|
| |
| void | IP_ACMP_SetNegVoltRef (ACMP_001_T *pACMP, uint32_t Neginput) |
| | Selects negative voltage input.
|
| |
| void | IP_ACMP_SetHysteresis (ACMP_001_T *pACMP, IP_ACMP_HYS_001_T hys) |
| | Selects hysteresis level.
|
| |
| void | IP_ACMP_SetupAMCPRefs (ACMP_001_T *pACMP, IP_ACMP_001_EDGESEL_T edgeSel, uint32_t Posinput, uint32_t Neginput, IP_ACMP_HYS_001_T hys) |
| | Helper function for setting up ACMP control.
|
| |
| void | IP_ACMP_SetupVoltLadder (ACMP_001_T *pACMP, uint32_t ladsel, bool ladrefVDDCMP) |
| | Sets up voltage ladder.
|
| |
| STATIC INLINE void | IP_ACMP_EnableVoltLadder (ACMP_001_T *pACMP) |
| | Enables voltage ladder.
|
| |
| STATIC INLINE void | IP_ACMP_DisableVoltLadder (ACMP_001_T *pACMP) |
| | Disables voltage ladder.
|
| |