C8051F060_07 SILABS [Silicon Laboratories], C8051F060_07 Datasheet - Page 137

no-image

C8051F060_07

Manufacturer Part Number
C8051F060_07
Description
Mixed Signal ISP Flash MCU Family
Manufacturer
SILABS [Silicon Laboratories]
Datasheet
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 SFRs 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 13.7
below.
SFRNEXT
SFRLAST
SFRPAGE
popped to
SFRNEXT
popped to
Figure 13.7. SFR Page Stack Upon Return From PCA Interrupt
stack on return from
popped off of the
SFR Page 0x00
(ADC2)
(Port 5)
Automatically
0x0F
0x02
interrupt
Rev. 1.2
C8051F060/1/2/3/4/5/6/7
SFRPAGE
SFRNEXT
SFRLAST
137

Related parts for C8051F060_07