| Electronic Components Datasheet Search |
|
FS98O24 Datasheet(PDF) 63 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS98O24 Datasheet(HTML) 63 Page - Fortune Semiconductor Corp. |
|
63 / 77 page ![]() 14. Halt and Sleep Modes FS98O24 supports low power working mode. When the user want FS98O24 to do nothing and just stand by, FS98O24 could be set to Halt mode or Sleep mode to reduce the power consumption by stopping the CPU core working. The two modes will be described below. Halt Mode After CPU executes a Halt command, CPU Program Counter (PC) stops counting until an interrupt command is issued. To avoid program errors caused by Interrupt Return, it is suggested to add a NOP command after Halt to guarantee the program’s normal execution when turning back. Sleep Mode After CPU executes Sleep command, all oscillators stop working until an external interrupt command is issued or the CPU is reset. To avoid program errors caused by Interrupt return, it is suggested to add a NOP command after Sleep to guarantee the program’s n ormal execution. The sleep mode power consumption is about 3 uA. To make sure that CPU consumes minimum power in Sleep mode, it is necessary to close all power blocks and analog circuits before issuing the Sleep command, and make sure that all I/O Ports are in VDD or VSS voltage levels. It is recommended that users execute the following program before issuing the Sleep command: CLRF NETA ; As Reset state CLRF NETB ; As Reset state CLRF NETC ; As Reset state CLRF NETD ; As Reset state CLRF NETE ; As Reset state CLRF NETF ; As Reset state CLRF PT2PU ; Pull up resistor is disconnected. MOVLW 0FFH MOVWF PT2EN ; PT2 ports are assigned to be output ports. CLRF PT2 ; Set PT2 ports Output Low. MOVLW 001h MOVWF PT1PU ; PT1 Pull up resistor is disconnected except port 0(ext. int) MOVLW 0FEh MOVWF PT1EN ; PT1 ports are assigned to be output ports except port 0 CLRF PT1 ; Set PT1 [7:1] Output Low CLRF INTF ; Clear the interrupt flags MOVLW 081h MOVWF INTE ; Enable the external interrupt SLEEP ; Set the FWZ0038A into Sleep mode NOP ; Wait CPU Wake-Up to normal Run |
|
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 |