This section describes callback function of the driver. The callback function is called by the driver to notify software interrupt. All interrupt flags are cleared automatically by the driver.
CMP_CALLBACK function declaration
Enumerator |
---|
CMP0_CALLBACK |
passed to notify CMP0 interrupt request
|
CMP1_CALLBACK |
passed to notify CMP1 interrupt request
|
CMP2_CALLBACK |
passed to notify CMP2 interrupt request
|
Enumerator |
---|
CMP_NEGEDGE_CALLBACK |
Negative edge on COUT detected.
|
CMP_POSEDGE_CALLBACK |
Positive edge on COUT detected.
|