Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP51RB2 Datasheet(PDF) 47 Page - ATMEL Corporation

Part # AT89LP51RB2
Description  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 Datasheet(HTML) 47 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 43Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 44Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 45Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 46Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 47Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 48Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 49Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 50Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 51Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 254 page
background image
47
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
6.8
System Clock Prescaler
The AT89LP51RB2/RC2/IC2 includes an 8-bit prescaler that allows the system clock to be
divided down from the selected clock source by even numbers in the range 4–1020 in X1 mode
and 2–510 in X2 mode. The prescaler can reduce power consumption by decreasing the opera-
tional frequency during non-critical periods. The prescaler is implemented as an 8-bit counter
with reload. Upon overflow from FFH to 00H the counter is reloaded with the value of the CKRL
register. When CKRL = FFH the prescaler is disabled. The resulting system frequency is given
by the following equations where f
OSC is the frequency of the selected clock source and X2 is the
value of CKCON0.0:
The clock divider will prescale the clock for the CPU and all peripherals. The value of CKRL may
be changed at any time without interrupting normal execution. Changes to CKRL will take affect
on the next prescaler overflow. When CKRL is updated, the new frequency will take affect within
a maximum period of 1024 x t
OSC. The prescaler is disabled by reset.
fSYS
fOSC
2
X2
×
4
255
CKRL
–
()
×
-----------------------------------------------
=
CKRL
255
<
()
f
SYS
f
OSC
2
X2
×
2
----------------------------
=
CKRL
255
=
()
Table 6-7.
CKRL
– Clock Reload Register
CKRL = 97H
Reset Value = 1111 1111B
Not Bit Addressable
CKRL7
CKRL6
CKRL5
CKRL4
CKRL3
CKRL2
CKRL1
CKRL0
Bit
7
6
543
21
0
Symbol
Function
CKRL7-0
Clock Reload. CKRL holds the reload value for the 8-bit system clock prescaler. When CKRL = FFH the prescaler is
disabled and no division is used. For all other values, the prescaler counts up to FFH and is reloaded with the value of
CKRL on the overflow to 00H. Each overflow of the prescaler will toggle the system clock. Changes to CKRL will take
affect on the next overflow.
Table 6-8.
CLKREG
– Clock Register
CLKREG = AEH
Reset Value = 0101 XXXXB
Not Bit Addressable
TPS3TPS2TPS1TPS0
———
—
Bit
7
6
543
21
0
Symbol
Function
TPS3-0
Timer Prescaler. The Timer Prescaler selects the time base for Timer 0, Timer 1, Timer 2, PCA and the Watchdog
Timer. The prescaler is implemented as a 4-bit binary down counter. When the counter reaches zero it is reloaded with
the value stored in the TPS bits to give a division ratio between 1 and 16. By default TPS is set to 5 for counting every six
cycles (AT89C51RB2/RC2/IC2 compatibility). The prescaler is always enabled in Compatibility mode. In Fast mode the
prescaler is off by default and can be individually enabled for the peripherals through the CKCON0 and CKCON1 SFRs.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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