Presentation is loading. Please wait.

Presentation is loading. Please wait.

8051 Interrupts.  Contrast edge-triggered with level-triggered interrupts  Program the 8051 for interrupt-based serial communication  Define the interrupt.

Similar presentations


Presentation on theme: "8051 Interrupts.  Contrast edge-triggered with level-triggered interrupts  Program the 8051 for interrupt-based serial communication  Define the interrupt."— Presentation transcript:

1 8051 Interrupts

2  Contrast edge-triggered with level-triggered interrupts  Program the 8051 for interrupt-based serial communication  Define the interrupt priority of the 8051

3 Six interrupts in the 8051

4 Step in enabling an interrupt

5

6 PROGRAMMING TIMER INTERRUPTS

7 Roll-over timer flag and interrupt JNB TF, target

8

9

10

11

12 Programming external hardware interrupts

13

14

15 Sampling the low level-triggered interrupt

16 Edge-triggered interrupts

17

18

19 Sampling the edge-triggered interrupt

20 RI and TI flags and interrupts

21 Use of serial COM in the 8051

22

23

24 Clearing RI and TI before the RETI instruction CLR TI ; CLR RI

25

26

27 Interrupt priority upon reset

28

29

30 Setting interrupt priority with the IP register

31


Download ppt "8051 Interrupts.  Contrast edge-triggered with level-triggered interrupts  Program the 8051 for interrupt-based serial communication  Define the interrupt."

Similar presentations


Ads by Google