Interrupts
www.ti.com
TCON (0x88) – Interrupt Flags
Bit Name Reset R/W Description
7
URX1IF
0 R/W USART 1 RX interrupt flag. Set to 1 when USART 1 RX interrupt occurs and cleared
H0 when CPU vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
6 – 0 R/W Reserved
5
ADCIF
0 R/W ADC interrupt flag. Set to 1 when ADC interrupt occurs and cleared when CPU
H0 vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
4 – 0 R/W Reserved
3
URX0IF
0 R/W USART 0 RX interrupt flag. Set to 1 when USART 0 interrupt occurs and cleared
H0 when CPU vectors to the interrupt service routine.
0: Interrupt not pending
1:Interrupt pending
2
IT1
1 R/W Reserved. Must always be set to 1. Setting a zero enables low-level interrupt
detection, which is almost always the case (one-shot when interrupt request is
initiated).
1
RFERRIF
0 R/W RF core error interrupt flag. Set to 1 when RFERR interrupt occurs and cleared
H0 when CPU vectors to the interrupt service routine.
0: Interrupt not pending
1: Interrupt pending
0
IT0
1 R/W Reserved. Must always be set to 1. Setting a zero enables low-level interrupt
detection, which is almost always the case (one-shot when interrupt request is
initiated).
S0CON (0x98) – Interrupt Flags 2
Bit Name Reset R/W Description
7:2 – 0000 00 R/W Reserved
1
ENCIF_1
0 R/W AES interrupt. ENC has two interrupt flags, ENCIF_1 and ENCIF_0. Setting one of
these flags requests interrupt service. Both flags are set when the AES coprocessor
requests the interrupt.
0: Interrupt not pending
1: Interrupt pending
0
ENCIF_0
0 R/W AES interrupt. ENC has two interrupt flags, ENCIF_1 and ENCIF_0. Setting one of
these flags requests interrupt service. Both flags are set when the AES coprocessor
requests the interrupt.
0: Interrupt not pending
1: Interrupt pending
S1CON (0x9B) – Interrupt Flags 3
Bit Name Reset R/W Description
7:2 – 0000 00 R/W Reserved
1
RFIF_1
0 R/W RF general interrupt. RF has two interrupt flags, RFIF_1 and RFIF_0. Setting one of
these flags requests interrupt service. Both flags are set when the radio requests the
interrupt.
0: Interrupt not pending
1: Interrupt pending
0
RFIF_0
0 R/W RF general interrupt. RF has two interrupt flags, RFIF_1 and RFIF_0. Setting one of
these flags requests interrupt service. Both flags are set when the radio requests the
interrupt.
0: Interrupt not pending
1: Interrupt pending
48
8051 CPU SWRU191C–April 2009–Revised January 2012
Submit Documentation Feedback
Copyright © 2009–2012, Texas Instruments Incorporated