Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT95C40P Datasheet(PDF) 18 Page - Holtek Semiconductor Inc

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

HT95C40P Datasheet(HTML) 18 Page - Holtek Semiconductor Inc

Back Button HT95C40P Datasheet HTML 14Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 15Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 16Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 17Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 18Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 19Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 20Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 21Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 22Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 51 page
background image
HT95CXXX
Rev. 1.50
18
May 26, 2005
· Normal mode or Green mode to Sleep mode:
Step 1: Clear MODE0 to 0
Step 2: Clear MODE1 to 0
Step 3: Clear UPEN to 0
Step 4: Execute HALT instruction
After Step 4, operation mode is changed to Sleep
mode.
· Normal mode or Green mode to Idle mode:
Step 1: Set MODE0 to 1
Step 2: Clear MODE1 to 0
Step 3: Clear UPEN to 0
Step 4: Execute HALT instruction
After Step 4, operation mode is changed to Idle mode.
· Green mode to Normal mode:
Step 1: Set UPEN to 1
Step 2: Software delay 20ms
Step 3: Set MODE1 to 1
After Step 3, operation mode is changed to Normal
mode.
· Sleep mode or Idle mode to Green mode:
Method 1: Any reset condition occurred
Method 2: Any interrupt is active
Method 3: Port A wake-up
Note
The Timer0, Timer1, RTC and dialer I/O interrupt
function will not work at the Idle mode because
the 32768Hz crystal is stopped.
The reset conditions include power on reset, external re-
set, WDT time-out reset. By examining the processor
status flag, PDF and TO, the program can distinguish
between different
²reset conditions². Refer to the Reset
function for detailed description.
The port A wake-up and interrupt can be considered as
a continuation of normal execution. Each bit in port A
can be independently selected to wake-up the device by
mask option. Awakening from Port A stimulus, the pro-
gram will resume execution of the next instruction.
Any valid interrupts from Sleep mode or Idle mode may
cause two sequences. One is if the related interrupt is
disabled or the interrupt is enabled but the stack is full,
the program will resume execution at the next instruc-
tion. 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 interrupt will be dis-
abled.
Once a Sleep mode or Idle mode wake-up event occurs,
it will take SST delay time (1024 system clock period) to
resume to Green mode. In other words, 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 cy-
cles. If the wake-up results in the next instruction execu-
tion, this will be executed immediately after the dummy
period is finished.
To minimize 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 initialized by the HALT
instruction 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 in Idle mode.
· The WDT will still function if the WDT clock source is
the WDT OSC.
· If the WDT function is still enabled, the WDT counter
and WDT prescaler will be cleared and recounted
again.
· The contents of the on chip RAM and registers remain
unchanged.
· All the I/O ports maintain their original status.
· The flag PDF is set and the flag TO is cleared by hard-
ware.
Reset
There are three ways in which a reset can occur.
· Power on reset.
· A low pulse onto RES pin.
· WDT time-out.
After these reset conditions, the Program Counter and
Stack Pointer will be cleared to 0.
To guarantee that the system oscillator is started and
stabilized, the SST (System Start-up Timer) provides an
extra-delay of 1024 system clock pulses when the sys-
tem is reset or awakes from the Sleep or Idle operation
mode.
V D D
R E S
1 0 0 k W
0 . 1 m F
Reset Circuit



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


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