
Rev. 1.40
122
March 29, 2019
Rev. 1.40
123
March 29, 2019
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
Interrupt Priority
Interrupts, occurring in the interval between the rising edges of two consecutive T2 pulses, will be
serviced on the latter of the two T2 pulses, if the corresponding interrupts are enabled. In case of
simultaneous requests, the following table shows the priority that is applied.
Interrupt Source
Priority
Vector
External interrupt 0
1
04H
External interrupt 1
2
08H
Timer/Event Counter 0 overflow
3
0CH
Timer/Event Counter 1 overflow
4
10H
SPI/I
2
C interrupt
5
14H
Multi-function Interrupt
6
18H
The A/D converter interrupt, Time Base interrupt, External Peripheral interrupt, Comparator
interrupt, EEPROM interrupt, and LVD interrupt all share the same interrupt vector which is 18H.
Each of these interrupts has their own individual interrupt flag but also share the same MFF interrupt
flag.
The MFF flag will be cleared by hardware once the Multi-function interrupt is serviced, however the
individual interrupts that have triggered the Multi-function interrupt need to be cleared by the
application program.
INTC0 Register
Bit
7
6
5
4
3
2
1
0
Name
—
T0F
EIF1
EIF0
ET0I
EEI1
EEI0
EMI
R/W
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
0
0
0
0
0
0
0
Bit 7
unimplemented, read as “0”
Bit 6
T0F
: Timer/Event Counter 0 interrupt request flag
0: inactive
1: active
Bit 5
EIF1
: External interrupt 1 request flag
0: inactive
1: active
Bit 4
EIF0
: External interrupt 0 request flag
0: inactive
1: active
Bit 3
ET0I
: Timer/Event Counter 0 interrupt enable
0: disable
1: enable
Bit 2
EEI1
: External interrupt 1 enable
0: disable
1: enable
Bit 1
EEI0
: External interrupt 0 enable
0: disable
1: enable
Bit 0
EMI
: Master interrupt global enable
0: disable
1: enable