| Electronic Components Datasheet Search |
|
EM78P258NN Datasheet(PDF) 35 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P258NN Datasheet(HTML) 35 Page - ELAN Microelectronics Corp |
|
35 / 81 page ![]() EM78P258N 8-Bit Microprocessor with OTP ROM Product Specification (V1.0) 06.16.2005 • 29 (This specification is subject to change without further notice) 6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function (1) Wake-up (2) Wake-up and Interrupt (a) Before SLEEP (a) Before SLEEP 1. Disable WDT 1. Disable WDT 2. Read I/O Port 5 (MOV R5,R5) 2. Read I/O Port 5 (MOV R5,R5) 3. Execute "ENI" or "DISI" 3. Execute "ENI" or "DISI" 4. Enable wake-up bit (Set RE ICWE =1) 4. Enable wake-up bit (Set RE ICWE =1) 5. Execute "SLEP" instruction 5. Enable interrupt (Set IOCF0 ICIE =1) (b) After wake-up 6. Execute "SLEP" instruction → Next instruction (b) After wake-up 1. IF "ENI" → Interrupt vector (006H) 2. IF "DISI" → Next instruction (3) Interrupt (a) Before Port 5 pin change 1. Read I/O Port 5 (MOV R5,R5) 2. Execute "ENI" or "DISI" 3. Enable interrupt (Set IOCF0 ICIE =1) (b) After Port 5 pin changed (interrupt) 1. IF "ENI" → Interrupt vector (006H) 2. IF "DISI" → Next instruction 6.5 RESET and Wake-up 6.5.1 RESET and Wake-up Operation A RESET is initiated by one of the following events: 1. Power-on reset 2. /RESET pin input "low" 3. WDT time-out (if enabled). The device is kept under RESET condition for a period of approximately 18ms 3 (except in LXT mode ) after the reset is detected. When in LXT mode, the reset time is 500ms. Two choices (18ms 3 or 4.5ms4) are available for WDT-time out period. Once RESET occurs, the following functions are performed (the initial address is 000h): The oscillator continues running, or will be started (if under sleep mode) 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 is cleared The CONT register bits are set to all "1" except for the Bit 6 (INT flag) The IOCB0 register bits are set to all "1" VDD=5V, WDT Time-out period = 16.5ms ± 30%. VDD=3V, WDT Time-out period = 18ms ± 30%. 5V, WDT Time-out period = 4.2ms ± 30%. VDD=3V, WDT Time-out period = 4.5ms ± 30%. 3 4 VDD= |
|
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 |
| 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 |