Usage Code

In the ACC_Handler() function, check if the output result is available by:
if ((ul_status & ACC_ISR_CE) == ACC_ISR_CE) {
} 
In the ACC_Handler() function, check if ADC channel 5 is greater than DAC channel 0 by:
if (acc_get_comparison_result(ACC)) {
    do_something_with_a_greater_result();
} 
In the ACC_Handler() function, check if ADC channel 5 is less than DAC channel 0 by:
if (!acc_get_comparison_result(ACC)) {
    do_something_with_a_lesser_result();
}