hit counter script

NEC V850ES/SG2 mPD703260 Preliminary User's Manual page 351

32-bit single-chip microcontroller
Table of Contents

Advertisement

(6) Power-fail compare mode register (ADA0PFM)
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.
Reset input clears this register to 00H.
After reset:
00H
ADA0PFM
ADA0PFE
ADA0PFE
ADA0PFC
Cautions 1. In the select mode, the 8-bit data set to the ADA0PFT register is compared with the
value of the ADA0CRnH register specified by the ADA0S register. If the result matches
the condition specified by the ADA0PFC bit, the conversion result is stored in the
ADA0CRn 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 ADA0PFT register is compared with the
contents of the ADA0CR0H register. If the result matches the condition specified by
the ADA0PFC bit, the conversion result is stored in the ADA0CR0 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 ADA0CRn register until the scan operation is
completed. However, the INTAD signal is not generated after the scan operation has
been completed.
(7) Power-fail compare threshold value register (ADA0PFT)
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
<7>
ADA0PFT
CHAPTER 13 A/D CONVERTER
R/W
Address:
FFFFF204H
<7>
<6>
5
ADA0PFC
0
Selection of power-fail compare enable/disable
0
Power-fail compare enabled
1
Power-fail compare disabled
Selection of power-fail compare mode
Generates an interrupt request signal (INTAD) when ADA0CRnH ≥ ADA0PFT
0
1
Generates an interrupt request signal (INTAD) when ADA0CRnH < ADA0PFT
R/W
Address: FFFFF205H
<6>
<5>
Preliminary User's Manual U16541EJ1V0UM
4
3
2
0
0
0
<4>
<3>
<2>
1
0
0
0
<1>
<0>
351

Advertisement

Table of Contents
loading

Table of Contents