tda8029hl-c207 NXP Semiconductors, tda8029hl-c207 Datasheet - Page 12

no-image

tda8029hl-c207

Manufacturer Part Number
tda8029hl-c207
Description
Low Power Single Card Reader
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
9397 750 14145
Product data sheet
8.2.1 Timer/counter 2 control register (T2CON)
8.2.2 Timer/counter 2 mode control register (T2MOD)
Table 7:
Table 8:
Table 9:
Table 10:
Bit
7
6
5
4
3
2
1
0
Mode
16-bit auto-reload
Baud-rate generator
Off
TF2
7
7
-
Symbol
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
C/T2
CP/RL2
T2CON - timer/counter 2 control register (address C8h) bit allocation
T2CON - timer/counter 2 control register (address C8h) bit description
Timer 2 operating modes
T2MOD - timer/counter 2 mode control register (address C9h) bit allocation
EXF2
6
6
-
Rev. 03 — 22 February 2005
RCLK
Description
Timer 2 overflow flag set by a timer 2 overflow and must be cleared by
software. TF2 will not be set when either RCLK or TCLK = 1.
Timer 2 external flag set when either a capture or reload is caused by
a negative transition on T2EX and EXEN2 = 1. When timer 2 interrupt
is enabled, EXF2 = 1 will cause the CPU to vector to the timer 2
interrupt routine. EXF2 must be cleared by software. EXF2 does not
cause an interrupt in up/down counter mode (DCEN = 1).
Receive clock flag. When set, causes the serial port to use timer 2
overflow pulses for its receive clock in modes 1 and 3. RCLK = 0
causes timer 1 overflows to be used for the receive clock.
Transmit clock flag. When set, causes the serial port to use timer 2
overflow pulses for its transmit clock in modes 1 and 3. TCLK = 0
causes timer 1 overflows to be used for the transmit clock.
Timer 2 external enable flag. When set, allows a capture or reload to
occur as a result of a negative transition on T2EX if timer 2 is not being
used to clock the serial port. EXEN2 = 0 causes timer 2 to ignore
events at T2EX.
Start/stop control for timer 2. TR2 = 1 starts the timer.
Counter or timer select timer 2.
Capture or reload flag. When set, captures will occur on negative
transitions at T2EX if EXEN2 = 1. When cleared, auto-reloads will
occur either with timer 2 overflows or negative transitions at T2EX
when EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is
ignored and the timer is forced to auto-reload on timer 2 overflow.
RCLK and TCLK
5
0 = internal timer
1 = external event counter (falling edge triggered).
5
-
X
0
1
TCLK
4
4
-
(1
12
f
EXEN2
XTAL1
3
3
-
)
CP/RL2
0
X
X
Low power single card reader
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
TR2
2
2
-
T2OE
TDA8029
C/T2
1
1
TR2
1
1
0
CP/RL2
DCEN
12 of 59
0
0

Related parts for tda8029hl-c207