User's Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 164 of 1852
Nov 30, 2020
RX23W Group 8. Voltage Detection Circuit (LVDAb)
8.2.2 Voltage Monitoring 1 Circuit Status Register (LVD1SR)
Note: Set the PRCR.PRC3 bit to 1 (write enabled) before rewriting this register.
Note 1. Only 0 can be written to this bit. After writing 0 to this bit, it takes two system clock cycles for the bit to be read as 0.
LVD1DET Flag (Voltage Monitoring 1 Voltage Change Detection Flag)
The LVD1DET flag is enabled when the LVCMPCR.LVD1E bit is 1 (voltage detection 1 circuit enabled) and the
LVD1CR0.LVD1CMPE bit is 1 (voltage monitoring 1 circuit comparison result output enabled).
The LVD1DET flag should be set to 0 after LVD1CR0.LVD1RIE is set to 0 (disabled). LVD1CR0.LVD1RIE can be set
to 1 (enabled) again after a period of two or more cycles of PCLKB has elapsed.
With read access to an I/O register which access cycle number is defined by PCLKB, two or more cycles of PCLKB may
have to be secured as waiting time.
LVD1MON Flag (Voltage Monitoring 1 Signal Monitor Flag)
The LVD1MON flag is enabled when the LVCMPCR.LVD1E bit is 1 (voltage detection 1 circuit enabled) and the
LVD1CR0.LVD1CMPE bit is 1 (voltage monitoring 1 circuit comparison result output enabled).
Address(es): 0008 00E1h
b7 b6 b5 b4 b3 b2 b1 b0
——————
LVD1M
ON
LVD1D
ET
Value after reset:
00000010
Bit Symbol Bit Name Description R/W
b0 LVD1DET Voltage Monitoring 1 Voltage Change
Detection Flag
0: Not detected
1: Vdet1 passage detection
R/(W)
*
1
b1 LVD1MON Voltage Monitoring 1 Signal Monitor Flag 0: VCC < Vdet1
1: VCC
Vdet1 or LVD1MON circuit is disabled
R
b7 to b2 Reserved These bits are read as 0. The write value should be 0. R/W