English
Language : 

XC161 Datasheet, PDF (30/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
Field
TxCHDIR
TxEDGE
TxIRDIS
TxRC
TxUDE
TxUD
TxR
TxM
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
Bits Typ Description
14
rwh Timer Tx Count Direction Change
This bit is set each time the count direction of timer
Tx changes. TxCHDIR must be cleared by SW.
0 No change in count direction was detected
1 A change in count direction was detected
13
rwh Timer Tx Edge Detection
The bit is set each time a count edge is detected.
TxEDGE must be cleared by SW.
0 No count edge was detected
1 A count edge was detected
12
rw
Timer Tx Interrupt Request Disable
0 Interrupt generation for TxCHDIR and
TxEDGE interrupts in Incremental Interface
Mode is enabled
1 Interrupt generation for TxCHDIR and
TxEDGE interrupts in Incremental Interface
Mode is disabled
9
rw
Timer Tx Remote Control
0 Timer Tx is controlled by its own run bit TxR
1 Timer Tx is controlled by the run bit T3R of core
timer 3, not by bit TxR
8
rw
Timer Tx External Up/Down Enable
0 Input TxEUD is disconnected
1 Direction influenced by input TxEUD1)
7
rw
Timer Tx Up/Down Control1)
6
rw
Timer Tx Run Bit
0 Timer Tx stops
1 Timer Tx runs
Note: This bit only controls timer Tx if bit TxRC = 0.
[5:3] rw
Timer Tx Mode Control (Basic Operating Mode)
000 Timer Mode
001 Counter Mode
010 Gated Timer Mode with gate active low
011 Gated Timer Mode with gate active high
100 Reload Mode
101 Capture Mode
110 Incremental Interface Mode (Rotation Detect.)
111 Incremental Interface Mode (Edge Detection)
User’s Manual
GPT_X1, V2.0
14-16
V2.2, 2004-01