HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
Program Memory
The Program Memory is the location where the user code or program is stored. The device is
supplied with One-Time Programmable, OTP, memory where users can program their application
code into the device. By using the appropriate programming tools, OTP devices offer users the
flexibility to freely develop their applications which may be useful during debug or for products
requiring frequent upgrades or program changes.
Structure
The Program Memory has a capacity of 16Kx16/32Kx16. The Program Memory is addressed by
the Program Counter and also contains data, table information and interrupt entries. Table data,
which can be setup in any location within the Program Memory, is addressed by separate table
pointer registers.
Device
Capacity
1ꢄKx1ꢄ
3ꢃKx1ꢄ
Banks
0ꢅ1
HT4ꢄR0ꢄ8B
HT4ꢄR0ꢄ9B
0~3
The devices have their Program Memory divided into a number of banks which are selected using
the Bank Pointer register. The HT46R068B has its Program Memory divided into two Banks, Bank
0 and Bank 1. The required Bank is selected using Bit 5 of the BP Register. The HT46R069B has
its Program Memory divided into four banks, from Bank0 to Bank3. The required Bank is selected
using Bit 5 and Bit 6 of the BP Register.
0
"
6
4
$
$
ꢀ
*
&
6
0
$
"
ꢀ
4
$
'
*
0
0
0
0
4
8
H
H
H
R
s
e
t
e
R
s
e
t
e
E
t
x
r
e
n
a
l
E
t
x
r
e
n
a
l
I
t
n
r
e
u
r
p
t
I
t
n
r
e
u
r
p
t
T
m
i
r
e
0
T
m
i
r
e
0
I
t
n
r
e
u
r
p
t
I
t
n
r
e
u
r
p
t
T
m
i
r
e
1
T
m
i
r
e
1
0
H
C
I
t
n
r
e
u
r
p
t
I
t
n
r
e
u
r
p
t
T
m
i
r
e
2
T
m
i
r
e
2
1
1
1
0
4
8
H
H
H
I
I
I
t
t
t
n
n
n
r
r
r
e
e
e
u
u
u
r
r
r
p
p
p
t
t
t
I
t
n
r
e
u
r
p
t
A
D
/
A
D
/
I
t
n
r
e
u
r
p
t
M
l
u
i
t
f
u
-
n
t
o
i
c
n
M
l
u
i
t
f
u
-
n
t
o
i
c
n
I
t
n
r
e
u
r
p
t
3
F
F
F
H
1
6
b
t
i
s
1
6
b
t
i
s
7
F
F
F
H
Rev. 1.00
14
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011