Rev. 1.71
108
April 11, 2017
Rev. 1.71
109
April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Function
Enable Bit
Request Flag
Notes
Global
EMI
—
—
INTn Pin
INTnE
INTnF
n=0 or 1
A/D Converter
ADE
ADF
—
Multi-function
MF0E
MF0F
—
Time Base
TBnE
TBnF
n=0 or 1
EEPROM
DEE
DEF
—
TM
PTMAnE
PTMAnF
n=0 or 1
PTMPnE
PTMPnF
Interrupt Register Bit Naming Conventions – HT66F004
Interrupt Register Contents
•
HT66F002/HT66F0025
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
INTEG
—
—
—
—
—
—
INT0S1
INT0S0
INTC0
—
TB1F
TB0F
INTF
TB1E
TB0E
INTE
EMI
INTC1
—
ADF
DEF
MF0F
—
ADE
DEE
MF0E
MFI0
—
—
STMA0F STMP0F
—
—
STMA0E STMP0E
•
HT66F003
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
INTEG
—
—
—
—
—
—
INT0S1
INT0S0
INTC0
—
TB1F
TB0F
INTF
TB1E
TB0E
INTE
EMI
INTC1
MF1F
ADF
DEF
MF0F
MF1E
ADE
DEE
MF0E
MFI0
—
—
STMA0F STMP0F
—
—
STMA0E STMP0E
MFI1
—
—
PTMA1F PTMP1F
—
—
PTMA1E PTMP1E
•
HT66F004
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
INTEG
—
—
—
—
INT1S1
INT1S0
INT0S1
INT0S0
INTC0
—
TB1F
TB0F
INT0F
TB1E
TB0E
INT0E
EMI
INTC1
INT1F
ADF
DEF
MF0F
INT1E
ADE
DEE
MF0E
MFI0
PTMA1F PTMP1F PTMA0F PTMP0F PTMA1E PTMP1E PTMA0E PTMP0E
INTEG Register – HT66F002/HT66F0025/HT66F003
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
—
INT0S1
INT0S0
R/W
—
—
—
—
—
—
R/W
R/W
POR
—
—
—
—
—
—
0
0
B
it 7 ~ 2
Unimplemented, read as "0"
B
it 1 ~ 0
INT0S1, INT0S0
: Defines INT interrupt active edge
00: Disable Interrupt
01: Rising Edge Interrupt
10: Falling Edge Interrupt
11
: Dual Edge Interrupt