CHAPTER 13 A/D CONVERTER
User’s Manual U16896EJ2V0UD
375
(4) Power fail comparison mode register (PFM)
This register sets the power fail detection mode.
The PFM register compares the value in the PFT register with the value of the ADCRH register.
The PFM register can be read or written in 8-bit or 1-bit units.
Reset sets this register to 00H.
PFEN
PFEN
0
1
Power fail comparison disabled
Power fail comparison enabled
Selection of power fail comparison enable/disable
PFM
PFCM
0
0
0
0
0
0
PFCM
0
1
Interrupt request signal (INTAD) generated when ADCR
≥
PFT
Interrupt request signal (INTAD) generated when ADCR < PFT
Selection of power fail comparison mode
After reset: 00H R/W Address: FFFFF202H
< >
< >
Cautions 1. Writing the PFM register is prohibited during A/D conversion operation
(ADM.ADCS bit = 1) in the normal mode (ADM.ADHS1, ADM.ADHS0 bits
= 00).
2. Accessing the PFM register is prohibited in the following statuses. For
details, refer to 3.4.8 (1) (b) Access to special on-chip peripheral I/O
register.
•
When the CPU operates on the subclock and the main clock
oscillation is stopped
•
When the CPU operates on the internal oscillation clock
<R>
<R>