datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

HTG12B0 Просмотр технического описания (PDF) - Holtek Semiconductor

Номер в каталоге
Компоненты Описание
Список матч
HTG12B0
Holtek
Holtek Semiconductor Holtek
HTG12B0 Datasheet PDF : 33 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HTG12B0
A.C. Characteristics
Ta=25°C
Symbol
Parameter
fSYS
tCY
fTIMER
tRES
fSOUND
System Clock
Cycle Time
Timer I/P Frequency
(TMCLK)
Reset Pulse Width
Sound Effect Clock
Test Conditions
VDD Conditions
3V R=620kW~51kW
3V fSYS=1MHz
3V
¾
¾
¾
¾
¾
Min.
Typ. Max. Unit
128
¾
1000 kHz
¾
4
¾
ms
0
¾
1000 kHz
5
¾
¾ ms
¾ *64 or 128 ¾ kHz
*: Only these two clocking signal frequencies are supported by the Holtek sound library.
Functional Description
Program counter - PC
This counter addresses the program ROM and
is arranged as a 12-bit binary counter from PC0
to PC11 whose contents specify a maximum of 4096
addresses. The program counter counts with an
increment of 1 or 2 with each execution of an instruc-
tion.
When executing the jump instruction (JMP,
JNZ, JC, JTMR,...), a subroutine call, initial re-
set, internal interrupt, RTC interrupt or re-
turning from a subroutine, the program
counter is loaded with the corresponding in-
struction data as shown in the table.
Note: P0~P11: Instruction code
@: PC11 keeps current value
S0~S11: Stack register bits
ROMB0 and ROMB1 are set to 0 at
power on reset.
Program memory - ROM
The program memory is the executable memory
and is arranged in a 4096´8-bit format. There
are four banks for program memory in
HTG12B0, each bank shown in the figure can be
switched by assigning ROMB0 and ROMB1 (bit0
and bit1 of ROMB). ROMB is the ROM bank
pointer and can be written only by executing
²MOV ROMB, A² instruction. Bit 2 and bit 3 of
ROMB are unused bits. The address is specified
by the program counter (PC). Four special loca-
tions are reserved as described next.
· Location 000H: (Bank 0)
Activating the processor RES pin causes the
first instruction to be fetched from location 0.
000H
R e s e t in itia l p r o g r a m
004H
T im e r in te r r u p t s u b r o u tin e
008H
R T C in te r r u p t s u b r o u tin e
00B H
P a g e N lo o k - u p ta b le
P ro g ra m
ROM
B ank 0
F00H
P a g e F lo o k - u p ta b le ( 2 5 6 b y te s )
FFFH
8 b its
Program memory ROMB=XX00B
000H
004H
T im e r in te r r u p t s u b r o u tin e
008H
R T C in te r r u p t s u b r o u tin e
00B H
P a g e N lo o k - u p ta b le
P ro g ra m
ROM
B ank 1
F00H
P a g e F lo o k - u p ta b le ( 2 5 6 b y te s )
FFFH
8 b its
Program memory ROMB=XX01B
7
September 8, 1999

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]