| Electronic Components Datasheet Search |
|
EM78P451SWM Datasheet(PDF) 37 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P451SWM Datasheet(HTML) 37 Page - ELAN Microelectronics Corp |
|
37 / 54 page ![]() EM78P451S 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 06.01.2004 • 33 (This specification is subject to change without further notice) Table 6 Usage of Sleep and Sleep2 Mode Usage of Sleep and Sleep2 Mode SLEEP2 SLEEP (a) Before SLEEP (a) Before SLEEP 1. Set Port6 or P74 or P75 Input 1. Execute SLEP instruction 2. Enable Pull-High and set WDT prescaler over 1:1 (Set CONT.7 and CONT.3 ~ CONT.0) 3. Enable Wake-up (Set IOCB or IOCE.0) 4. Execute Seep2 (Set IOCE.4) (b) After Wake-up (b) After Wake-up 1. Next instruction 1. Reset 2. Disable Wake-up 3. Disable WDT (Set IOCE.5) If Port6 Input Status Changed Wake-up is used to wake-up the EM78P451S (Case [a] above), the following instructions must be executed before entering SLEEP2 mode: MOV A, @11111111b ; Set Port6 input IOW IOC6 MOV A, @0xxx1010b ; Set Port6 pull-high, WDT prescaler, prescaler must set over 1:1 CONTW MOV A, @xx00xxx0b ; Enable Port6 wake-up function, Enable SLEEP2 IOW IOCE After Wake-up NOP MOV A, @ xx01xxx1b ; Disable Port6 wake-up function; Disable WDT IOW IOCE After waking up from the SLEEP2 mode, WDT is automatically enabled. The WDT enabled/disabled operation after waking up from SLEEP2 mode should be appropriately defined in the software. To avoid a reset from occurring when the Port 6 Input Status Changed Interrupt enters into interrupt vector or is used to wake-up the MCU, the WDT prescaler must be set above the 1:1 ratio. Table 7 The Summary of the Initialized Values for Registers Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name C57 C56 C55 C54 C53 C52 C51 C50 N/A IOC5 Power-On 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1 1 1 1 1 Wake-Up from Pin Change P P P P P P P P Bit Name C67 C66 C65 C64 C63 C62 C61 C60 N/A IOC6 Power-On 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1 1 1 1 1 Wake-Up from Pin Change PPPPP P P P Bit Name C77 C76 C75 C74 C73 C72 C71 C70 N/A IOC7 Power-On 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1 1 1 1 1 Wake-Up from Pin Change PPPPP P P P Bit Name C87 C86 C85 C84 C83 C82 C81 C80 N/A IOC8 Power-On 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1 1 1 1 1 |
|
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 |