HT48R063B/064B/065B/066B
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 applica-
tions which may be useful during debug or for products
requiring frequent upgrades or program changes.
Special Vectors
Within the Program Memory, certain locations are re-
served for special usage such as reset and interrupts.
·
·
Reset Vector
This vector is reserved for use by the device reset for
program initialisation. After a device reset is initiated, the
program will jump to this location and begin execution.
External interrupt vector
Structure
This vector is used by the external interrupt. If the ex-
ternal interrupt pin on the device receives an edge
transition, the program will jump to this location and
begin execution if the external interrupt is enabled and
the stack is not full. The external interrupt active edge
transition type, whether high to low, low to high or both
is specified in the CTRL1 register.
The Program Memory has a capacity of 1K´14 to
4K´16. The Program Memory is addressed by the Pro-
gram 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.
·
·
Timer/Event 0/1 counter interrupt vector
This internal vector is used by the Timer/Event Coun-
ters. If a Timer/Event Counter overflow occurs, the
program will jump to its respective location and begin
execution if the associated Timer/Event Counter inter-
rupt is enabled and the stack is not full.
Device
HT48R063B
Capacity
1K´14
HT48R064B
HT48R065B
HT48R066B
2K´15
4K´15
Time base interrupt vector
This internal vector is used by the internal Time Base.
If a Time Base overflow occurs, the program will jump
to this location and begin execution if the Time Base
counter interrupt is enabled and the stack is not full.
H
H
T
4
8
R
0
6
3
B
T
4
8
R
0
6
4
B
H
T
4
8
R
0
6
5
B
H
T
4
8
R
0
6
6
B
0
0
0
0
4
8
H
H
H
R
e
s
e
t
R
e
s
e
t
R
e
s
e
t
E
x
t
e
r
n
a
l
E
x
t
e
r
n
a
l
E
x
t
e
r
n
a
l
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
T
i
m
e
r
0
T
i
m
e
r
0
T
i
m
e
r
0
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
T
i
m
e
r
1
T
i
m
e
B
a
s
e
T
i
m
e
B
a
s
e
0
C
H
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
I
n
t
e
r
r
u
p
t
T
i
m
e
B
a
s
e
1
1
1
0
4
8
H
H
H
I
n
t
e
r
r
u
p
t
1
4
b
i
t
s
3
F
F
H
1
5
b
i
t
s
7
F
F
H
1
5
b
i
t
s
F
F
F
H
Program Memory Structure
Rev. 1.00
17
April 7, 2011