780
Chapter 20
A/D Converter (ADC)
Preliminary User’s Manual U17566EE1V2UM00
(6)
ADA0PFM - ADC power-fail compare mode register
The ADA0PFM register is an 8-bit register that sets the power-fail compare
mode.
This register can be read or written in 8-bit or 1-bit units.
Note
In continuous select mode the conversion result of ADC channel ANIn,
selected by ADA0S, is observed.
In continuous scan mode the conversion result of ADC channel ANI0 is
observed.
For further details, refer to
“Power-fail compare mode“ on page 785
.
(7)
ADA0PFT - ADC power-fail compare threshold value register
The ADA0PFT register sets the compare value in the power-fail compare
mode.
This register can be read or written in 8-bit or 1-bit units.
Reset input clears this register to 00H.
After reset: 00H
R/W
Address: FFFFF204H
7
6
5
4
3
2
1
0
ADA0PFM
ADA0PFE
ADA0PFC0
0
0
0
0
0
0
ADA0PFE
Power-fail compare enable/disable
0
Power-fail compare disabled
1
Power-fail compare enabled
ADA0PFC
Power-fail compare mode
0
Generates interrupt request INTAD if ADA0CRnH
≥
ADA0PFT
1
Generates interrupt request INTAD if ADA0CRnH
<
ADA0PFT
electronic components distributor