Infineon /XMC4200 /LEDTS0 /FNCTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FNCTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (value1)PADT0 (value1)PADTSW 0 (value1)EPULL 0FNCOL0 (value1)ACCCNT0 (value1)TSCCMP 0 (value1)TSOEXT 0 (value1)TSCTRR 0 (value1)TSCTRSAT 0 (value1)NR_TSIN 0 (value1)COLLEV 0 (value1)NR_LEDCOL

TSOEXT=value1, TSCTRSAT=value1, TSCCMP=value1, ACCCNT=value1, PADT=value1, EPULL=value1, TSCTRR=value1, NR_LEDCOL=value1, COLLEV=value1, PADTSW=value1, NR_TSIN=value1

Description

Function Control Register

Fields

PADT

Touch-Sense TSIN Pad Turn

0 (value1): TSIN0

7 (value2): TSIN7

PADTSW

Software Control for Touch-Sense Pad Turn

0 (value1): The hardware automatically enables the touch-sense inputs in sequence round-robin, starting from TSIN0.

1 (value2): Disable hardware control for software control only. The touch-sense input is configured in bit PADT.

EPULL

Enable External Pull-up Configuration on Pin COLA

0 (value1): HW over-rule to enable internal pull-up is active on TSIN[x] for set duration in touch-sense time slice. With this setting, it is not specified to assign the COLA to any pin.

1 (value2): Enable external pull-up: Output 1 on pin COLA for whole duration of touch-sense time slice.

FNCOL

Previous Active Function/LED Column Status

ACCCNT

Accumulate Count on Touch-Sense Input

0 (value1): 1 time

1 (value2): 2 times

15 (value3): 16 times

TSCCMP

Common Compare Enable for Touch-Sense

0 (value1): Disable common compare for touch-sense

1 (value2): Enable common compare for touch-sense

TSOEXT

Extension for Touch-Sense Output for Pin-Low-Level

0 (value1): Extend by 1 ledts_clk

1 (value2): Extend by 4 ledts_clk

2 (value3): Extend by 8 ledts_clk

3 (value4): Extend by 16 ledts_clk

TSCTRR

TS-Counter Auto Reset

0 (value1): Disable TS-counter automatic reset

1 (value2): Enable TS-counter automatic reset to 00H on the first pad turn of a new TSIN[x]. Triggered on compare match in time slice.

TSCTRSAT

Saturation of TS-Counter

0 (value1): Disable

1 (value2): Enable. TS-counter stops counting in the touch-sense time slice(s) of the same (extended) frame when it reaches FFH. Counter starts to count again on the first pad turn of a new TSIN[x], triggered on compare match.

NR_TSIN

Number of Touch-Sense Input

0 (value1): 1

7 (value2): 8

COLLEV

Active Level of LED Column

0 (value1): Active low

1 (value2): Active high

NR_LEDCOL

Number of LED Columns

0 (value1): 1 LED column

1 (value2): 2 LED columns

2 (value3): 3 LED columns

3 (value4): 4 LED columns

4 (value5): 5 LED columns

5 (value6): 6 LED columns

6 (value7): 7 LED columns

7 (value8): 8 LED columns (max. LED columns = 7 if bit TS_EN = 1)

Links

()