The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN
HANEL

SERIAL COMMUNI-CATION INTERRUPT Interrupt Flag Bits


‰The TCON register holds four of the interrupt flags, in the 8051 the SCON register has the RI and TI flagsInterrupt Flag Bits


T2CON.6 (AT89C52)

EXF2

Timer 2

T2CON.7 (AT89C52)

TF2

Timer 2

SCON.1

T1

Serial Port

TCON.7

TF1

Timer 1

TCON.5

TF0

Timer 0

TCON.3

IE1

External 1

TCON.1

IE0

External 0

SFR Register Bit

Flag

Interrupt
Free download pdf