
R01UH0241EJ0010 Rev.0.10
Page 577 of 730
Aug 05, 2011
R8C/38T-A Group
25. Touch Sensor Control Unit
Under development Preliminary document
Specifications in this document are tentative and subject to change.
[Conditions for setting to 0]
When this bit is set to 0 (forced stop) by a program.
When measurement finishes while the TSCUCAP bit in the TSCUMR register is 0 (software trigger) and an
interrupt request is generated.
When 1 is written to the TSCUINIT bit.
[Condition for setting to 1]
When 1 is written to this bit by a program.
When the TSCUSTRT bit is set to 0 (measurement stops) while the TSCUCAP bit in the TSCUMR register is 0
(touch sensor measurement is started by software trigger), the value of each counter is retained. When the
TSCUSTRT bit is set to 1 (measurement starts), measurement starts from the status where the measurement is
stopped.
While the TSCUCAP bit is 1 (touch sensor measurement is started by external trigger), if an external trigger
occurs when the TSCUSTRT bit is set to 0 and then set to 1, measurement starts from Status 1.
Make sure that initialization is performed using the TSCUINIT bit before setting the TSCUSTRT bit to 1.
Bits TSCUE and TSCUSW are used to control the states of the TSCU pins.
When bits TSCUSW and TSCUE are set to 01b (TSCU operation ON), the states of the TSCU pins are
controlled by the TSCU.
When bits TSCUSW and TSCUE are set to 10b (TSCU software operation ON), the states of the TSCU pins are
controlled by user settings. Analog input is controlled by the following bits:
Bits CHE00 to CHE15 in the TSIE0 register
Bits CHE16 to CHE31 in the TSIE1 register
Bits CHE32 to CHE35 in the TSIE2 register
Bits CHSELXA0SW, CHSELXA1SW, and CHSELXBCSW in the TSCUCR1 register