数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AT89LP428 数据表(PDF) 41 Page - ATMEL Corporation

部件名 AT89LP428
功能描述  8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
PDF  149 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

AT89LP428 数据表(HTML) 41 Page - ATMEL Corporation

Back Button AT89LP428 Datasheet HTML 37Page - ATMEL Corporation AT89LP428 Datasheet HTML 38Page - ATMEL Corporation AT89LP428 Datasheet HTML 39Page - ATMEL Corporation AT89LP428 Datasheet HTML 40Page - ATMEL Corporation AT89LP428 Datasheet HTML 41Page - ATMEL Corporation AT89LP428 Datasheet HTML 42Page - ATMEL Corporation AT89LP428 Datasheet HTML 43Page - ATMEL Corporation AT89LP428 Datasheet HTML 44Page - ATMEL Corporation AT89LP428 Datasheet HTML 45Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 149 page
background image
41
3654A–MICRO–8/09
AT89LP428/828
11. Enhanced Timer 0 and Timer 1 with PWM
The AT89LP428/828 has two 16-bit Timer/Counters, Timer 0 and Timer 1, with the
following features:
• 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 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 Table 6-2 on page 23). Both Timers
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.
Timer 0/1 Register Summary
Name
Address
Purpose
Bit-Addressable
TCON
88H
Control
Y
TMOD
89H
Mode
N
TL0
8AH
Timer 0 low-byte
N
TL1
8BH
Timer 1 low-byte
N
TH0
8CH
Timer 0 high-byte
N
TH1
8DH
Timer 1 high-byte
N
TCONB
91H
Mode
N
RL0
92H
Timer 0 reload low-byte
N
RL1
93H
Timer 1 reload low-byte
N
RH0
94H
Timer 0 reload high-byte
N
RH1
95H
Timer 1 reload high-byte
N



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com