Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

EM78P458AP Datasheet(PDF) 26 Page - ELAN Microelectronics Corp

Part # EM78P458AP
Description  8-BIT MICRO-CONTROLLER
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMC [ELAN Microelectronics Corp]
Direct Link  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EM78P458AP Datasheet(HTML) 26 Page - ELAN Microelectronics Corp

Back Button EM78P458AP Datasheet HTML 22Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 23Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 24Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 25Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 26Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 27Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 28Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 29Page - ELAN Microelectronics Corp EM78P458AP Datasheet HTML 30Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 76 page
background image
EM78P458/459
OTP ROM
Table 4 Usage of Port 6 Input Changed Wake-up/Interrupt Function
Usage of Port 6 Input Status Changed Wake-up/Interrupt
(I) Wake-up from Port 6 Input Status Change
(II) Port 6 Input Status Change Interrupt
(a) Before SLEEP
1. Read I/O Port 6 (MOV R6,R6)
1. Disable WDT
2. Execute "ENI"
2. Read I/O Port 6 (MOV R6,R6)
3. Enable interrupt (Set IOCF0.1)
3. Execute "ENI" or "DISI"
4. IF Port 6 changed (interrupt)
4. Enable interrupt (Set IOCF0.1)
→ Interrupt vector (008H)
5. Execute "SLEP" instruction
(b) After wake-up
1. IF "ENI"
→ Interrupt vector (008H)
2. IF "DISI"
→ Next instruction
4.5 RESET and Wake-up
1. The function of RESET and Wake-up
A RESET is initiated by one of the following events-
(1) Power-on reset
(2) /RESET pin input "low", or
(3) WDT time-out (if enabled).
The device is kept in a RESET condition for a period of approximately 18ms (one oscillator start-up
timer period) after the reset is detected. Once the RESET occurs, the following functions are
performed.
• The oscillator is running, or will be started.
• The Program Counter (R2) is set to all "0".
• All I/O port pins are configured as input mode (high-impedance state).
• The Watchdog Timer and prescaler are cleared.
• When power is switched on, the upper 3 bits of R3 are cleared.
• The bits of the CONT register are set to all "1" except for the Bit 6 (INT flag).
• The bits of the IOCB0 register are set to all "1".
• The IOCC0 register is cleared.
• The bits of the IOCD0 register are set to all "1".
• Bit 7 of the IOCE0 register is set to "1", and Bit 6 is cleared.
• Bits 0~6 of RF register and bits 0~6 of IOCF0 register are cleared.
Executing the “SLEP” instruction will assert the sleep (power down) mode. While entering sleep mode,
the WDT (if enabled) is cleared but keeps on running. The controller can be awakened by-
(1) External reset input on /RESET pin.
This specification is subject to change without prior notice.
06.25.2004 (V1.4)
26



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


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