English
Language : 

BH67F2470 Datasheet, PDF (188/240 Pages) Holtek Semiconductor Inc – Glucose Meter Flash MCU with LCD
BH67F2470
Glucose Meter Flash MCU with LCD
becoming full. In case of simultaneous requests, the accompanying diagram shows the priority that
is applied. All of the interrupt request flags when set will wake-up the device if it is in SLEEP or
IDLE Mode, however to prevent a wake-up from occurring the corresponding flag should be set
before the device is in SLEEP or IDLE Mode.
Legend
xxF Request Flag, no auto reset in ISR
xxF Request Flag, auto reset in ISR
xxE Enable Bits
Interrupt
Name
INT0 Pin
EMI auto disabled in ISR
Request
Flags
INT0F
Enable
Bits
INT0E
Master
Enable
EMI
Vector
04H
Priority
High
Interrupt
Name
STM P
STM A
PTM0 P
PTM0 A
Request
Flags
STMPF
STMAF
PTM0PF
PTM0AF
PTM1 P
PTM1 A
PTM2 P
PTM2 A
PTM1PF
PTM1AF
PTM2PF
PTM2AF
Enable
Bits
STMPE
STMAE
PTM0PE
PTM0AE
PTM1PE
PTM1AE
PTM2PE
PTM2AE
LVD
EEPROM
LVF
DEE
LVE
DEF
Interrupts contained within
Multi-Function Interrupts
INT1 Pin
INT1F
A/D Converter ADF
M. Funct. 0
MF0F
M. Funct. 1
MF1F
M. Funct. 2
MF2F
OVP
OVPF
Time Base 0
TB0F
Time Base 1 TB1F
UART0
UR0F
INT1E
ADE
MF0E
MF1E
MF2E
OVPE
TB0E
TB1E
UR0E
EMI
08H
EMI
OCH
EMI
10H
EMI
14H
EMI
18H
EMI
1CH
EMI
20H
EMI
24H
EMI
28H
SIM
SIMF
SIME
EMI
2CH
SPIA
SPIAF
SPIAE
EMI
30H
UART1
UR1F
Interrupt Structure
UR1E
EMI
34H
Low
External Interrupts
The external interrupts are controlled by signal transitions on the pins INT0~INT1. An external
interrupt request will take place when the external interrupt request flags, INT0F~INT1F, are set,
which will occur when a transition, whose type is chosen by the edge select bits, appears on the
external interrupt pins. To allow the program to branch to its respective interrupt vector address,
the global interrupt enable bit, EMI, and respective external interrupt enable bit, INT0E~INT1E,
must first be set. Additionally the correct interrupt edge type must be selected using the INTEG
register to enable the external interrupt function and to choose the trigger edge type. As the external
interrupt pins are pin-shared with I/O pins, they can only be configured as external interrupt pins if
their external interrupt enable bit in the corresponding interrupt register has been set and the external
interrupt pin is selected by the corresponding pin-shared function selection bits. The pin must also
be setup as an input by setting the corresponding bit in the port control register.
Rev. 1.00
188
March 15, 2017