Rainbow-electronics ATmega162V Manuale Utente Pagina 8

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 323
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 7
8
ATmega162/V
2513E–AVR–09/03
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 Pro-
gram 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 con-
stant and a register. Single register operations can also be executed in the ALU. After
an arithmetic operation, 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 format. Every program memory address contains a 16- 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 position. The lower the Interrupt Vector address, the higher the priority.
The I/O memory space contains 64 addresses for CPU peripheral functions as Control
Registers, 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.
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-func-
tions. Some implementations of the architecture also provide a powerful multiplier
supporting both signed/unsigned multiplication and fractional format. See the “Instruc-
tion Set” section for a detailed description.
Status Register The Status Register contains information about the result of the most recently executed
arithmetic instruction. This information can be used for altering program flow in order to
perform conditional operations. Note that the Status Register is updated after all ALU
operations, as specified in the Instruction Set Reference. This will in many cases
remove the need for using the dedicated compare instructions, resulting in faster and
more compact code.
The Status Register is not automatically stored when entering an interrupt routine and
restored when returning from an interrupt. This must be handled by software.
Vedere la pagina 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 322 323

Commenti su questo manuale

Nessun commento

Electrolux ESL66075R Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Nein Electrolux ESL66075R.
Wir stellen 1 PDF-Handbücher Electrolux ESL66075R zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Nein Electrolux

Modelle Dokumententyp
EW1232I Bedienungsanleitung   Electrolux EW1232I Manuali i perdoruesit, 25 Seiten
LAP16 Infoblatt   Electrolux LAP16 Information Sheet [fr] , 2 Seiten
ERB4045 Bedienungsanleitung Electrolux ERB4045 User Manual, 16 Seiten
EOB8851AAX Bedienungsanleitung   Electrolux EOB8851AAX Manual de utilizare, 28 Seiten
ESF6280 Bedienungsanleitung   Electrolux ESF6280 User Manual, 20 Seiten
WA3210 Bedienungsanleitung   ELECTROLUX LOISIRS WA3210 Manuel utilisateur, 9 Seiten
EWF8040W Bedienungsanleitung   Electrolux EWF8040W Ръководство за употреба, 23 Seiten
ESF45011 Bedienungsanleitung   Electrolux ESF45011 Руководство пользователя [sv] , 44 Seiten
EDC77570W Bedienungsanleitung   Electrolux EDC77570W Kullanım kılavuzu, 32 Seiten
EDC77550W Bedienungsanleitung   Electrolux EDC77550W Ohjekirja, 57 Seiten
WD42A96160 Bedienungsanleitung Electrolux WD42A96160 Brugermanual, 64 Seiten
EKK6050AOW Bedienungsanleitung Electrolux EKK6050AOW User Manual, 36 Seiten
ESI66010K Bedienungsanleitung   Electrolux ESI66010K Használati utasítás, 24 Seiten
EW1075F Bedienungsanleitung   Electrolux EW1075F Lietotāja rokasgrāmata [fr] , 21 Seiten
LAI1470E Bedienungsanleitung   Electrolux LAI1470E Manuale utente, 40 Seiten
EFT600/2 Bedienungsanleitung     Electrolux EFT600/2 User Manual [de] [en] [et] [fr] [nl] , 36 Seiten
EKC5611X Bedienungsanleitung    Electrolux EKC5611X User Manual [de] , 22 Seiten
EBSL7EEV Bedienungsanleitung   Electrolux EBSL7EEV Manuel utilisateur [ro] , 32 Seiten
RH430LD Bedienungsanleitung   Electrolux RH430LD Benutzerhandbuch, 16 Seiten
ESF6250X Bedienungsanleitung    Electrolux ESF6250X Ohjekirja [en] , 44 Seiten