| Electronic Components Datasheet Search |
|
EM78P372KSS20 Datasheet(PDF) 48 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P372KSS20 Datasheet(HTML) 48 Page - ELAN Microelectronics Corp |
|
48 / 118 page ![]() EM78P372K 8-bit Microcontroller 40 Product Specification (V1.4) 05.11.2016 (This specification is subject to change without prior notice) Case [c] If the Comparator output status change is used to wake-up the EM78P372K and the CMPWE bit of the RE register is enabled before SLEP, WDT must be disabled by software. Hence, the EM78P372K can be awakened only with Case 4. Wake-up time is dependent on the oscillator mode. In RC mode, Wake-up time is 10 s (for stable oscillators). In HXT2 (4MHz) mode, Wake-up time is 800 s (for stable oscillators), and in LXT2 mode, Wake-up time is 2s ~ 3s. Case [d] If completed AD conversion is used to wake-up the EM78P372K and ADWE bit of RE register is enabled before SLEP, WDT must be disabled by software. Hence, the EM78P372K can be awakened only with Case 5. The wake-up time is 15 TAD (ADC clock period). Case[e] If Low voltage detector is used to wake-up the EM78P372K and the LVDWE bit of Bank 0-RE register is enabled before SLEP, WDT must be disabled by software. Hence, the EM78P372K can be awakened only with Case 6. Wake-up time is dependent on oscillator mode. If Port 5, P70, P71 Input Status Change Interrupt is used to wake up the EM78P372K (as in Case [b] above), the following instructions must be executed before SLEP: BC R3, 6 ; Select Segment 0 MOV A, @00xx1110b ; Select WDT prescaler and Disable WDT IOW IOCE0 WDTC ; Clear WDT and prescaler MOV R5, R5 ; Read Port 5 MOV R7, R7 ; Read Port 7 ENI (or DISI) ; Enable (or disable) global interrupt MOV A, @xxxxxx1xb ; Enable Port 5,7 input change wake-up bit MOV RE MOV A, @1xxxxx1xb ; Enable Port 5,7 input change interrupt IOW IOCF0 SLEP ; Sleep Similarly, if the Comparator Interrupt is used to wake up the EM78P372K (as in Case [c] above), the following instructions must be executed before SLEP: BC R3, 6 ; Select Segment 0 MOV A, @xxx10XXXb ; Select a comparator and P64 functions as ; CO pin IOW IOC80 MOV A, @00x11110b ; Select WDT prescaler and Disable WDT, ; and enable comparator output status ; change interrupt IOW IOCE0 WDTC ; Clear WDT and prescaler ENI (or DISI) ; Enable (or disable) global interrupt MOV A, @xxx0x1xxb ; Enable comparator output status change ; wake-up bit MOV RE SLEP ; Sleep |
|
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 |