Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89S52 Datasheet(PDF) 5 Page - ATMEL Corporation

Part # AT89S52
Description  8-bit Microcontroller with 8K Bytes Flash
Download  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89S52 Datasheet(HTML) 5 Page - ATMEL Corporation

  AT89S52 Datasheet HTML 1Page - ATMEL Corporation AT89S52 Datasheet HTML 2Page - ATMEL Corporation AT89S52 Datasheet HTML 3Page - ATMEL Corporation AT89S52 Datasheet HTML 4Page - ATMEL Corporation AT89S52 Datasheet HTML 5Page - ATMEL Corporation AT89S52 Datasheet HTML 6Page - ATMEL Corporation AT89S52 Datasheet HTML 7Page - ATMEL Corporation AT89S52 Datasheet HTML 8Page - ATMEL Corporation AT89S52 Datasheet HTML 9Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 24 page
background image
AT89C52
5
Special Function Registers
A map of the on-chip memory area called the Special Func-
tion Register (SFR) space is shown in Table 1.
Note that not all of the addresses are occupied, and unoc-
cupied addresses may not be implemented on the chip.
Read accesses to these addresses will in general return
random data, and write accesses will have an indetermi-
nate effect.
User software should not write 1s to these unlisted loca-
tions, since they may be used in future products to invoke
new features. In that case, the reset or inactive values of
the new bits will always be 0.
Timer 2 Registers Control and status bits are contained in
registers T2CON (shown in Table 2) and T2MOD (shown in
Table 4) for Timer 2. The register pair (RCAP2H, RCAP2L)
are the Capture/Reload registers for Timer 2 in 16-bit cap-
ture mode or 16-bit auto-reload mode.
Interrupt Registers The individual interrupt enable bits are
in the IE register. Two priorities can be set for each of the
six interrupt sources in the IP register.r
Data Memory
The AT89C52 implements 256 bytes of on-chip RAM. The
upper 128 bytes occupy a parallel address space to the
Special Function Registers. That means the upper 128
bytes have the same addresses as the SFR space but are
physically separate from SFR space.
When an instruction accesses an internal location above
address 7FH, the address mode used in the instruction
specifies whether the CPU accesses the upper 128 bytes
of RAM or the SFR space. Instructions that use direct
addressing access SFR space.
For example, the following direct addressing instruction
accesses the SFR at location 0A0H (which is P2).
MOV 0A0H, #data
Table 2. T2CON – Timer/Counter 2 Control Registe
T2CON Address = 0C8H
Reset Value = 0000 0000B
Bit Addressable
Bit
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
C/T2
CP/RL2
76543210
Symbol
Function
TF2
Timer 2 overflow flag set by a Timer 2 overflow and must be cleared by software. TF2 will not be set when either
RCLK = 1 or TCLK = 1.
EXF2
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).
RCLK
Receive clock enable. When set, causes the serial port to use Timer 2 overflow pulses for its receive clock in serial
port Modes 1 and 3. RCLK = 0 causes Timer 1 overflow to be used for the receive clock.
TCLK
Transmit clock enable. When set, causes the serial port to use Timer 2 overflow pulses for its transmit clock in serial
port Modes 1 and 3. TCLK = 0 causes Timer 1 overflows to be used for the transmit clock.
EXEN2
Timer 2 external enable. 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.
TR2
Start/Stop control for Timer 2. TR2 = 1 starts the timer.
C/T2
Timer or counter select for Timer 2. C/T2 = 0 for timer function. C/T2 = 1 for external event counter (falling edge
triggered).
CP/RL2
Capture/Reload select. CP/RL2 = 1 causes captures to occur on negative transitions at T2EX if EXEN2 = 1. CP/RL2
= 0 causes automatic reloads to occur when Timer 2 overflows or negative transitions occur at T2EX when EXEN2
= 1. When either RCLK or TCLK = 1, this bit is ignored and the timer is forced to auto-reload on Timer 2 overflow.


Similar Part No. - AT89S52

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89S52 ATMEL-AT89S52 Datasheet
233Kb / 30P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT89S52 ATMEL-AT89S52 Datasheet
478Kb / 39P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT89S52 ATMEL-AT89S52 Datasheet
576Kb / 38P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
logo
NEWTC co., ltd.
AT89S52 NEWTC-AT89S52 Datasheet
1Mb / 8P
   89S52(ISP) 개발 보드 ( Model : AB-S52 ) 메뉴얼
logo
ATMEL Corporation
AT89S52-24AC ATMEL-AT89S52-24AC Datasheet
233Kb / 30P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
More results

Similar Description - AT89S52

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89C52 ATMEL-AT89C52 Datasheet
181Kb / 22P
   8-Bit Microcontroller with 8K Bytes Flash
AT89C52 ATMEL-AT89C52_00 Datasheet
223Kb / 24P
   8-bit Microcontroller with 8K Bytes Flash
AT89LS8252 ATMEL-AT89LS8252_06 Datasheet
672Kb / 35P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252-24PU ATMEL-AT89S8252-24PU Datasheet
610Kb / 34P
   8-bit Microcontroller with 8K Bytes Flash
AT89LS8252 ATMEL-AT89LS8252 Datasheet
470Kb / 31P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252_06 Datasheet
479Kb / 41P
   8-bit Microcontroller with 8K Bytes Flash
AT89LV52 ATMEL-AT89LV52 Datasheet
532Kb / 22P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252 Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252_02 Datasheet
439Kb / 34P
   8-bit Microcontroller with 8K Bytes Flash
ATMEGA48V ATMEL-ATMEGA48V_06 Datasheet
3Mb / 374P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
More results


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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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