Electronic Components Datasheet Search
  English  ▼

X  

HT45F43 Datasheet(PDF) 123 Page - Holtek Semiconductor Inc

Part # HT45F43
Description  8-Bit Flash MCU with Op Amps & Comparators
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F43 Datasheet(HTML) 123 Page - Holtek Semiconductor Inc

Back Button HT45F43 Datasheet HTML 119Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 120Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 121Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 122Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 123Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 124Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 125Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 126Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 127Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 123 / 152 page
background image
Interrupt Wake-up Function
Each of the interrupt functions has the capability of waking up the microcontroller when in the SLEEP
or IDLE Mode. A wake-up is generated when an interrupt request flag changes from low to high and is
independent of whether the interrupt is enabled or not. Therefore, even though the device is in the
SLEEP or IDLE Mode and its system oscillator stopped, situations such as external edge transitions on
the external interrupt pins, a low power supply voltage or comparator input change may cause their
respective interrupt flag to be set high and consequently generate an interrupt. Care must therefore be
taken if spurious wake-up situations are to be avoided. If an interrupt wake-up function is to be
disabled then the corresponding interrupt request flag should be set high before the device enters the
SLEEP or IDLE Mode. The interrupt enable bits have no effect on the interrupt wake-up function.
Programming Considerations
By disabling the interrupt enable bits, a requested interrupt can be prevented from being serviced,
however, once an interrupt request flag is set, it will remain in this condition in the INTC0, INTC1
,MFIC0 and MFIC1 registers until the corresponding interrupt is serviced or until the request flag is
cleared by the application program.
It is recommended that programs do not use the
²CALL Subroutine² instruction 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 the interrupt is not well controlled, the original control
sequence will be damaged once a
²CALL subroutine² is executed in the interrupt subroutine.
All of these interrupts have the capability of waking up the processor when in the Power Down Mode.
Only the Program Counter is pushed onto the stack. If the contents of the status or other registers are
altered by the interrupt service program, which may corrupt the desired control sequence, then the
contents should be saved in advance.
Buzzer
Operating in a similar way to the Programmable Frequency Divider, the Buzzer function provides a
means of producing a variable frequency output, suitable for applications such as Piezo-buzzer driving
or other external circuits that require a precise frequency generator. The BZ and BZ pins form a
complimentary pair, and are pin-shared with I/O pins, PA6 and PA7. A BPCTL register is used to select
from one of three buzzer options. The first option is for both pins PA6 and PA7 to be used as normal
I/Os, the second option is for both pins to be configured as BZ and BZ buzzer pins, the third option
selects only the PA6 pin to be used as a BZ buzzer pin with the PA7 pin retaining its normal I/O pin
function. Note that the BZ pin is the inverse of the BZ pin which together generate a differential output
which can supply more power to connected interfaces such as buzzers.
The buzzer is driven by the internal clock source, fTB, which then passes through a divider, the division
ratio of which is selected by BPCTL register to provide a range of buzzer frequencies from fTB/2
2 to
fTB/2
9. The clock source that generates f
TB, which in turn controls the buzzer frequency, can originate
from three different sources, the LXT oscillator, the LIRC oscillator or the System oscillator/4, the
choice of which is determined by the fTB clock source option. Note that the buzzer frequency is
controlled by BPCTL register, which select the source clock for the internal clock fTB.
HT45F23/HT45F43
8-Bit Flash MCU with Op Amps & Comparators
Rev. 1.20
123
September 15, 2011
B Z
B Z
( S e t b y B P C T L
R e g o s t e r )
D i v i d e b y 2 2 ~ 2 9
f T B
B Z 2
B Z 1
B Z 0
M
U
X
M
U
X
L X T
L I R C
f S Y S / 4
C o n f i g u r a t i o n
O p t i o n
T B C K B i t
f T B C
Buzzer Function



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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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