參數(shù)資料
型號: MC80F0216
廠商: Electronic Theatre Controls, Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 30/128頁
文件大小: 1408K
代理商: MC80F0216
MC80F0208/16/24
Preliminary
26
MAR. 2005 Ver 0.2
8.3 Data Memory
Figure 8-8 shows the internal Data Memory space available. Data
Memory is divided into three groups, a user RAM, control regis-
ters, and Stack memory.
Figure 8-8 Data Memory Map
User Memory
The MC80F0208/16/24 has 1024
×
8 bits for the user memory
(RAM). RAM pages are selected by RPR (See Figure 8-9).
Note:
After setting RPR(RAM Page Select Register), be
sure to execute SETG instruction. When executing CLRG
instruction, be selected PAGE0 regardless of RPR.
Control Registers
The control registers are used by the CPU and Peripheral function
blocks for controlling the desired operation of the device. There-
fore these registers contain control and status bits for the interrupt
system, the timer/ counters, analog to digital converters and I/O
ports. The control registers are in address range of 0C0
H
to 0FF
H
.
Note that unoccupied addresses may not be implemented on the
chip. Read accesses to these addresses will in general return ran-
dom data, and write accesses will have an indeterminate effect.
More detailed informations of each register are explained in each
peripheral section.
Note:
Write only registers can not be accessed by bit ma-
nipulation instruction. Do not use read-modify-write instruc-
tion. Use byte manipulation instruction, for example “LDM”.
Example; To write at CKCTLR
LDM
CLCTLR,#0AH
;Divide ratio(
÷
32)
Stack Area
The stack provides the area where the return address is saved be-
fore a jump is performed during the processing routine at the ex-
ecution of a subroutine call instruction or the acceptance of an
interrupt.
When returning from the processing routine, executing the sub-
routine return instruction [RET] restores the contents of the pro-
gram counter from the stack; executing the interrupt return
instruction [RETI] restores the contents of the program counter
and flags.
The save/restore locations in the stack are determined by the
stack pointed (SP). The SP is automatically decreased after the
saving, and increased before the restoring. This means the value
of the SP indicates the stack location number for the next save.
Refer to Figure 8-4 on page 22.
Figure 8-9 RPR(RAM Page Select Register)
User Memory
(192Bytes)
Control
Registers
0000
H
00BF
H
00C0
H
00FF
H
0100
H
PAGE0
PAGE1
(When “G-flag=0”,
this page0 is selected)
or Stack Area
(256Bytes)
User Memory
User Memory
(256Bytes)
User Memory
(256Bytes)
User Memory
(64Bytes)
PAGE2
PAGE3
01FF
H
0200
H
02FF
H
0300
H
03FF
H
0400
H
043F
H
0440
H
03BF
H
03C0
H
04FF
H
PAGE4
Not Used
System clock source select
000 : PAGE0
001 : PAGE1
010 : PAGE2
011 : PAGE3
100 : PAGE4
INITIAL VALUE: ---- -000
B
ADDRESS: 0E1
H
RPR
-
-
7
-
6
-
5
-
4
-
3
2
1
0
R/W
R/W
R/W
RPR2
RPR1 RPR0
相關(guān)PDF資料
PDF描述
MC80F0216K 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224K 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC80F0216K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS