| Electronic Components Datasheet Search |
|
C8051F360 Datasheet(PDF) 91 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
C8051F360 Datasheet(HTML) 91 Page - Silicon Laboratories |
|
91 / 288 page ![]() 0x00 (ADC0) 0x0F (OSCICN) SFRPAGE SFRLAST SFRNEXT SFRPAGE pushed to SFRNEXT SFR Page 0x00 Automatically pushed on stack in SFRPAGE on ADC0 interrupt Rev. 1.0 91 C8051F360/1/2/3/4/5/6/7/8/9 Figure 9.5. SFR Page Stack After ADC0 Window Comparator Interrupt Occurs While in the ADC0 ISR, a PCA interrupt occurs. Recall the PCA interrupt is configured as a high priority interrupt, while the ADC0 interrupt is configured as a low priority interrupt. Thus, the CIP-51 will now vector to the high priority PCA ISR. Upon doing so, the CIP-51 will automatically place SFR page 0x00 into the SFRPAGE register. The value that was in the SFRPAGE register before the PCA interrupt (SFR Page 0x00 for ADC0) is pushed down the stack into SFRNEXT. Likewise, the value that was in the SFRNEXT register before the PCA interrupt (in this case SFR Page 0x0F for OSCICN) is pushed down to the SFRLAST reg- ister, the “bottom” of the stack. Note that a value stored in SFRLAST (via a previous software write to the SFRLAST register) will be overwritten. See Figure 9.6 below. 0x00 (PCA) 0x00 (ADC0) 0x0F (OSCICN) SFRPAGE SFRLAST SFRNEXT SFR Page 0x00 Automatically pushed on stack in SFRPAGE on PCA interrupt SFRPAGE pushed to SFRNEXT SFRNEXT pushed to SFRLAST Figure 9.6. SFR Page Stack Upon PCA Interrupt Occurring During an ADC0 ISR |
|
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 |