参数资料
型号: MF280C51C-36R
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQFP44
封装: QFP-44
文件页数: 5/28页
文件大小: 6193K
代理商: MF280C51C-36R
13
2467X–AVR–06/11
ATmega128
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.
The Stack Pointer points to the data SRAM stack area where the Subroutine and Interrupt
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 or 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.
The AVR Stack Pointer is implemented as two 8-bit registers in the I/O space. The number of
bits actually used is implementation dependent. Note that the data space in some implementa-
tions of the AVR architecture is so small that only SPL is needed. In this case, the SPH Register
will not be present.
RAM Page Z Select
Register – RAMPZ
Bits 7..1 – Res: Reserved Bits
These are reserved bits and will always read as zero. When writing to this address location,
write these bits to zero for compatibility with future devices.
Bit 0 – RAMPZ0: Extended RAM Page Z-pointer
The RAMPZ Register is normally used to select which 64K RAM Page is accessed by the Z-
pointer. As the ATmega128 does not support more than 64K of SRAM memory, this register is
used only to select which page in the program memory is accessed when the ELPM/SPM
instruction is used. The different settings of the RAMPZ0 bit have the following effects:
Note that LPM is not affected by the RAMPZ setting.
Instruction
Execution Timing
This section describes the general access timing concepts for instruction execution. The AVR
CPU is driven by the CPU clock clk
CPU, directly generated from the selected clock source for the
chip. No internal clock division is used.
Bit
151413
1211
10
9
8
SP15
SP14
SP13
SP12
SP11
SP10
SP9
SP8
SPH
SP7
SP6
SP5
SP4
SP3
SP2
SP1
SP0
SPL
765
432
10
Read/Write
R/W
Initial Value
0
000
00
Bit
7
6
543
2
1
0
––
RAMPZ0
RAMPZ
Read/Write
R
R/W
Initial Value
0
RAMPZ0 = 0:
Program memory address $0000 - $7FFF (lower 64 Kbytes) is
accessed by ELPM/SPM
RAMPZ0 = 1:
Program memory address $8000 - $FFFF (higher 64 Kbytes) is
accessed by ELPM/SPM
相关PDF资料
PDF描述
MQ80C52TXXX-16SC 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
MQ80C52XXX-16P883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
MQ80C32-20SCD 8-BIT, 20 MHz, MICROCONTROLLER, CQFP44
MQ80C52TXXX-20/883D 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQFP44
MD80C32-30P883 8-BIT, 30 MHz, MICROCONTROLLER, CDIP40
相关代理商/技术参数
参数描述
MF283C151C-12 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MF283C151C-16 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MF283C151C-20 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MF283C151C-25 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MF283C151C-30 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller