Electronic Components Datasheet Search
  English  ▼

X  

HT95R24 Datasheet(PDF) 30 Page - Holtek Semiconductor Inc

Part # HT95R24
Description  Phone 8-bit MCU
PDF  53 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT95R24 Datasheet(HTML) 30 Page - Holtek Semiconductor Inc

Back Button HT95R24 Datasheet HTML 26Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 27Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 28Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 29Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 30Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 31Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 32Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 33Page - Holtek Semiconductor Inc HT95R24 Datasheet HTML 34Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 53 page
background image
HT95R24
Rev. 1.00
30
February 17, 2009
lated interrupt is disabled or the interrupt is enabled but
the stack is full, the program will resume execution at the
next instruction. The other is if the interrupt is enabled
and the stack is not full, the regular interrupt response
takes place. It is necessary to mention that if an interrupt
request flag is set to "1" before entering the Sleep mode
or Idle mode, the Wake-up function of the related inter-
rupt will be disabled.
Once a Sleep mode or Idle mode Wake-up event oc-
curs, it will take an SST delay time, which is 1024 sys-
tem clock periods, to resume to the Green mode. This
means that a dummy period is inserted after a Wake-up.
If the Wake-up results from an interrupt acknowledge
signal, the actual interrupt subroutine execution will be
delayed by one or more cycles. If the Wake-up results in
the next instruction execution, this will be executed im-
mediately after the dummy period has finished.
To minimise power consumption, all the I/O pins should
be carefully managed before entering the Sleep Mode
or Idle Mode.
The Sleep Mode or Idle Mode is initialised by a HALT in-
struction and results in the following.
· The system clock will be turned off.
· The WDT function will be disabled if the WDT clock
source is the instruction clock.
· The WDT function will be disabled if the WDT clock
source is the 32768Hz oscillator in the Idle mode.
· The WDT will still function if the WDT clock source is
the WDT internal oscillator.
· If the WDT function is still enabled, the WDT counter
and WDT prescaler will be cleared and resume count-
ing.
· The contents of the on chip Data Memory and regis-
ters remain unchanged.
· All the I/O ports maintain their original status.
· The PDF flag is set and the TO flag is cleared by hard-
ware.
Watchdog Timer
The Watchdog Timer is provided to prevent program
malfunctions or sequences from jumping to unknown lo-
cations, due to certain uncontrollable external events
such as electrical noise. It operates by providing a de-
vice reset when the WDT counter overflows. The WDT
clock is supplied by one of two sources selected by a
configuration option. These an be either its own
self-contained dedicated internal WDT oscillator, or the
instruction clock which is the system clock divided by 4.
Note that if the WDT configuration option has been dis-
abled, then any instruction relating to its operation will
result in no operation.
A configuration option can select the instruction clock,
which is the system clock divided by 4, as the WDT clock
source instead of the internal WDT oscillator. If the in-
struction clock is used as the clock source, it must be
noted that when the system enters the Power Down
Mode, as the system clock is stopped, then the WDT
clock source will also be stopped. Therefore the WDT
will lose its protecting purposes. In such cases the sys-
tem cannot be restarted by the WDT and can only be re-
started using external signals. For systems that operate
in noisy environments, using the internal WDT oscillator
is therefore the recommended choice.
Under normal program operation, a WDT time-out will
initialise a device reset and set the status bit TO. How-
ever, if the system is in the Power Down Mode, when a
WDT time-out occurs, only the Program Counter and
Stack Pointer will be reset. Three methods can be
adopted to clear the contents of the WDT and the WDT
prescaler. The first is an external hardware reset, which
means a low level on the RES pin, the second is using
the watchdog software instructions and the third is via a
²HALT² instruction.
There are two methods of using software instructions to
clear the Watchdog Timer, one of which must be chosen
by configuration option. The first option is to use the sin-
gle
²CLR WDT² instruction while the second is to use
the two commands
²CLR WDT1² and ²CLR WDT2². For
the first option, a simple execution of
²CLR WDT² will
clear the WDT while for the second option, both
²CLR
WDT1
² and ²CLR WDT2² must both be executed to
successfully clear the WDT. Note that for this second
option, if
²CLR WDT1² is used to clear the WDT, succes-
sive executions of this instruction will have no effect,
only the execution of a
²CLR WDT2² instruction will
clear the WDT. Similarly, after the
²CLR WDT2² instruc-
tion has been executed, only a successive
²CLR WDT1²
instruction can clear the Watchdog Timer.



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


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