Interrupt Priority - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

www.ti.com
IRCON (0xC0) – Interrupt Flags 4
Bit
Name
7
STIF
6
5
P0IF
4
T4IF
3
T3IF
2
T2IF
1
T1IF
0
DMAIF
IRCON2 (0xE8) – Interrupt Flags 5
Bit
Name
7:5
4
WDTIF
3
P1IF
2
UTX1IF
1
UTX0IF
0
P2IF

2.5.3 Interrupt Priority

The interrupts are grouped into six interrupt priority groups, and the priority for each group is set by
registers IP0 and IP1. In order to assign a higher priority to an interrupt, that is, to its interrupt group, the
corresponding bits in IP0 and IP1 must be set as shown in
The interrupt priority groups with assigned interrupt sources are shown in
assigned one of four priority levels. While an interrupt service request is in progress, it cannot be
interrupted by a lower- or same-level interrupt.
SWRU191F – April 2009 – Revised April 2014
Submit Documentation Feedback
Reset
R/W
0
R/W
Sleep Timer interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
Must be written 0. Writing a 1 always enables the interrupt source.
0
R/W
Port 0 interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
Timer 4 interrupt flag. Set to 1 when Timer 4 interrupt occurs and cleared when CPU
H0
vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
0
R/W
Timer 3 interrupt flag. Set to 1 when Timer 3 interrupt occurs and cleared when CPU
H0
vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
0
R/W
Timer 2 interrupt flag. Set to 1 when Timer 2 interrupt occurs and cleared when CPU
H0
vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
0
R/W
Timer 1 interrupt flag. Set to 1 when Timer 1 interrupt occurs and cleared when CPU
H0
vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
0
R/W
DMA-complete interrupt flag
0: Interrupt not pending
1: Interrupt pending
Reset
R/W
000
R/W
Reserved
0
R/W
Watchdog Timer interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
Port 1 interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
USART 1 TX interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
USART 0 TX interrupt flag
0: Interrupt not pending
1: Interrupt pending
0
R/W
Port 2 interrupt flag
0: Interrupt not pending
1: Interrupt pending
Copyright © 2009–2014, Texas Instruments Incorporated
Description
Description
Table
2-6.
Table
2-7. Each group is
Interrupts
47
8051 CPU

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents