AT89S8253-24PSC ATMEL [ATMEL Corporation], AT89S8253-24PSC Datasheet - Page 14
AT89S8253-24PSC
Manufacturer Part Number
AT89S8253-24PSC
Description
8-bit Microcontroller with 12K Bytes Flash and 2K Bytes EEPROM
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.AT89S8253-24PSC.pdf
(59 pages)
- Current page: 14 of 59
- Download datasheet (2Mb)
9. Timer 0 and 1
10. Timer 2
14
AT89S8253
Timer 0 and Timer 1 in the AT89S8253 operate the same way as Timer 0 and Timer 1 in the
AT89S51 and AT89S52. For more detailed information on the Timer/Counter operation, please
click on the document link below:
Timer 2 is a 16-bit Timer/Counter that can operate as either a timer or an event counter. The
type of operation is selected by bit C/T2 in the SFR T2CON (see
2 has three operating modes: capture, auto-reload (up or down counting), and baud rate gener-
ator. The modes are selected by bits in T2CON, as shown in
Timer 2 consists of two 8-bit registers, TH2 and TL2. In the Timer function, the TL2 register is
incremented every machine cycle. Since a machine cycle consists of 12 oscillator periods, the
count rate is 1/12 of the oscillator frequency.
In the Counter function, the register is incremented in response to a 1-to-0 transition at its corre-
sponding external input pin, T2. In this function, the external input is sampled during S5P2 of
every machine cycle. When the samples show a high in one cycle and a low in the next cycle,
the count is incremented. The new count value appears in the register during S3P1 of the cycle
following the one in which the transition was detected. Since two machine cycles (24 oscillator
periods) are required to recognize a 1-to-0 transition, the maximum count rate is 1/24 of the
oscillator frequency. To ensure that a given level is sampled at least once before it changes, the
level should be held for at least one full machine cycle.
Table 10-1.
http://www.atmel.com/dyn/resources/prod_documents/DOC4316.PDF
RCLK + TCLK
X
0
0
1
Timer 2 Operating Modes
CP/RL2
X
X
0
1
TR2
1
1
1
0
MODE
16-bit Auto-reload
16-bit Capture
Baud Rate Generator
(Off)
Table
Table 10-2 on page
10-2.
3286L–MICRO–8/08
15). Timer
Related parts for AT89S8253-24PSC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
At89s8253 8-bit Microcontroller With 12k Bytes Flash And 2k Bytes Eeprom
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: