background image

Programowalny kontroler

przerwań 8259

Dariusz Chaberski

background image

§ Block Diagram

2

background image

§ Interface to Standard System Bus

3

background image

§ Cascading the 8259

4

background image

§ INTERRUPT SEQUENCE OUTPUTS

+ MCS-80 MCS-85 Mode

3 Content of First Interrupt Vector Byte

3 Content of Second Interrupt Vector Byte

3 Content of Third Interrupt Vector Byte

5

background image

§

+ 8086 8088 Mode

3 Content of Interrupt Vector Byte for 8086 System Mode

6

background image

§ Programowanie

+ Initialization Command Words (ICWs) ICW1, .., ICW4

3 A0 = 0 and D4 = 1 - rozpoczęcie sekwencji inicjalizującej

+ Operation Command Words (OCWs) OCW1, ..., OCW3

7

background image

§ Initialization Sequence

8

background image

§ Initialization Command Words

+ ICW1

9

background image

§

+ ICW2

10

background image

§

+ ICW3 (Master Device)

+ ICW3 (Slave Device)

11

background image

§

+ ICW4

12

background image

§ Operation Control Words

§ OCW1

13

background image

§

+ OCW2

14

background image

§

+ OCW3

15

background image

§

+ Poll Command

16

background image

§ Automatic Rotation (Equal Priority Devices)

17

background image

§ IR Triggering Timing Requirements

18