Rev. 1.10
138
November 04, 2019
Rev. 1.10
139
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger Flash MCU
• MFI
0
Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
CTMAF
CTMPF
—
—
CTMAE
CTMPE
R/W
—
—
R/W
R/W
—
—
R/W
R/W
POR
—
—
0
0
—
—
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5
CTMAF
: CTM Comparator A match interrupt request flag
0: No request
1: Interrupt request
Bit 4
CTMPF
: CTM Comparator P match interrupt request flag
0: No request
1: Interrupt request
Bit 3~2
Unimplemented, read as “0”
Bit 1
CTMAE
: CTM Comparator A match interrupt control
0: Disable
1: Enable
Bit 0
CTMPE
: CTM Comparator P match interrupt control
0: Disable
1: Enable
• MFI1 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
STMAF
STMPF
—
—
STMAE
STMPE
R/W
—
—
R/W
R/W
—
—
R/W
R/W
POR
—
—
0
0
—
—
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5
STMAF
: STM Comparator A match interrupt request flag
0: No request
1: Interrupt request
Bit 4
STMPF
: STM Comparator P match interrupt request flag
0: No request
1: Interrupt request
Bit 3~2
Unimplemented, read as “0”
Bit 1
STMAE
: STM Comparator A match interrupt control
0: Disable
1: Enable
Bit 0
STMPE
: STM Comparator P match interrupt control
0: Disable
1: Enable
Interrupt Operation
When the conditions for an interrupt event occur, such as a TM Comparator P or Comparator A
match or A/D conversion completion etc., the relevant interrupt request flag will be set. Whether
the request flag actually generates a program jump to the relevant interrupt vector is determined by
the condition of the interrupt enable bit. If the enable bit is set high then the program will jump to
its relevant vector; if the enable bit is zero then although the interrupt request flag is set an actual
interrupt will not be generated and the program will not jump to the relevant interrupt vector. The
global interrupt enable bit, if cleared to zero, will disable all interrupts.