BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 144
BS85B12-3
Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
1.BS85B12-3.pdf
(182 pages)
- Current page: 144 of 182
- Download datasheet (3Mb)
Rev. 1.00
External Peripheral Interrupt
LVD Interrupt
TM Interrupts
The External Peripheral Interrupt operates in a similar way to the external interrupt and is contained
within the Multi-function Interrupt. A Peripheral Interrupt request will take place when the External
Peripheral Interrupt request flag, XPF, is set, which occurs when a negative edge transition appears on
the PINT pin. To allow the program to branch to its respective interrupt vector address, the global
interrupt enable bit, EMI, external peripheral interrupt enable bit, XPE, and associated Multi-function
interrupt enable bit, must first be set. When the interrupt is enabled, the stack is not full and a negative
transition appears on the External Peripheral Interrupt pin, a subroutine call to the respective
Multi-function Interrupt, will take place. When the External Peripheral Interrupt is serviced, the EMI
bit will be automatically cleared to disable other interrupts, however only the Multi-function interrupt
request flag will be also automatically cleared.
As the XPF flag will not be automatically cleared, it has to be cleared by the application program. The
external peripheral interrupt pin is pin-shared with several other pins with different functions. It must
therefore be properly configured to enable it to operate as an External Peripheral Interrupt pin.
The Low Voltage Detector Interrupt is contained within the Multi-function Interrupt. An LVD
Interrupt request will take place when the LVD Interrupt request flag, LVF, is set, which occurs when
the Low Voltage Detector function detects a low power supply voltage. To allow the program to branch
to its respective interrupt vector address, the global interrupt enable bit, EMI, Low Voltage Interrupt
enable bit, LVE, and associated Multi-function interrupt enable bit, must first be set. When the
interrupt is enabled, the stack is not full and a low voltage condition occurs, a subroutine call to the
Multi-function Interrupt vector, will take place. When the Low Voltage Interrupt is serviced, the EMI
bit will be automatically cleared to disable other interrupts, however only the Multi-function interrupt
request flag will be also automatically cleared. As the LVF flag will not be automatically cleared, it has
to be cleared by the application program.
The Compact and Standard Type TMs have two interrupts each, while the Enhanced Type TM has
three interrupts. All of the TM interrupts are contained within the Multi-function Interrupts. For each
of the Compact and Standard Type TMs there are two interrupt request flags TnPF and TnAF and two
enable bits TnPE and TnAE. For the Enhanced Type TM there are three interrupt request flags TnPF,
TnAF and TnBF and three enable bits TnPE, TnAE and TnBE. A TM interrupt request will take place
when any of the TM request flags are set, a situation which occurs when a TM comparator P, A or B
match situation happens.
To allow the program to branch to its respective interrupt vector address, the global interrupt enable
bit, EMI, respective TM Interrupt enable bit, and relevant Multi-function Interrupt enable bit, MFnE,
must first be set. When the interrupt is enabled, the stack is not full and a TM comparator match
situation occurs, a subroutine call to the relevant Multi-function Interrupt vector locations, will take
place. When the TM interrupt is serviced, the EMI bit will be automatically cleared to disable other
interrupts, however only the related MFnF flag will be automatically cleared. As the TM interrupt
request flags will not be automatically cleared, they have to be cleared by the application program.
Touch Key Flash MCU with LCD/LED Driver
138
BS85B12-3/BS85C20-3
February 1, 2011
Related parts for BS85B12-3
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Super I/O Controller
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Infrared Remote Encoder
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Multi-Purpose Encoders
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
CMOS 32Kx8 Low Power SRAM
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
LOTTO FLASH DRIVER
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Q-Voice
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Flash Type Voice OTP MCU
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
RAM Mapping 64 x16 LCD Controller for I/O C
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
Part Number:
Description:
1/4 to 1/11 Duty VFD Controller
Manufacturer:
Holtek Semiconductor Inc
Datasheet: