NEC V850E/Dx3 Preliminary User's Manual page 874

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 27
Bit position
0
874
Downloaded from
Elcodis.com
electronic components distributor
Caution
If the voltage comparator input level V
an INTVCn interrupt is generated under both following conditions:
• The comparator is enabled (VCCTLn.VCEn = 0
edges are specified (VCCTLn.VCEn = 00
• The comparator is disabled (VCCTLn.VCEn = 1
edges are specified (VCCTLn.VCEn = 01
(2)
VCSTRn - Voltage Comparator n status register
The 8-bit VCSTRn register reflects the result of the voltage comparison.
Access
This register is read-only, in 8-bit or 1-bit units.
Address
<base> + 2
H
Initial Value
01
. This register is cleared by any reset.
H
7
0
R
Table 27-4
VCSTRn register contents
Bit name
Function
VCFn
Voltage Comparator status flag
0: Input voltage is below reference voltage.
1: Input voltage is above reference voltage.
Preliminary User's Manual U17566EE1V2UM00
CMPn
6
5
4
0
0
0
R
R
R
Voltage Comparator
is below the reference voltage V
1) and falling or both
or 11
).
B
B
0) and rising or both
or 11
).
B
B
3
2
1
0
0
0
VCFn
R
R
R
LVI
0
R

Advertisement

Table of Contents
loading

Table of Contents