User manual

V850E2/MN4 A/D Converter Control
R01AN0923EJ0100 Rev.1.00 Page 7 of 26
Feb 13, 2012
4.1.2 Interrupt Processing Flow
When A/D conversion ends or an A/D conversion error occurs, interrupt processing is executed accordingly.
Conversion end
interrupt
INTADCA0I0
Conversion error
interrupt
INTADCA0ERR
Store conversion data
in RAM
Invert LED1
Restart conversion
End of processing
Turn of LED2
Stop conversion
End of processing
Figure 4.2 Interrupt Processing