Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT48R02 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc

Part # HT48R02
Description  10-Pin MSOP I/O Type 8-Bit OTP MCU
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT48R02 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc

Back Button HT48R02 Datasheet HTML 7Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 8Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 9Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 10Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 11Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 12Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 13Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 14Page - Holtek Semiconductor Inc HT48R02 Datasheet HTML 15Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 38 page
background image
HT48R01/HT48R02/HT48R03
Rev. 1.00
11
December 20, 2006
The internal timer/event counter interrupt is initialised by
setting the timer/event counter interrupt request flag
(TF; bit 5 of INTC), caused by a timer overflow. When
the interrupt is enabled, the stack is not full and the TF
bit is set, a subroutine call to location 08H will occur. The
related interrupt request flag,TF, will be reset and the
EMI bit cleared to disable further interrupts.
During the execution of an interrupt subroutine, other in-
terrupt acknowledgments are held until the
²RETI²
instruction is executed or the EMI bit and the related in-
terrupt control bit are set to 1 (of course, if the stack is
not full). To return from the interrupt subroutine,
²RET²
or
²RETI² may be invoked. RETI will set the EMI bit to en-
able an interrupt service, but RET will not.
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 inter-
rupts are enabled. In the case of simultaneous requests
the following table shows the priority that is applied.
These can be masked by resetting the EMI bit.
Interrupt Source
Priority
Vector
External Interrupt
1
04H
Timer/Event Counter 0 Overflow
2
08H
Interrupt Subroutine Vector for HT48R01
Interrupt Source
Priority
Vector
External Interrupt
1
04H
Timer/Event Counter 0 Overflow
2
08H
Timer/Event Counter 1 Overflow
3
0CH
Interrupt Subroutine Vector for HT48R02/HT48R03
Once the interrupt request flags (T0F/ T1F, EIF) are set,
they will remain in the INTC register until the interrupts
are serviced or cleared by a software instruction. It is
recommended that a program does not use the
²CALL
subroutine
² within the interrupt subroutine. Interrupts
often occur in an unpredictable manner or need to be
serviced immediately in some applications. If only one
stack is left and enabling the interrupt is not well con-
trolled, the original control sequence will be damaged
once the
²CALL² operates in the interrupt subroutine.
Oscillator Configuration
There are 4 different oscillator modes implemented in
the microcontroller, which are selected by configuration
options. All of them are designed for system clocks,
namely the external RC oscillator (ERC), external crys-
tal oscillator (ECRY), internal RC oscillator with I/O(IRC)
and internal RC oscillator with RTC OSC (IRC+RTC).
No matter what oscillator type is selected, the signal
provides the system clock. The Power-down mode
stops the system oscillator, except for the RTC oscilla-
tor, and resists external signals to conserve power.
Bit No.
Label
Function
0
EMI
Controls the master (global) interrupt (1= enabled; 0= disabled)
1
EEI
Controls the external interrupt (1= enabled; 0= disabled)
2
ET0I
Controls the timer/event counter 0 interrupt (1= enabled; 0= disabled)
3, 6~7
¾
Unused bit, read as
²0²
4
EIF
External interrupt request flag (1= active; 0= inactive)
5
T0F
Internal timer/event counter 0 request flag (1= active; 0= inactive)
INTC 0 (0BH) Register for HT48R01
Bit No.
Label
Function
0
EMI
Controls the master (global) interrupt (1= enabled; 0= disabled)
1
EEI
Controls the external interrupt (1= enabled; 0= disabled)
2
ET0I
Controls the timer/event counter 0 interrupt (1= enabled; 0= disabled)
3
ET1I
Controls the timer/event counter 1 interrupt (1= enabled; 0= disabled)
4
EIF
External interrupt request flag (1= active; 0= inactive)
5
T0F
Internal timer/event counter 0 request flag (1= active; 0= inactive)
5
T1F
Internal timer/event counter 1 request flag (1= active; 0= inactive)
7
¾
Unused bit, read as
²0²
INTC 0 (0BH) Register for HT48R02/HT48R03



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com