Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATMEGA165P Datasheet(PDF) 10 Page - ATMEL Corporation

Part # ATMEGA165P
Description  High Performance, Low Power Atmel
Download  364 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA165P Datasheet(HTML) 10 Page - ATMEL Corporation

Back Button ATMEGA165P_14 Datasheet HTML 6Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 7Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 8Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 9Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 10Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 11Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 12Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 13Page - ATMEL Corporation ATMEGA165P_14 Datasheet HTML 14Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 364 page
background image
10
8019K–AVR–11/10
ATmega165P
Six of the 32 registers can be used as three 16-bit indirect address register pointers for Data
Space addressing – enabling efficient address calculations. One of the these address pointers
can also be used as an address pointer for look up tables in Flash program memory. These
added function registers are the 16-bit X-, Y-, and Z-register, described later in this section.
The ALU supports arithmetic and logic operations between registers or between a constant and
a register. Single register operations can also be executed in the ALU. After an arithmetic opera-
tion, the Status Register is updated to reflect information about the result of the operation.
Program flow is provided by conditional and unconditional jump and call instructions, able to
directly address the whole address space. Most AVR instructions have a single 16-bit word for-
mat. Every program memory address contains a 16-bit or 32-bit instruction.
Program Flash memory space is divided in two sections, the Boot Program section and the
Application Program section. Both sections have dedicated Lock bits for write and read/write
protection. The SPM instruction that writes into the Application Flash memory section must
reside in the Boot Program section.
During interrupts and subroutine calls, the return address Program Counter (PC) is stored on the
Stack. The Stack is effectively allocated in the general data SRAM, and consequently the Stack
size is only limited by the total SRAM size and the usage of the SRAM. All user programs must
initialize the SP in the Reset routine (before subroutines or interrupts are executed). The Stack
Pointer (SP) is read/write accessible in the I/O space. The data SRAM can easily be accessed
through the five different addressing modes supported in the AVR architecture.
The memory spaces in the AVR architecture are all linear and regular memory maps.
A flexible interrupt module has its control registers in the I/O space with an additional Global
Interrupt Enable bit in the Status Register. All interrupts have a separate Interrupt Vector in the
Interrupt Vector table. The interrupts have priority in accordance with their Interrupt Vector posi-
tion. The lower the Interrupt Vector address, the higher the priority.
The I/O memory space contains 64 addresses for CPU peripheral functions as Control Regis-
ters, SPI, and other I/O functions. The I/O Memory can be accessed directly, or as the Data
Space locations following those of the Register File, 0x20 - 0x5F. In addition, the ATmega165P
has Extended I/O space from 0x60 - 0xFF in SRAM where only the ST/STS/STD and
LD/LDS/LDD instructions can be used.
5.2
ALU – Arithmetic Logic Unit
The high-performance AVR ALU operates in direct connection with all the 32 general purpose
working registers. Within a single clock cycle, arithmetic operations between general purpose
registers or between a register and an immediate are executed. The ALU operations are divided
into three main categories – arithmetic, logical, and bit-functions. Some implementations of the
architecture also provide a powerful multiplier supporting both signed/unsigned multiplication
and fractional format. See the “Instruction Set” section for a detailed description.
5.3
Stack Pointer
The Stack is mainly used for storing temporary data, for storing local variables and for storing
return addresses after interrupts and subroutine calls. The Stack Pointer Register always points
to the top of the Stack. Note that the Stack is implemented as growing from higher memory loca-
tions to lower memory locations. This implies that a Stack PUSH command decreases the Stack
Pointer.


Similar Part No. - ATMEGA165P_14

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATMEGA165P-16AU ATMEL-ATMEGA165P-16AU Datasheet
3Mb / 365P
   8-bit AVR Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P-16AU ATMEL-ATMEGA165P-16AU Datasheet
274Kb / 21P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P-16AU ATMEL-ATMEGA165P-16AU Datasheet
363Kb / 20P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P-16MU ATMEL-ATMEGA165P-16MU Datasheet
3Mb / 365P
   8-bit AVR Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P-16MU ATMEL-ATMEGA165P-16MU Datasheet
274Kb / 21P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
More results

Similar Description - ATMEGA165P_14

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT90PWM2B ATMEL-AT90PWM2B_14 Datasheet
501Kb / 25P
   High Performance, Low Power Atmel
ATMEGA32HVB ATMEL-ATMEGA32HVB_14 Datasheet
743Kb / 24P
   High performance, low power Atmel
ATMEGA644V ATMEL-ATMEGA644V_14 Datasheet
746Kb / 376P
   High-performance, Low-power Atmel
ATMEGA329V ATMEL-ATMEGA329V_14 Datasheet
892Kb / 392P
   High Performance, Low Power Atmel
AT90PWM2 ATMEL-AT90PWM2_14 Datasheet
3Mb / 365P
   High Performance, Low Power Atmel
ATMEGA16HVB ATMEL-ATMEGA16HVB_14 Datasheet
5Mb / 278P
   High performance, low power Atmel
ATMEGA164P ATMEL-ATMEGA164P_14 Datasheet
12Mb / 377P
   High-performance, Low-power Atmel
ATMEGA8 ATMEL-ATMEGA8_14 Datasheet
6Mb / 331P
   High-performance, Low-power Atmel
ATMEGA169P ATMEL-ATMEGA169P_14 Datasheet
509Kb / 395P
   High Performance, Low Power Atmel
ATMEGA329P ATMEL-ATMEGA329P_14 Datasheet
734Kb / 427P
   High Performance, Low Power Atmel
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.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