CHAPTER 3 SOFTWARE CONFIGURATION
Application Note U17209EJ1V0AN
54
3.4.7 A/D converter channel 0 interrupt processing
Figure 3-18. A/D Converter Channel 0 Interrupt Processing
int_ad0
Read U phase current value
| Current value | > MAX_I?
EXIT
U, V, W phase output off
Set error flag
Read V phase current value
I Current value I > MAX_I?
U, V, W phase output off
Set error flag
Yes
No
No
Yes
: Refer to 4.1.10, 4.2.10, 4.3.10, 4.4.10, 4.5.10 A/D converter interrupt
processing function.