at89lp428-25pu ATMEL Corporation, at89lp428-25pu Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
at89lp428-25pu
Manufacturer Part Number
at89lp428-25pu
Description
8-bit Microcontroller With 4k/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.AT89LP428-25PU.pdf
(149 pages)
- Current page: 41 of 149
- Download datasheet (5Mb)
11. Enhanced Timer 0 and Timer 1 with PWM
3654A–MICRO–8/09
The AT89LP428/828 has two 16-bit Timer/Counters, Timer 0 and Timer 1, with the
following features:
Timer 0 and Timer 1 have similar modes of operation. As timers, they increase every clock cycle
by default. Thus, the registers count clock cycles. Since a clock cycle consists of one oscillator
period, the count rate is equal to the oscillator frequency. The timer rate can be prescaled by a
value between 1 and 16 using the Timer Prescaler (see
share the same prescaler.
As counters, the timer registers are incremented in response to a 1-to-0 transition at the corre-
sponding input pins, T0 or T1. The external input is sampled every clock 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 the cycle following the one in which the transition was
detected. Since 2 clock cycles are required to recognize a 1-to-0 transition, the maximum count
rate is 1/2 of the oscillator frequency. There are no restrictions on the duty cycle of the input sig-
nal, but it should be held for at least one full clock cycle to ensure that a given level is sampled at
least once before it changes.
Furthermore, the Timer or Counter functions for Timer 0 and Timer 1 have four operating modes:
variable width timer, 16-bit auto-reload timer, 8-bit auto-reload timer, and split timer. The control
bits C/T in the Special Function Register TMOD select the Timer or Counter function. The bit
pairs (M1, M0) in TMOD select the operating modes.
Table 11-1.
Name
TCON
TMOD
TL0
TL1
TH0
TH1
TCONB
RL0
RL1
RH0
RH1
• Two 16-bit timer/counters with 16-bit reload registers
• Two independent 8-bit precision PWM outputs with 8-bit prescalers
• UART or SPI baud rate generation using Timer 1
• Output pin toggle on timer overflow
• Split timer mode allows for three separate timers (two 8-bit, one 16-bit)
• Gated modes allow timers to run/halt based on an external input
Timer 0/1 Register Summary
Address
8CH
8DH
8AH
8BH
88H
89H
91H
92H
93H
94H
95H
Control
Mode
Timer 0 low-byte
Timer 1 low-byte
Timer 0 high-byte
Timer 1 high-byte
Mode
Timer 0 reload low-byte
Timer 1 reload low-byte
Timer 0 reload high-byte
Timer 1 reload high-byte
Purpose
Table 6-2 on page
AT89LP428/828
Bit-Addressable
23). Both Timers
Y
N
N
N
N
N
N
N
N
N
N
41
Related parts for at89lp428-25pu
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT89LP428](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89LP428-20MU](/images/no-image3.png)
Part Number:
Description:
8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: