| Electronic Components Datasheet Search |
|
EM78156EAS Datasheet(PDF) 21 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78156EAS Datasheet(HTML) 21 Page - ELAN Microelectronics Corp |
|
21 / 48 page ![]() EM78156E 8-Bit Microcontroller with MASK ROM Product Specification (V1.3) 07.29.2004 • 17 (This specification is subject to change without further notice) [b] if WDT is enabled before SLEP, Port 6 Input Status Change Interrupt must be disabled. Hence, the EM78156E can be awakened only by Case 1 or 2. Refer to the section on Interrupt. If Port 6 Input Status Change Interrupt is used to wake-up the EM78156E (Case [a] above), the following instructions must be executed before SLEP: MOV A, @xx000110b ; Select internal TCC clock CONTW CLR R1 ; Clear TCC and prescaler MOV A, @xxxx1110b ; Select WDT prescaler CONTW WDTC ; Clear WDT and prescaler MOV A, @0xxxxxxxb ; Disable WDT IOW RE MOV R6, R6 ; Read Port 6 MOV A, @00000x1xb ; Enable Port 6 input change interrupt IOW RF ENI (or DISI) ; Enable (or disable) global interrupt SLEP ; Sleep NOP One problem user should be aware of, is that after waking up from the sleep mode, WDT would enable automatically. The WDT operation (being enabled or disabled) should be handled appropriately by software after waking up from the sleep mode. Table 5 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 X X X X C53 C52 C51 C50 Power-On U U U U 1 1 1 1 /RESET and WDT U U U U 1 1 1 1 N/A IOC5 Wake-Up from Pin Change U U U U P P P P Bit Name C67 C66 C65 C64 C63 C62 C61 C60 Power-On 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1 1 1 1 1 N/A IOC6 Wake-Up from Pin Change P P P P P P P P Bit Name X /INT TS TE PAB PSR2 PSR1 PSR0 Power-On 1 0 1 1 1 1 1 1 N/A CONT /RESET and WDT 1 0 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 |