| Electronic Components Datasheet Search |
|
TMP88CS43FG Datasheet(PDF) 26 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS43FG Datasheet(HTML) 26 Page - Toshiba Semiconductor |
|
26 / 218 page ![]() Page 16 2. Functional Description 2.1 Functions of the CPU Core TMP88CS43FG 2.1.4.4 Controlling Operation Modes (1) STOP mode STOP mode is controlled by System Control Register 1 (SYSCR1) and the STOP pin input. The STOP pin is shared with P20 port and INT5 (external interrupt input 5). STOP mode is entered into by setting STOP (SYSCR1 Register bit 7) to 1. During STOP mode, the device retains the following state. 1. Stop oscillation, thereby stopping operation of all internal circuits. 2. The data memory, register, program status word, and port output latch hold the state in which they were immediately before entering STOP mode. 3. Clear the prescaler and divider for the timing generator to 0. 4. The program counter holds the instruction address two instructions ahead the one that placed the device in STOP mode (e.g., “SET (SYSCR1).7”). The device is released from STOP mode by the active level or edge on STOP pin input as selected by SYSCR1<RELM>. Note: Before entering STOP mode, be sure to disable interrupts. This is because if the signal on an external interrupt pin changes state during STOP (from entering STOP mode till completion of warm-up) the interrupt latch is set to 1, so that the device may accept the interrupt immediately after exiting STOP mode. Also, when reenabling interrupts after exiting STOP mode, be sure to clear the unnecessary interrupt latches beforehand. a. Released by level (when RELM = 1) The device is released from STOP mode by a high level on STOP pin input. Any instruction to place the device in STOP mode is ignored when executed while STOP pin input level is high, and the device immediately goes to a release sequence (warm-up) without entering STOP mode. Therefore, before STOP mode can be entered while RELM = 1, the STOP pin input must be verified to be low in a program. There are following methods to do this verification. 1. Testing the port status 2. INT5 interrupt (interrupt generated at a falling edge on INT5 pin input) Example 1 :Entering STOP mode from NORMAL mode by testing P20 port LD (SYSCR1), 01010000B ; Select to be released from STOP mode by level SSTOPH : TEST (P2DR) . 0 ; Wait until STOP pin input goes low JRS F, SSTOPH DI ; IMF ← 0 SET (SYSCR1) . 7 ; Place the device in STOP mode Example 2 :Entering STOP mode from NORMAL mode by INT5 interrupt PINT5 : TEST (P2DR) . 0 ; Do not enter STOP mode if P20 port input level is high, to eliminate noise JRS F, SINT5 ; Do not enter STOP mode if P20 port input level is high, to eliminate noise LD (SYSCR1), 01010000B ; Select to be released from STOP mode by level DI ; IMF ← 0 SET (SYSCR1) . 7 ; Place the device in STOP mode SINT5 : RETI |
|
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 |