Electronic Components Datasheet Search
  English  ▼

X  

HT46R48 Datasheet(PDF) 10 Page - Holtek Semiconductor Inc

Part # HT46R48
Description  Cost-Effective A/D Type 8-Bit OTP MCU
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R48 Datasheet(HTML) 10 Page - Holtek Semiconductor Inc

Back Button HT46R48 Datasheet HTML 6Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 11Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 13Page - Holtek Semiconductor Inc HT46R48 Datasheet HTML 14Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 42 page
background image
HT46R48
Rev. 1.10
10
March 24, 2006
During the execution of an interrupt subroutine, other in-
terrupt acknowledgments are held until the RETI in-
struction is executed or the EMI bit and the related
interrupt 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 enable
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
004H
Timer/Event Counter Overflow
2
008H
A/D Converter Interrupt
3
00CH
The timer/event counter interrupt request flag (TF), exter-
nal interrupt request flag (EIF), A/D converter request flag
(ADF), enable timer/event counter bit (ETI), enable exter-
nal interrupt bit (EEI), enable A/D converter interrupt bit
(EADI) and enable master interrupt bit (EMI) constitute
an interrupt control register (INTC) which is located at
0BH in the data memory. EMI, EEI, ETI, EADI are used to
control the enabling/disabling of interrupts. These bits
prevent the requested interrupt from being serviced.
Once the interrupt request flags (TF, EIF, ADF) 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 of-
ten occur in an unpredictable manner or need to be ser-
viced immediately in some applications. If only one stack
is left and enabling the interrupt is not well controlled, the
original control sequence will be damaged once the
²CALL² operates in the interrupt subroutine.
Oscillator Configuration
There are two oscillator circuits in the microcontroller.
Both are designed for system clocks, namely the RC os-
cillator and the crystal oscillator, which are determined
by the options. No matter what oscillator type is se-
lected, the signal provides the system clock. The HALT
mode stops the system oscillator and ignores an exter-
nal signal to conserve power.
If an RC oscillator is used, an external resistor between
OSC1 and VSS is required and the resistance must
range from 24k
W to 1MW. The system clock, divided by
4, is available on OSC2 with pull-high resistor, which
can be used to synchronize external logic. The RC os-
cillator provides the most cost effective solution. How-
ever, the frequency of oscillation may vary with VDD,
temperatures and the chip itself due to process varia-
tions. It is, therefore, not suitable for timing sensitive
operations where an accurate oscillator frequency is
desired.
If the Crystal oscillator is used, a crystal across OSC1
and OSC2 is needed to provide the feedback and phase
shift required for the oscillator, and no other external
components are required. Instead of a crystal, a resona-
tor can also be connected between OSC1 and OSC2 to
get a frequency reference, but two external capacitors in
OSC1 and OSC2 are required (If the oscillating fre-
quency is less than 1MHz).
The WDT oscillator is a free running on-chip RC oscilla-
tor, and no external components are required. Even if
the system enters the power down mode, the system
clock is stopped, but the WDT oscillator still works with a
period of approximately 65
ms at 5V. The WDT oscillator
can be disabled by options 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
ETI
Controls the Timer/Event Counter interrupt (1=enabled; 0=disabled)
3
EADI
Controls the A/D converter interrupt (1=enabled; 0=disabled)
4
EIF
External interrupt request flag (1=active; 0=inactive)
5
TF
Internal Timer/Event Counter request flag (1=active; 0=inactive)
6
ADF
A/D converter request flag (1=active; 0=inactive)
7
¾
For test mode used only.
Must be written as
²0²; otherwise may result in unpredictable operation.
INTC (0BH) Register
C r y s t a l O s c i l l a t o r
R C O s c i l l a t o r
O S C 1
O S C 2
O S C 2
f S Y S / 4
O S C 1
V D D
4 7 0 p F
System Oscillator



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 39 40 41 42


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