126 if(IFS7bits.CLC1PIF == 1)
130 (*CLC1_PositiveEdgeHandler)();
134 IFS7bits.CLC1PIF = 0;
136 if(IFS11bits.CLC1NIF == 1)
140 (*CLC1_NegativeEdgeHandler)();
144 IFS11bits.CLC1NIF = 0;
150 return(CLC1CONLbits.LCOUT);
void __attribute__((weak))
static void(* CLC1_PositiveEdgeHandler)(void)
static void(* CLC1_NegativeEdgeHandler)(void)
void CLC1_Deinitialize(void)
Deinitializes the CLC1 to POR values.
void CLC1_PositiveEdgeCallback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
static void CLC1_Disable(void)
This inline function disables the CLC1 module.
static void CLC1_Enable(void)
This inline function enables the CLC1 module.
void CLC1_Initialize(void)
Initializes the CLC1 module.
void CLC1_Tasks(void)
Implements the tasks for polled implementations where the hardware supports dedicated event for Posit...
void CLC1_NegativeEdgeCallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for CLC1 Negativ...
void CLC1_PositiveEdgeCallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for CLC1 Positiv...
void CLC1_NegativeEdgeCallback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
const struct CLC_INTERFACE CLC1
Structure object of type CLC_INTERFACE with the custom name given by the user in the Melody Driver Us...
bool CLC1_OutputStatusGet(void)
Returns output pin status of the CLC1 module.
Structure containing the function pointers of CLC driver.
void(* Initialize)(void)
Pointer to CLCx_Initialize e.g. CLC1_Initialize.