Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

ATMEGA163 Datasheet(PDF) 21 Page - ATMEL Corporation

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

ATMEGA163 Datasheet(HTML) 21 Page - ATMEL Corporation

Back Button ATMEGA163 Datasheet HTML 17Page - ATMEL Corporation ATMEGA163 Datasheet HTML 18Page - ATMEL Corporation ATMEGA163 Datasheet HTML 19Page - ATMEL Corporation ATMEGA163 Datasheet HTML 20Page - ATMEL Corporation ATMEGA163 Datasheet HTML 21Page - ATMEL Corporation ATMEGA163 Datasheet HTML 22Page - ATMEL Corporation ATMEGA163 Datasheet HTML 23Page - ATMEL Corporation ATMEGA163 Datasheet HTML 24Page - ATMEL Corporation ATMEGA163 Datasheet HTML 25Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 187 page
background image
21
ATmega163(L)
1142E–AVR–02/03
The Stack Pointer – SP
The ATmega163 Stack Pointer is implemented as two 8-bit registers in the I/O space
locations $3E ($5E) and $3D ($5D). As the ATmega163 data memory has $460 loca-
tions, 11 bits are used.
The Stack Pointer points to the data SRAM Stack area where the Subroutine and Inter-
rupt Stacks are located. This Stack space in the data SRAM must be defined by the
program before any subroutine calls are executed or interrupts are enabled. The Stack
Pointer must be set to point above $60. The Stack Pointer is decremented by one when
data is pushed onto the Stack with the PUSH instruction, and it is decremented by two
when the return address is pushed onto the Stack with subroutine call and interrupt. The
Stack Pointer is incremented by one when data is popped from the Stack with the POP
instruction, and it is incremented by two when data is popped from the Stack with return
from subroutine RET or return from interrupt RETI.
Reset and Interrupt
Handling
The ATmega163 provides 17 different interrupt sources. These interrupts and the sepa-
rate Reset Vector, each have a separate Program Vector in the Program Memory
space. All interrupts are assigned individual enable bits which must be set (one)
together with the I-bit in the Status Register in order to enable the interrupt.
The lowest addresses in the Program Memory space are automatically defined as the
Reset and Interrupt Vectors. The complete list of vectors is shown in Table 3. The list
also determines the priority levels of the different interrupts. The lower the address the
higher is the priority level. RESET has the highest priority, and next is INT0 – the Exter-
nal Interrupt Request 0, etc.
Bit
15
1413
1211
10
9
8
$3E ($5E)
SP10
SP9
SP8
SPH
$3D ($5D)
SP7
SP6
SP5
SP4
SP3
SP2
SP1
SP0
SPL
7
6
5
432
10
Read/Write
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
00
000
00
0
0
0
000
00
Table 3. Reset and Interrupt Vectors
Vector No.
Program
Address
Source
Interrupt Definition
1
$000
(1)
RESET
External Pin, Power-on Reset, Brown-out
Reset and Watchdog Reset
2
$002
INT0
External Interrupt Request 0
3
$004
INT1
External Interrupt Request 1
4
$006
TIMER2 COMP
Timer/Counter2 Compare Match
5
$008
TIMER2 OVF
Timer/Counter2 Overflow
6
$00A
TIMER1 CAPT
Timer/Counter1 Capture Event
7
$00C
TIMER1 COMPA
Timer/Counter1 Compare Match A
8
$00E
TIMER1 COMPB
Timer/Counter1 Compare Match B
9
$010
TIMER1 OVF
Timer/Counter1 Overflow
10
$012
TIMER0 OVF
Timer/Counter0 Overflow
11
$014
SPI, STC
Serial Transfer Complete
12
$016
UART, RXC
UART, Rx Complete


Similar Part No. - ATMEGA163

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATmega163 ATMEL-ATmega163 Datasheet
2Mb / 61P
   AVR Studio Compatible
Rev. 1925C-AVR-3/03
ATMEGA163 ATMEL-ATMEGA163_14 Datasheet
2Mb / 187P
   Nonvolatile Program and Data Memories
More results

Similar Description - ATMEGA163

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATMEGA16A ATMEL-ATMEGA16A Datasheet
426Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V_091 ATMEL-ATMEGA165V_091 Datasheet
342Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA169V ATMEL-ATMEGA169V_06 Datasheet
297Kb / 26P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P ATMEL-ATMEGA165P_08 Datasheet
363Kb / 20P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA16 ATMEL-ATMEGA16_06 Datasheet
320Kb / 24P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V ATMEL-ATMEGA165V_06 Datasheet
241Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA162V ATMEL-ATMEGA162V_07 Datasheet
2Mb / 325P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V_0608 ATMEL-ATMEGA165V_0608 Datasheet
3Mb / 337P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P_0611 ATMEL-ATMEGA165P_0611 Datasheet
3Mb / 368P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA169P ATMEL-ATMEGA169P_1 Datasheet
4Mb / 393P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA162 ATMEL-ATMEGA162_1 Datasheet
5Mb / 324P
   8-bit Microcontroller with 16K 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 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




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

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   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