r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 641

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
Table 25.18
CHEj: Bits in TSIE0 to TSIE2 register
CHXASj: Bits in TSCHSEL0 to TSCHSEL2 register
j = 00 to 08, 10, 11, 16 to 25, 27, 28, and 31 to 35
25.3.1.8
25.3.1.9
25.3.1.10 Touch Detection Start Conditions
Touches are detected at the COMS input to CHxA0 or CHxA1.
The threshold value of the COMS input to CHxA0 or CHxA1 for touch detection is controlled by the I/O port
register.
Two types of comparison capacitors, CHxA0 (Cr0) and CHxA1 (Cr1), can be connected for touch detection.
Either of these capacitors can be selected by bits CHXAS00 to CHXAS08, CHXAS10, CHXAS11, CHXAS16
to CHXAS25, CHXAS27, CHXAS28, and CHXAS31 to CHXAS35 in registers TSCHSEL0 to TSCHSEL2 for
each measurement channel.
This adjusts variations in measurement between the channels due to the electrode layout or other factors.
Refer to Figure 25.11 for details of the configuration.
When measurement mode is scan mode and the pins are set to touch detection disabled by registers TSIE0 to
TSIE2, the measurement results must be processed as invalid data.
When measurement mode is single mode and the channels set by bits CHC0 to CHC5 in the TSCUCHC register
are set to touch detection disabled by registers TSIE0 to TSIE2, the measurement results must be processed as
invalid data.
An interrupt request signal is output to the control block in Status 26 after measurement of all the channels
finishes.
Interrupt requests are acknowledged or disabled in the interrupt control block.
Clearing of an interrupt request signal is controlled by the SIF bit in the TSCUFR register.
Refer to 25.2.10 TSCU Flag Register (TSCUFR) for details of the TSCUFR register.
(1) Software trigger
(2) External trigger
When the TSCUCAP bit in the TSCUMR register is set to 0 (touch sensor measurement is started by
software trigger), a software trigger is selected. When the TSCUSTRT bit in the TSCUCR0 register is set
to 1 (measurement starts), detection starts.
When the TSCUCAP bit in the TSCUMR register is set to 1 (touch sensor measurement is started by
external trigger), an event input from the event link controller (ELC) is selected as external trigger mode.
In external trigger mode, make the ELC settings before starting sensor control unit measurement (the
TSCUSTRT bit = 1). Do not allow multiple event sources to be output from the ELC to the sensor control
unit.
CHEj
0
0
1
1
Preliminary document
Specifications in this document are tentative and subject to change.
Touch Detection Pin Selection
CHxA0/CHxA1 Measurement Processing
Interrupt Generation
CHXASj
0
1
0
1
The measurement result is invalid data
The measurement result is invalid data
Measurement processing at the COMS input to CHxA0
Measurement processing at the COMS input to CHxA1
Measurement Processing
25. Sensor Control Unit
Page 610 of 725

Related parts for r5f21368sdfp