English
Language : 

HT68F20_11 Datasheet, PDF (33/244 Pages) Holtek Semiconductor Inc – Enhanced I/O Flash Type MCU with EEPROM
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Bank Pointer - BP
Depending upon which device is used, the Program and
Data Memory are divided into several banks. Selecting
the required Program and Data Memory area is
achieved using the Bank Pointer. Bit 5 of the Bank
Pointer is used to select Program Memory Bank 0 or 1,
while bits 0~2 are used to select Data Memory Banks
0~4.
The Data Memory is initialised to Bank 0 after a reset,
except for a WDT time-out reset in the Power Down
Mode, in which case, the Data Memory bank remains
unaffected. It should be noted that the Special Function
Data Memory is not affected by the bank selection,
which means that the Special Function Registers can be
accessed from within any bank. Directly addressing the
Data Memory will always result in Bank 0 being ac-
cessed irrespective of the value of the Bank Pointer. Ac-
cessing data from banks other than Bank 0 must be
implemented using Indirect addressing.
As both the Program Memory and Data Memory share
the same Bank Pointer Register, care must be taken
during programming.
Device
7
HT68F20
HT68F40
¾
HT68F30
HT68F50
¾
HT68F60
¾
· BP Register
¨ HT68F20/HT68F40
Bit
7
Name
¾
R/W
¾
POR
¾
Bit
6
5
4
3
¾
¾
¾
¾
¾
¾
¾
¾
¾
PMBP0
¾
¾
BP Registers List
6
5
4
3
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
Bit 7 ~ 1
Bit 0
Unimplemented, read as ²0²
DMBP0: Select Data Memory Banks
0: Bank 0
1: Bank 1
¨ HT68F30/HT68F50
Bit
7
6
5
4
3
Name
¾
¾
¾
¾
¾
R/W
¾
¾
¾
¾
¾
POR
¾
¾
¾
¾
¾
Bit 7 ~ 2
Bit 1 ~ 0
Unimplemented, read as ²0²
DMBP1, DMBP0: Select Data Memory Banks
00: Bank 0
01: Bank 1
10: Bank 2
11: Undefined
2
1
0
¾
¾
DMBP0
¾
DMBP2
DMBP1
DMBP1
DMBP0
DMBP0
2
1
0
¾
¾
DMBP0
¾
¾
R/W
¾
¾
0
2
1
0
¾
DMBP1 DMBP0
¾
R/W
R/W
¾
0
0
Rev. 1.50
33
March 15, 2011