C8051F040-TB Silicon Laboratories Inc, C8051F040-TB Datasheet - Page 139

BOARD PROTOTYPING W/C8051F040

C8051F040-TB

Manufacturer Part Number
C8051F040-TB
Description
BOARD PROTOTYPING W/C8051F040
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F040-TB

Contents
Board
Processor To Be Evaluated
C8051F04x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F040
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
On exit from the PCA interrupt service routine, the CIP-51 will return to the ADC2 Window Comparator
ISR. On execution of the RETI instruction, SFR Page 0x00 used to access the PCA registers will be auto-
matically popped off of the SFR Page Stack, and the contents of the SFRNEXT register will be moved to
the SFRPAGE register. Software in the ADC2 ISR can continue to access SFR’s as it did prior to the PCA
interrupt. Likewise, the contents of SFRLAST are moved to the SFRNEXT register. Recall this was the
SFR Page value 0x0F being used to access Port 5 before the ADC2 interrupt occurred. See Figure 12.7
below.
Figure 12.6. SFR Page Stack Upon PCA Interrupt Occurring During an ADC2 ISR
SFRNEXT
SFRLAST
SFRPAGE
pushed to
SFRNEXT
pushed to
SFRPAGE on PCA
pushed on stack in
SFR Page 0x00
(ADC2)
(Port 5)
Automatically
(PCA)
0x0F
0x00
0x02
interrupt
Rev. 1.5
C8051F040/1/2/3/4/5/6/7
SFRPAGE
SFRNEXT
SFRLAST
139

Related parts for C8051F040-TB