Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

HT48R065G View Datasheet(PDF) - Holtek Semiconductor

Part Name
Description
MFG CO.
HT48R065G
Holtek
Holtek Semiconductor Holtek
'HT48R065G' PDF : 126 Pages View PDF
HT48R064G/065G/066G/0662G
Enhanced I/O Type 8-Bit OTP MCU with OPA
Interrupts
Interrupts are an important part of any microcontroller system. When an external event or an internal
function such as a Timer/Event Counter or Time Base requires microcontroller attention, their
corresponding interrupt will enforce a temporary suspension of the main program allowing the
microcontroller to direct attention to their respective needs.
The devices contain a single external interrupt and multiple internal interrupts. The external interrupt
is controlled by the action of the external interrupt pin, while the internal interrupts are controlled by
the various functions such as Timer/Event Counters and Time Base overflow, etc.
Interrupt Register
Overall interrupt control, which means interrupt enabling and request flag setting, is controlled by
using the registers, INTC0 and INTC1. By controlling the appropriate enable bits in the registers each
individual interrupt can be enabled or disabled. Also when an interrupt occurs, the corresponding
request flag will be set by the microcontroller. The global enable control bit if cleared to zero will
disable all interrupts.
INTC0 Register - HT48R064G
Bit
7
Name
¾
R/W
¾
POR
¾
6
5
4
3
¾
T0F
INTF
¾
¾
R/W
R/W
¾
¾
0
0
¾
Bit 7~6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
unimplemented, read as ²0²
T0F: Timer/Event Counter 0 interrupt request flag
0: inactive
1: active
INTF: External interrupt request flag
0: inactive
1: active
unimplemented, read as ²0²
T0E: Timer/Event Counter 0 interrupt enable
0: disable
1: enable
INTE: external interrupt enable
0: disable
1: enable
EMI: Master interrupt global enable
0: disable
1: enable
2
1
0
T0E
INTE
EMI
R/W
R/W
R/W
0
0
0
Rev. 1.10
83
October 23, 2012
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]