Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT46RU24 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc

Part # HT46RU24
Description  A/D Type 8-Bit OTP MCU with UART
Download  60 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46RU24 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc

Back Button HT46RU24 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 11Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 13Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 14Page - Holtek Semiconductor Inc HT46RU24 Datasheet HTML 15Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 60 page
background image
HT46RU24
Rev. 1.00
11
April 23, 2008
The I
2C Bus interrupt is initialized by setting the I2C Bus in-
terrupt request flag (HIF; bit 5 of INTC1), caused by a
slave address match (HAAS=
²1²) or one byte of data
transfer is completed. When the interrupt is enabled, the
stack is not full and the HIF bit is set, a subroutine call to
location 14H will occur. The related interrupt request flag
(HIF) 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² 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 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 or
A/D Conversion
1
04H
Timer/Event Counter 0 Overflow
2
08H
Timer/Event Counter 1 Overflow
3
0CH
UART Bus Interrupt
4
10H
I
2C Bus Interrupt
5
14H
Timer/Event Counter 2 Overflow
6
18H
The Timer/Event Counter 0/1/2 interrupt request flag
(T0F, T1F, T2F), external interrupt request flag (EIF),
A/D converter request flag (ADF), the I
2C Bus interrupt
request flag (HIF), UART Bus interrupt request flag
(URF), enable timer/event counter bit (ET0I, ET1I,
ET2I), enable external interrupt bit (EEI), enable A/D
converter interrupt bit (EADI), enable I
2C Bus interrupt
bit (EHI), enable UART interrupt bit (EURI) and enable
master interrupt bit (EMI) constitute an interrupt control
register 0 (INTC0) and an interrupt control register 1
(INTC1) which are located at 0BH and 1EH in the data
memory. EMI, EEI, ET0I, ET1I, ET2I, EADI, EHI, EURI
are used to control the enabling/disabling of interrupts.
These bits prevent the requested interrupt from being
serviced. Once the interrupt request flags (T0F, T1F,
T2F, EIF, ADF, HIF, URF) are set, they will remain in the
INTC0 and INTC1 register until the interrupts are ser-
viced 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
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 option. No matter what oscillator type is selected,
the signal provides the system clock. The HALT mode
stops the system oscillator and ignores an external sig-
nal 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 oscillator,
and no external components are required. Even if the sys-
tem 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 dis-
abled by option to conserve power.
Watchdog Timer
- WDT
The WDT clock source is implemented by a dedicated
RC oscillator (WDT oscillator) or instruction clock (sys-
tem clock divided by 4) decided by options. This timer is
designed to prevent a software malfunction or sequence
jumping to an unknown location with unpredictable re-
sults. The watchdog timer can be disabled by a option. If
the watchdog timer is disabled, all the executions re-
lated to the WDT result in no operation.
Once an internal WDT oscillator (RC oscillator with pe-
riod 65
ms at 5V normally) is selected, it is divided by
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


Similar Part No. - HT46RU24

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT46RU22 HOLTEK-HT46RU22 Datasheet
455Kb / 60P
   A/D Type 8-Bit MCU
HT46RU22 HOLTEK-HT46RU22_08 Datasheet
444Kb / 59P
   A/D Type 8-Bit MCU
HT46RU232 HOLTEK-HT46RU232 Datasheet
473Kb / 60P
   A/D Type 8-Bit OTP MCU with UART
HT46RU25 HOLTEK-HT46RU25 Datasheet
476Kb / 63P
   A/D Type 8-Bit MCU
HT46RU26 HOLTEK-HT46RU26 Datasheet
688Kb / 86P
   A/D Type 8-Bit MCU with UART
More results

Similar Description - HT46RU24

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT46RU232 HOLTEK-HT46RU232 Datasheet
473Kb / 60P
   A/D Type 8-Bit OTP MCU with UART
HT46RU26 HOLTEK-HT46RU26 Datasheet
688Kb / 86P
   A/D Type 8-Bit MCU with UART
HT46R14 HOLTEK-HT46R14 Datasheet
326Kb / 47P
   A/D Type 8-Bit OTP MCU
HT46R53 HOLTEK-HT46R53 Datasheet
297Kb / 42P
   A/D Type 8-Bit OTP MCU
HT46R51 HOLTEK-HT46R51 Datasheet
294Kb / 42P
   A/D Type 8-Bit OTP MCU
HT46R12A HOLTEK-HT46R12A Datasheet
307Kb / 48P
   A/D Type 8-Bit OTP MCU
HT46R14A HOLTEK-HT46R14A Datasheet
320Kb / 49P
   A/D Type 8-Bit OTP MCU
HT46R51A HOLTEK-HT46R51A_09 Datasheet
297Kb / 43P
   A/D Type 8-Bit OTP MCU
HT46R12 HOLTEK-HT46R12 Datasheet
307Kb / 45P
   A/D Type 8-Bit OTP MCU
HT45R06 HOLTEK-HT45R06 Datasheet
313Kb / 41P
   A/D Type 8-Bit OTP MCU
More results


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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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