92 DACCTRL1Lbits.DACON = 1;
97 DACCTRL1Lbits.DACON = 0;
119 return (DAC3CONLbits.CMPSTAT);
124 DACCTRL1Lbits.DACON = 1;
129 DACCTRL1Lbits.DACON = 0;
134 DAC3CONLbits.DACEN = 1;
139 DAC3CONLbits.DACEN = 0;
144 DAC3DATHbits.DACDATH = value;
165 (*CMP3_EventHandler)();
This is the generated driver header file for the CMP3 driver.
void __attribute__((weak))
static void(* CMP3_EventHandler)(void)
const struct DAC_DC_INTERFACE dac3_dc_interface
void CMP3_EventCallback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
void CMP3_EventCallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for CMP3 Event e...
bool CMP3_StatusGet(void)
Returns the comparator output status.
void CMP3_Enable(void)
Enables the common DAC module.
void CMP3_Disable(void)
Disables the common DAC module.
void CMP3_DACDataWrite(size_t value)
CMP DAC Data write to register.
void CMP3_Deinitialize(void)
Deinitializes the CMP3 to POR values.
void CMP3_Initialize(void)
Initialize the CMP3 module.
const struct CMP_INTERFACE CMP_DAC3_PCT
Structure object of type CMP_INTERFACE with the custom name given by the user in the Melody Driver Us...
void CMP3_DACEnable(void)
Enables the individual DAC module.
void CMP3_DACDisable(void)
Disables the individual DAC module.
Structure containing the function pointers of DAC driver in DC mode.
Structure containing the function pointers of CMP driver.