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

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
C8051F040/1/2/3/4/5/6/7
SFR Page
Stack SFR's
0x0F
SFRPAGE
(Port 5)
SFRNEXT
SFRLAST
Figure 12.4. SFR Page Stack While Using SFR Page 0x0F To Access Port 5
While CIP-51 executes in-line code (writing values to Port 5 in this example), an ADC2 Window Compara-
tor Interrupt occurs. The CIP-51 vectors to the ADC2 Window Comparator ISR and pushes the current
SFR Page value (SFR Page 0x0F) into SFRNEXT in the SFR Page Stack. The SFR page needed to
access ADC2’s SFR’s is then automatically placed in the SFRPAGE register (SFR Page 0x02). SFRPAGE
is considered the “top” of the SFR Page Stack. Software can now access the ADC2 SFR’s. Software may
switch to any SFR Page by writing a new value to the SFRPAGE register at any time during the ADC2 ISR
to access SFR’s that are not on SFR Page 0x02. See Figure 12.5.
Rev. 1.5
137

Related parts for C8051F040-TB