R01UH0823EJ0100 Rev.1.00
Page 1509 of 1823
Jul 31, 2019
RX23W Group
43. Capacitive Touch Sensing Unit (CTSU)
CTSURICOA[7:0] Bits (CTSU Reference ICO Current Adjustment)
These bits adjust the oscillation frequency using the input current of the reference ICO.
CTSUSDPA[4:0] Bits (CTSU Base Clock Setting)
These bits are used to generate a base clock used as the source for the sensor drive pulse by dividing the operating clock.
For details on the setting procedure, refer to
section 43.3.2.1, Initial Setting Flowchart
CTSUICOG[1:0] Bits (CTSU ICO Gain Adjustment)
These bits adjust the output frequency gain of the sensor ICO and the reference ICO. Normally, the value of these bits
should be set to 00b for the maximum gain. If changes in the capacitance between when the electrode is touched and
when it is not touched greatly exceed the dynamic range of the sensor ICO, set the gain adjustment bits to adjust the gain
appropriately.
43.2.16
CTSU Sensor Counter (CTSUSC)
Read first from the CTSUSC counter and then the CTSURC counter after a CTSURD interrupt is generated.
CTSUSC[15:0] Bits (CTSU Sensor Counter)
These bits are configured as an increment counter that counts the sensor ICO clock.
Read these bits after a CTSURD interrupt is generated. After the CTSURC counter is read, these bits are cleared
immediately before the CTSU measurement status counter value changes to Status 4 (the CTSUST.CTSUSTC[2:0] flags
changes to 100b) in the next measurement. These bits are also cleared using the CTSUCR0.CTSUINIT bit.
Address(es): CTSU.CTSUSC 000A 0918h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CTSUSC[15:0]
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
b15 to b0
CTSU Sensor Counter
These bits indicate FFFFh when an overflow occurs.
R