Figure 19.4-5 Data Protection Function Flow when µDMAC or EI
Note: Flow at A/D converter operation stop is omitted.
Notes:
•
The converted data protection function operates only in the interrupt enabled (ADCS1: INTE=1)
status.
When the µDMAC or EI
•
disabled, the A/D conversion may operate to write new data before the old data transfer. Also
when the conversion is restarted during the suspension, the old data are destroyed.
•
When the conversion is restarted during the suspension, the waiting data are destroyed.
µDMAC or EI
2
OS setting
A/D continuous conversion
start
Converted for 1 time
Store in A/D data register
Converted for 2 times
NO
µDMAC or EI
2
OS end
YES
Store in A/D data register
Converted for 3 times
continue
Converted for all
continue
Store in A/D data register
2
OS operates, the A/D conversion is suspended, and the interrupt is
CHAPTER 19 8/10-BIT A/D CONVERTER
2
µDMAC or EI
2
OS start
A/D suspend
µDMAC or EI
2
OS start
µDMAC or EI
2
OS start
Interrupt processing routine
A/D initialize or sotp
END
OS is Used
447