TSIx_GENCS field descriptions (continued)
Field Description
0 TSI module disabled.
1 TSI module enabled.
6
TSIIEN
Touch Sensing Input Interrupt Enable
This bit enables TSI module interrupt request to CPU when the scan completes. The interrupt will wake
MCU from low power mode if this interrupt is enabled.
0 TSI interrupt is disabled.
1 TSI interrupt is enabled.
5
STPE
TSI STOP Enable
This bit enables TSI module function in low power modes (stop, VLPS, LLS and VLLS{3,2,1}).
0 TSI is disabled when MCU goes into low power mode.
1 Allows TSI to continue running in all low power modes.
4
STM
Scan Trigger Mode
This bit specifies the trigger mode. User is allowed to change this bit when TSI is not working in progress.
0 Software trigger scan.
1 Hardware trigger scan.
3
SCNIP
Scan In Progress Status
This read-only bit indicates if scan is in progress. This bit will get asserted after the analog bias circuit is
stable after a trigger and it changes automatically by the TSI.
0 No scan in progress.
1 Scan in progress.
2
EOSF
End of Scan Flag
This flag is set when all active electrodes are finished scanning after a scan trigger. Write "1" , when this
flag is set, to clear it.
0 Scan not complete.
1 Scan complete.
1
CURSW
CURSW
This bit specifies if the current sources of electrode oscillator and reference oscillator are swapped.
0 The current source pair are not swapped.
1 The current source pair are swapped.
0
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Chapter 42 Touch Sensing Input (TSI)
KL25 Sub-Family Reference Manual, Rev. 3, September 2012
Freescale Semiconductor, Inc. 791