| Electronic Components Datasheet Search |
|
HIP7030A2M Datasheet(PDF) 21 Page - Intersil Corporation |
|
|
|||||||||||||||||||||||||||||
HIP7030A2M Datasheet(HTML) 21 Page - Intersil Corporation |
|
21 / 56 page ![]() 21 is pushed onto the stack and the I bit in the condition code register is set. This masks further interrupts until the present one is serviced. The SPI interrupt causes the program counter to vector to memory location $1FF2 and $1FF3 which contain the starting address of the interrupt service routine. Software in the serial peripheral interrupt service routine must determine the priority and cause of the SPI interrupt by examining the interrupt flag bits located in the SPI status register. The general sequence for clearing an interrupt is a software sequence of accessing the status reg- ister while the flag is set, followed by a read or write of an associated register. Refer to Serial Peripheral Interface for a description of the SPI system and its interrupts. Low Power Modes STOP Instruction The STOP instruction places the MCU in its lowest power consumption mode. In the STOP mode the internal oscillator is turned off, causing all internal processing to be halted; refer to Figure 14. During the STOP mode, the I-bit in the condition code register is automatically cleared to enable external and SENDEC interrupts. All other registers and memory remain unaltered and all input/output lines remain unchanged, except the VPWOUT line which is forced to a passive (low) state and the SPI Master bit (MSTR) in the SPI Control Register (SPCR) which is cleared placing the SPI pins into Slave mode. This mode persists until an external interrupt (IRQ), a low on the VPWIN pin, or a low on RESET is sensed, at which time the internal oscillator is turned on. The interrupt or reset causes the program counter to vector to the starting address of the interrupt or reset service rou- tine respectively. WAIT Instruction The WAIT instruction places the MCU in a low power con- sumption mode, but the WAIT mode consumes somewhat more power than the STOP mode. In the WAIT mode, the internal clock remains active, and all CPU processing is stopped; however, the programmable timer, serial peripheral interface, Watchdog Timer, and SENDEC systems remain active. Refer to Figure 14. During the WAIT mode, the I-bit in the condition code register is cleared to enable all interrupts. All other registers and memory remain unaltered and all par- allel input/output lines remain unchanged. This continues until any interrupt or reset is sensed. At this time the pro- gram counter vectors to the memory location ($1FF2 through $1FFF) which contains the starting address of the interrupt or reset service routine. RESTART PROCESSOR CLOCK RESET PROCESSOR EXTERNAL INTERRUPT IRQ SENDEC INTERRUPT NO NO NO NO YES YES YES YES NO NO NO NO NO NO YES YES YES YES STOP WAIT STOP OSCILLATOR AND CLOCKS, DISABLE COP, FORCE VPWOUT = 0, CLEAR I-BIT RESET SENDEC INTERRUPT IRQ INTERRUPT TIMER INTERRUPT SPI INTERRUPT COP INTERRUPT RESET OSCILLATOR ACTIVE, TIMER, SENDEC, AND SPI CLOCKS ACTIVE, CLEAR I-BIT, PROCESSOR CLOCKS STOPPED (1) FETCH RESET/COP VECTOR OR (2) SERVICE INTERRUPT A. STACK B. SET I-BIT C. VECTOR TO INTERRUPT ROUTINE (1) FETCH RESET/COP VECTOR OR (2) SERVICE INTERRUPT A. STACK B. SET I-BIT C. VECTOR TO INTERRUPT ROUTINE TURN ON OSCILLATOR WAIT FOR TIME DELAY TO STABILIZE FIGURE 14. STOP AND WAIT FLOW DIAGRAM HIP7030A2 |
|
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 |