欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT46R47(18DIP-A) 参数 Datasheet PDF下载

HT46R47(18DIP-A)图片预览
型号: HT46R47(18DIP-A)
PDF下载: 下载PDF文件 查看货源
内容描述: 模拟IC\n [Analog IC ]
分类和应用: 模拟IC
文件页数/大小: 45 页 / 293 K
品牌: ETC [ ETC ]
 浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第4页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第5页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第6页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第7页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第9页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第10页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第11页浏览型号HT46R47(18DIP-A)的Datasheet PDF文件第12页  
HT46R47
well-defined, the other bits of the table word
are transferred to the lower portion of TBLH,
and the remaining 2 bits are read as "0". The
Table Higher-order byte register (TBLH) is
read only. The table pointer (TBLP) is a
read/write register (07H), which indicates the
table location. Before accessing the table, the
location must be placed in TBLP. The TBLH
is read only and cannot be restored. If the
main routine and the ISR (Interrupt Service
Routine) both employ the table read instruc-
tion, the contents of the TBLH in the main
routine are likely to be changed by the table
read instruction used in the ISR. Errors can
occur. In other words, using the table read in-
struction in the main routine and the ISR si-
multaneously should be avoided. However, if
the table read instruction has to be applied in
both the main routine and the ISR, the inter-
rupt is supposed to be disabled prior to the ta-
ble read instruction. It will not be enabled
until the TBLH has been backed up. All table
related instructions require two cycles to com-
plete the operation. These areas may function
as normal program memory depending upon
the requirements.
Stack register
-
STACK
This is a special part of the memory which is
used to save the contents of the program coun-
ter (PC) only. The stack is organized into 6 lev-
els and is neither part of the data nor part of the
program space, and is neither readable nor
writeable. The activated level is indexed by the
stack pointer (SP) and is neither readable nor
writeable. At a subroutine call or interrupt ac-
knowledgment, the contents of the program
counter are pushed onto the stack. At the end of
Instruction
TABRDC [m]
TABRDL [m]
*10
P10
1
*9
P9
1
*8
P8
1
*7
@7
@7
a subroutine or an interrupt routine, signaled
by a return instruction (RET or RETI), the pro-
gram counter is restored to its previous value
from the stack. After a chip reset, the SP will
point to the top of the stack.
If the stack is full and a non-masked interrupt
takes place, the interrupt request flag will be
recorded but the acknowledgment will be inhib-
ited. When the stack pointer is decremented (by
RET or RETI), the interrupt will be serviced.
This feature prevents stack overflow allowing
the programmer to use the structure more eas-
ily. In a similar case, if the stack is full and a
"CALL" is subsequently executed, stack over-
flow occurs and the first entry will be lost (only
the most recent 6 return addresses are stored).
Data memory
-
RAM
The data memory is designed with 85´8 bits.
The data memory is divided into two func-
tional groups: special function registers and
general purpose data memory (64´8). Most are
read/write, but some are read only.
The special function registers include the indi-
rect addressing register (00H), timer/event
counter (TMR;0DH), timer/event counter con-
trol register (TMRC;0EH), program counter
lower-order byte register (PCL;06H), memory
pointer register (MP;01H), accumulator
(ACC;05H), table pointer (TBLP;07H), table
higher-order byte register (TBLH;08H), status
register (STATUS;0AH), interrupt control reg-
ister (INTC;0BH), PWM data register
(PWM;1AH), the A/D result lower-order byte
register (ADRL;20H), the A/D result
higher-order byte register (ADRH;21H), the
A/D control register (ADCR;22H), the A/D
Table Location
*6
@6
@6
*5
@5
@5
*4
@4
@4
*3
@3
@3
*2
@2
@2
*1
@1
@1
*0
@0
@0
Table location
Note: *10~*0: Table location bits
@7~@0: Table pointer bits
Rev. 1.40
8
July 18, 2001
P10~P8: Current program counter bits