R01UH0822EJ0100 Rev.1.00
Page 543 of 1041
Jul 31, 2019
RX13T Group
20. Port Output Enable 3 (POE3C)
20.2.12
Port Output Enable Comparator Output Detection Flag Register (POECMPFR)
Note 1. The flag can only be set to 0 by writing 0 after reading 1.
CnFLAG Flag (Comparator Channel n Output Detection Flag) (n = 0 to 2)
This flag indicates whether each comparator output is detected or not detected.
[Setting condition]
A change from low level to high level in the comparator output is detected.
- When the comparator is set to non-inverted output, the input voltage changes from lower to higher than the
reference voltage
- When the comparator is set to inverted output, the input voltage changes from higher to lower than the reference
voltage
[Clearing condition]
By writing 0 to the CnFLAG flag after reading CnFLAG = 1
Address(es): POE.POECMPFR 0008 C4E6h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
—
—
—
—
—
C2FLA
G
C1FLA
G
C0FLA
G
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Comparator Channel 0 Output
Detection Flag
0: Comparator output not detected
1: Comparator output detected
R/(W)*
b1
Comparator Channel 1 Output
Detection Flag
0: Comparator output not detected
1: Comparator output detected
R/(W)*
b2
Comparator Channel 2 Output
Detection Flag
0: Comparator output not detected
1: Comparator output detected
R/(W)*
b15 to b3
—
Reserved
These bits are read as 0. The write value should be 0.
R/W