Electronic Components Datasheet Search
  English  ▼

X  

HT48R53 Datasheet(PDF) 10 Page - Holtek Semiconductor Inc

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

HT48R53 Datasheet(HTML) 10 Page - Holtek Semiconductor Inc

Back Button HT48R53 Datasheet HTML 6Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 7Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 8Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 9Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 10Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 11Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 12Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 13Page - Holtek Semiconductor Inc HT48R53 Datasheet HTML 14Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 35 page
background image
HT48R52/HT48R53
Rev. 1.20
10
December 6, 2005
rupt requires servicing within the service routine, the
EMI bit and the corresponding bit of the INTC may be set
to allow interrupt nesting. If the stack is full, the interrupt
request will not be acknowledged, even if the related in-
terrupt is enabled, until the SP is decremented. If immedi-
ate service is desired, the stack must be prevented from
becoming full.
All these kinds of interrupts have a wake-up capability.
As an interrupt is serviced, a control transfer occurs by
pushing the program counter onto the stack, followed by
a branch to a subroutine at specified location in the pro-
gram memory. Only the program counter is pushed onto
the stack. If the contents of the register or status register
(Status) are altered by the interrupt service program
which corrupts the desired control sequence, the con-
tents should be saved in advance.
External interrupts are triggered by a high to low transi-
tion of the INT and the related interrupt request flag (EIF;
bit 4 of the INTC) will be set. When the interrupt is en-
abled, the stack is not full and the external interrupt is
active, a subroutine call to location 04H will occur. The
interrupt request flag (EIF) and EMI bits will be cleared
to disable other interrupts.
The internal timer/event counter interrupt is initialized by
setting the timer/event counter interrupt request flag
(TF; bit 5 of the 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 oc-
cur. 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 acknowledge signals are held until the
²RETI² in-
struction is executed or the EMI bit and the related
interrupt control bit are set to 1 (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 in-
terrupt 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 Overflow
2
08H
The timer/event counter interrupt request flag (TF), ex-
ternal interrupt request flag (EIF), enable timer/event
counter interrupt bit (ETI), enable external interrupt bit
(EEI) and enable master interrupt bit (EMI) constitute an
interrupt control register (INTC) which is located at 0BH
in the data memory. EMI, EEI, ETI 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) 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. Inter-
rupts 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
These devices provide two oscillator circuits for system
clocks, i.e., RC oscillator and 32768Hz crystal oscillator,
determined by software. No matter what type of oscilla-
tor is selected, the signal is used for the system clock.
If an RC oscillator is used, an external resistor between
OSC1 and VSS is required and the resistance must
range from 130k
W to 2.4MW. The RC oscillator provides
the most cost effective solution. However, the frequency
of oscillation may vary with VDD, temperatures and the
chip itself due to process variations. It is, therefore, not
suitable for timing sensitive operations where an accu-
rate oscillator frequency is desired.
There is another oscillator circuit designed for the real
time clock. In this case, only the 32768Hz crystal oscilla-
tor can be applied. The crystal should be connected be-
tween OSC3 and OSC4.
The RTC oscillator circuit can be controlled to oscillate
quickly by setting the
²QOSC² bit (bit 4 of mode). It is
recommended to turn on the quick oscillating function
upon power on, until the RTC oscillator is stable and
then turn it off after 2 seconds to reduce power con-
sumption.
The WDT oscillator is a free running on-chip RC oscilla-
tor, and no external components are required. Although
the system enters the power down mode, the system
clock stops, and the WDT oscillator still works within a
period of approximately 65
ms@5V. The WDT oscillator
can be disabled by options to conserve power.
3 2 7 6 8 H z
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
4 7 0 p F
V D D
R O S C
O S C 3
O S C 4
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


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