English
Language : 

R8C35A Datasheet, PDF (642/766 Pages) Renesas Technology Corp – MCU M16C FAMILY / R8C/Tiny SERIES
Under development Preliminary specification
Specifications in this manual are tentative and subject to change
R8C/35A Group
30. Comparator A
30.2.6 Voltage Monitor 2 Circuit Control Register (VW2C)
Address 003Ah
Bit b7
Symbol VW2C7
After Reset 1
b6
VW2C6
0
b5
VW2F1
0
b4
VW2F0
0
b3
VW2C3
0
b2
VW2C2
0
b1
VW2C1
1
b0
VW2C0
0
Bit Symbol
Bit Name
Function
R/W
b0 VW2C0 Comparator A2 interrupt enable bit (1) 0: Disabled
R/W
1: Enabled
b1 VW2C1 Comparator A2 digital filter disable mode 0: Digital filter enable mode
R/W
select bit (2)
(digital filter circuit enabled)
1: Digital filter disable mode
(digital filter circuit disabled)
b2 VW2C2 Comparator A2 interrupt flag (3, 4)
[Condition to set this bit to 0]
R/W
0 is written.
[Condition to set this bit to 1]
When an interrupt request is generated.
b3 VW2C3 WDT detection monitor flag (4)
0: Not detected
R/W
1: Detected
b4 VW2F0 Sampling clock select bit
b5 b4
R/W
b5 VW2F1
0 0: fOCO-S divided by 1
R/W
0 1: fOCO-S divided by 2
1 0: fOCO-S divided by 4
1 1: fOCO-S divided by 8
b6 VW2C6 Reserved bit
Set to 0.
R/W
b7 VW2C7 Comparator A2 interrupt
0: When LVCMP2 reaches reference voltage R/W
generation condition select bit (5)
or above.
1: When LVCMP2 reaches reference voltage
or below.
Notes:
1. The VW2C0 is enabled when the VCA27 bit in the VCA2 register is set to 1 (comparator A2 circuit enabled).
Set the VW2C0 bit to 0 (disabled) when the VCA27 bit is set to 0 (comparator A2 circuit disabled). To set the
VW1C0 bit to 1 (enabled), follow the procedure shown in Table 30.4 Procedure for Setting Bits Associated
Comparator A2 Interrupt.
2. To use the comparator A2 interrupt to exit stop mode and to return again, write 0 and then 1 to the VW2C1 bit.
3. The VW2C2 bit is enabled when the VCA27 bit in the VCA2 register is set to 1 (comparator A2 circuit enabled).
4. Set this bit to 0 by a program. When 0 is written by a program, this bit is set to 0 (and remains unchanged even if
1 is written to it).
5. The VW2C7 bit is enabled when the VCAC2 bit in the VCAC register is set to 0 (one edge). After setting the
VCAC2 bit to 1, set the VW2C7 bit.
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting the VW2C register.
Rewriting the VW2C register may set the VW2C2 bit to 1. After rewriting this register, set the VW2C2 bit to 0.
REJ09B0407-0010 Rev.0.10 Jan 16, 2008
Page 611 of 728