NEC V850ES/F 3-L Series User Manual page 678

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 19
(8)
After reset: 00H
7
ADAnPFM
ADAnPFE
Caution
678
ADAnPFM - ADC power-fail compare mode register
The ADAnPFM 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.
Reset input clears this register to 00H.
R/W
Address:
6
5
ADAnPFC0
0
ADAnPFE
Power-fail compare enable/disable
0
Power-fail compare disabled
1
Power-fail compare enabled
ADAnPFC
Power-fail compare mode
Generates interrupt request INTAD if ADAnCRmH ≥ ADAnPFT
0
Generates interrupt request INTAD if ADAnCRmH < ADAnPFT
1
1.
In the select mode, the 8-bit data set to the ADAnPFT register is compared
with the value of the ADAnCRmH register specified by the ADAnS register. If
the result matches the condition specified by the ADAnPFC bit, the
conversion result is stored in the ADAnCRm register and the INTAD signal is
generated. If it does not match, however, the interrupt signal is not
generated.
2.
In the scan mode, the 8-bit data set to the ADAnPFT register is compared
with the contents of the ADAnCR0H register. If the result matches the
condition specified by the ADAnPFC bit, the conversion result is stored in
the ADAnCR0 register and the INTAD signal is generated. If it does not
match, however, the INTAD signal is not generated. Regardless of the
comparison result, the scan operation is continued and the conversion result
is stored in the ADAnCRm register until the scan operation is completed.
However, the INTAD signal is not generated after the scan operation has
been completed.
User's Manual U18743EE1V2UM00
ADA0PFM FFFFF204H
4
3
0
0
A/D Converter (ADC)
2
1
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents