TSI_CS0 field descriptions (continued)
Field
Description
0
No scan in progress.
1
Scan in progress.
2
EOSF
EOSF
This bit indicates if scan completes. When scan completes, this bit is set. This bit must be read when set
and write 1 to clear this flag. If TSIIEN bit is set, an interrupt will be submitted to CPU for post-processing
when this bit is set. To clear this bit, TSI_CNTH:TSI_CNTL register pair must be read. If EOSF is set and
another trigger arrives (software or hardware), this trigger will be ignored. Only when software has read
out the counters and cleared the EOSF flag, can the new trigger get valid.
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. This
bit must not be written 1.
0
The current source pair are not swapped.
1
The current source pair are swapped.
0
SWTS
SWTS
This write-only bit is a software start trigger. When STM bit is clear, write "1" to this bit will start a scan.
The electrode channel to be scanned is determined by TSI_CS3[TSICH] bits.
0
No effect.
1
Start a scan to determine which channel is specified by TSI_CS3[TSICH].
21.3.2 TSI Control and Status Register 1 (TSI_CS1)
Address: 8h base + 1h offset = 9h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
TSI_CS1 field descriptions
Field
Description
7–5
PS
PS
These bits indicate the prescaler of the output of electrode oscillator.
000
Electrode Oscillator Frequency divided by 1
001
Electrode Oscillator Frequency divided by 2
010
Electrode Oscillator Frequency divided by 4
011
Electrode Oscillator Frequency divided by 8
100
Electrode Oscillator Frequency divided by 16
101
Electrode Oscillator Frequency divided by 32
Table continues on the next page...
Chapter 21 Touch Sense Input (TSI)
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Freescale Semiconductor, Inc.
583
Содержание MC9S08PT60
Страница 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Страница 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Страница 40: ...System clock distribution MC9S08PT60 Reference Manual Rev 4 08 2014 40 Freescale Semiconductor Inc...
Страница 120: ...Flash and EEPROM registers descriptions MC9S08PT60 Reference Manual Rev 4 08 2014 120 Freescale Semiconductor Inc...
Страница 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Страница 228: ...System clock gating control registers MC9S08PT60 Reference Manual Rev 4 08 2014 228 Freescale Semiconductor Inc...
Страница 262: ...Human machine interfaces HMI MC9S08PT60 Reference Manual Rev 4 08 2014 262 Freescale Semiconductor Inc...
Страница 298: ...Functional Description MC9S08PT60 Reference Manual Rev 4 08 2014 298 Freescale Semiconductor Inc...
Страница 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Страница 440: ...Functional description MC9S08PT60 Reference Manual Rev 4 08 2014 440 Freescale Semiconductor Inc...
Страница 468: ...Initialization Application Information MC9S08PT60 Reference Manual Rev 4 08 2014 468 Freescale Semiconductor Inc...
Страница 570: ...Application information MC9S08PT60 Reference Manual Rev 4 08 2014 570 Freescale Semiconductor Inc...
Страница 648: ...Memory map and register description MC9S08PT60 Reference Manual Rev 4 08 2014 648 Freescale Semiconductor Inc...
Страница 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...