R01UH0823EJ0100 Rev.1.00
Page 1493 of 1823
Jul 31, 2019
RX23W Group
43. Capacitive Touch Sensing Unit (CTSU)
CTSUCAP Bit (CTSU Measurement Operation Start Trigger Select)
This bit specifies the measurement start condition. For details, see the description of the CTSUSTRT bit.
CTSUSNZ Bit (CTSU Wait State Power-Saving Enable)
This bit enables or disables power-saving operation during a wait state. This bit can also be used to suspend the CTSU
power supply, which decreases power consumption during the wait state.
In the suspended state, the CTSU power supply is turned off while the external TSCAP is still charged after the CTSU
power supply has been turned on and the TSCAP has been charged.
Note:
Settings other than the above are prohibited.
To start measurement from the suspended state, set the CTSUSNZ bit to 0 and wait for 16 μs before setting the
CTSUSTRT bit to 1. To set the suspended state after measurement is finished, set the CTSUSNZ bit to 1.
CTSUIOC Bit (CTSU Transmit Pin Control)
This bit selects the logic level of the TS pin when the CTSUERRS.CTSUTSOD bit is set to 1.
This bit setting is ignored when the CTSUTSOD bit is 0.
CTSUINIT Bit (CTSU Control Block Initialization)
The internal control registers can be initialized by writing 1 to this bit. To forcibly stop the current operation, set the
CTSUSTRT bit to 0 and the CTSUINIT bit to 1 simultaneously. In this case, the operation is stopped and the internal
control registers are initialized.
Do not write 1 to the CTSUINIT bit at the same time as setting the CTSUSTRT bit to 1 (CTSU operation starts).
Table 43.4
CTSU Power Supply State Control
CTSUCR1.CTSUPON Bit
CTSUSNZ Bit
CTSUCAP Bit
CTSUSTRT Bit
CTSU Power Supply State
0
0
0
0
Stopped
1
0
—
—
Operating
1
1
0
0
Suspended