R01UH0822EJ0100 Rev.1.00
Page 112 of 1041
Jul 31, 2019
RX13T Group
8. Voltage Detection Circuit (LVDAb)
8.
Voltage Detection Circuit (LVDAb)
The voltage detection circuit (LVD) monitors the voltage level input to the VCC pin using a program.
8.1
Overview
In voltage detection 0, the detection voltage can be selected from three levels using option function select register 1
(OFS1).
In voltage detection 1, the detection voltage can be selected from nine levels using the voltage detection level select
register (LVDLVLR).
In voltage detection 2, the detection voltage can be selected from four levels using the LVDLVLR register.
Voltage monitoring 0 reset, voltage monitoring 1 reset/interrupt, and voltage monitoring 2 reset/interrupt can be used.
lists the specifications of the voltage detection circuit.
is a block diagram of the voltage detection
circuit.
is a block diagram of the voltage monitoring 1 interrupt/reset circuit.
the voltage monitoring 2 interrupt/reset circuit.
Table 8.1
LVD Specifications
Item
Voltage Monitoring 0
Voltage Monitoring 1
Voltage Monitoring 2
VCC monitoring
Monitored
voltage
Vdet0
Vdet1
Vdet2
Detection
target
Voltage drops past Vdet0
When voltage rises above or
drops below Vdet1
When voltage rises above or
drops below Vdet2
Detection
voltage
Voltage selectable from 3 levels
using OFS1
Voltage selectable from 9 levels
using the
LVDLVLR.LVD1LVL[3:0] bits
Voltage selectable from 4 levels
using the
LVDLVLR.LVD2LVL[1:0] bits
Monitoring
flag
Not available
LVD1SR.LVD1MON flag:
Monitors whether voltage is
higher or lower than Vdet1
LVD2SR.LVD2MON flag:
Monitors whether voltage is
higher or lower than Vdet2
LVD1SR.LVD1DET flag: Vdet1
passage detection
LVD2SR.LVD2DET flag: Vdet2
passage detection
Process upon
voltage detection
Reset
Voltage monitoring 0 reset
Voltage monitoring 1 reset
Voltage monitoring 2 reset
Reset when Vdet0 > VCC
CPU restart after specified
time with VCC > Vdet0
Reset when Vdet1 > VCC
CPU restart timing selectable:
after specified time with VCC >
Vdet1 or Vdet1 > VCC
Reset when Vdet2 > VCC
CPU restart timing selectable:
after specified time with VCC >
Vdet2 or after specified time with
Vdet2 > VCC
Interrupt
Not available
Voltage monitoring 1 interrupt
Voltage monitoring 2 interrupt
Non-maskable or maskable
interrupt is selectable
Non-maskable or maskable
interrupt is selectable
Interrupt request issued when
Vdet1 > VCC and VCC > Vdet1
or either
Interrupt request issued when
Vdet2 > VCC and VCC > Vdet2
or either