EasyManua.ls Logo

Renesas RX Series

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R01UH0823EJ0100 Rev.1.00 Page 1504 of 1823
Jul 31, 2019
RX23W Group 43. Capacitive Touch Sensing Unit (CTSU)
43.2.12 CTSU Status Register (CTSUST)
When using the CTSUCR0.CTSUINIT bit to clear an overflow flag, make sure that the CTSUCR0.CTSUSTRT bit is 0.
CTSUSTC[2:0] Flags (CTSU Measurement Status Counter)
These counters indicate the current measurement status. For details on each status, refer to
section 43.3.2.2, Status
Counter
.
CTSUDTSR Flag (CTSU Data Transfer Status Flag)
This flag indicates whether the measurement result stored in the sensor counter and the reference counter has been read.
This flag is set to 1 when measurement is completed; 0 when the reference counter is read by software or the DTC.
This flag is also cleared using the CTSUCR0.CTSUINIT bit.
CTSUSOVF Flag (CTSU Sensor Counter Overflow Flag)
This flag indicates whether the sensor counter has overflowed. FFFFh can be read as the measurement result (CTSUSC
counter) when an overflow has occurred.
Even if an overflow occurs, measurement processing is continued until the set period.
No interrupt is generated even when an overflow occurs. To determine the channel on which the overflow has occurred,
read the measurement result of each channel after measurement is completed (after a measurement end interrupt is
generated).
This flag is cleared when 0 is written after 1 is read by software. This flag is also cleared using the
CTSUCR0.CTSUINIT bit.
CTSUROVF Flag (CTSU Reference Counter Overflow Flag)
This flag indicates whether the reference counter has overflowed. FFFFh can be read as the measurement result
(CTSURC counter) when an overflow has occurred.
Even if an overflow occurs, measurement processing is continued until the set period.
Address(es): CTSU.CTSUST 000A 0911h
b7 b6 b5 b4 b3 b2 b1 b0
CTSUP
S
CTSUR
OVF
CTSUS
OVF
CTSUD
TSR
CTSUSTC[2:0]
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b2 to b0 CTSUSTC[2:0] CTSU Measurement Status Counter
b2 b0
0 0 0: Status 0
0 0 1: Status 1
0 1 0: Status 2
0 1 1: Status 3
1 0 0: Status 4
1 0 1: Status 5
R
b3 Reserved This bit is read as 0. The write value should be 0. R/W
b4 CTSUDTSR CTSU Data Transfer Status Flag 0: Measurement result has been read
1: Measurement result has not been read
R
b5 CTSUSOVF CTSU Sensor Counter Overflow Flag 0: No overflow
1: An overflow
R/W
b6 CTSUROVF CTSU Reference Counter Overflow
Flag
0: No overflow
1: An overflow
R/W
b7 CTSUPS CTSU Mutual Capacitance Status
Flag
0: First measurement
1: Second measurement
R

Table of Contents

Related product manuals