45#include "cmp_interface.h"
65#define CMP_DAC1_Initialize CMP1_Initialize
70#define CMP_DAC1_Deinitialize CMP1_Deinitialize
75#define CMP_DAC1_StatusGet CMP1_StatusGet
80#define CMP_DAC1_Enable CMP1_Enable
85#define CMP_DAC1_Disable CMP1_Disable
90#define CMP_DAC1_DACEnable CMP1_DACEnable
95#define CMP_DAC1_DACDisable CMP1_DACDisable
100#define CMP_DAC1_DACDataWrite CMP1_DACDataWrite
105#define CMP_DAC1_DACDisable CMP1_DACDisable
110#define CMP_DAC1_EventCallbackRegister CMP1_EventCallbackRegister
115#define CMP_DAC1_Tasks CMP1_Tasks
const struct CMP_INTERFACE CMP_DAC1
Structure object of type CMP_INTERFACE with the custom name given by the user in the Melody Driver Us...
void CMP1_Enable(void)
Enables the common DAC module.
void CMP1_EventCallback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
bool CMP1_StatusGet(void)
Returns the comparator output status.
void CMP1_Deinitialize(void)
Deinitializes the CMP1 to POR values.
void CMP1_Tasks(void)
The Task function can be called in the main application using the High Speed Comparator,...
void CMP1_Initialize(void)
Initialize the CMP1 module.
void CMP1_DACEnable(void)
Enables the individual DAC module.
void CMP1_DACDisable(void)
Disables the individual DAC module.
void CMP1_Disable(void)
Disables the common DAC module.
void CMP1_EventCallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for CMP1 Event e...
void CMP1_DACDataWrite(size_t value)
CMP DAC Data write to register.
Structure containing the function pointers of CMP driver.