45#include "cmp_interface.h"
65#define DAC_DEBUG_Initialize CMP2_Initialize
70#define DAC_DEBUG_Deinitialize CMP2_Deinitialize
75#define DAC_DEBUG_StatusGet CMP2_StatusGet
80#define DAC_DEBUG_Enable CMP2_Enable
85#define DAC_DEBUG_Disable CMP2_Disable
90#define DAC_DEBUG_DACEnable CMP2_DACEnable
95#define DAC_DEBUG_DACDisable CMP2_DACDisable
100#define DAC_DEBUG_DACDataWrite CMP2_DACDataWrite
105#define DAC_DEBUG_DACDisable CMP2_DACDisable
110#define DAC_DEBUG_EventCallbackRegister CMP2_EventCallbackRegister
115#define DAC_DEBUG_Tasks CMP2_Tasks
bool CMP2_StatusGet(void)
Returns the comparator output status.
void CMP2_Disable(void)
Disables the common DAC module.
void CMP2_Initialize(void)
Initialize the CMP2 module.
void CMP2_EventCallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for CMP2 Event e...
void CMP2_Deinitialize(void)
Deinitializes the CMP2 to POR values.
void CMP2_DACEnable(void)
Enables the individual DAC module.
void CMP2_EventCallback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
void CMP2_DACDisable(void)
Disables the individual DAC module.
const struct CMP_INTERFACE DAC_DEBUG
Structure object of type CMP_INTERFACE with the custom name given by the user in the Melody Driver Us...
void CMP2_DACDataWrite(size_t value)
CMP DAC Data write to register.
void CMP2_Tasks(void)
The Task function can be called in the main application using the High Speed Comparator,...
void CMP2_Enable(void)
Enables the common DAC module.
Structure containing the function pointers of CMP driver.