Expand description
Configure legacy PIC 8259
Structsยง
- Interrupt ports of the PIC
Constantsยง
- PIC1_CMD ๐
- PIC1_DATA ๐
- PIC1_OFFSET ๐
- PIC2_CMD ๐
- PIC2_DATA ๐
- PIC2_OFFSET ๐
- PIC_CMD_EOI ๐Command sent to acknowledge an interrupt.
- PIC_CMD_INIT ๐Command sent to begin PIC initialization.
- PIC_MODE_8086 ๐8086/8088 or 8085 mode.
- PIC_MODE_AUTO_EOI ๐Single or multiple (cascade mode) 8259A
Functionsยง
- Disable the PIC
- Set the End Of Interrupt bit to allow new interrupts.
- Initialize the chained 8259 PICs as shown below.