| Electronic Components Datasheet Search |
|
EM78P153EP Datasheet(PDF) 17 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P153EP Datasheet(HTML) 17 Page - ELAN Microelectronics Corp |
|
17 / 38 page ![]() EM78P153E OTP ROM This specification is subject to change without prior notice. 2002/03/01 17 Table 2 Usage of Port 6 Input Change Wake-up/Interrupt Function Usage of Port 6 Input Status Change 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 IOCF.1) 3. Execute "ENI" or "DISI" 4. IF Port 6 change (interrupt) 4. Enable interrupt (Set IOCF.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. RESET A RESET is initiated by (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 approx. 18ms 1 (one oscillator start-up timer period) after the reset is detected. Once the RESET occurs, the following functions are performed. Refer to Fig.9. • 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 IOCB register are set to all "1". • The IOCC register is cleared. • The bits of the IOCD register are set to all "1". • Bit 7 of the IOCE register is set to "1", and 6 is cleared. • Bits 0~2 of RF and Bits 0~2 of IOCF register are cleared. 1 <Note>: Vdd = 5V, set up time period = 16.5ms ± 5% Vdd = 3V, set up time period = 18ms ± 5% |
|
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 |