2021-07-21 18:30:55 +00:00
|
|
|
#ifndef PIC_H
|
|
|
|
#define PIC_H
|
|
|
|
|
|
|
|
#define MASTER_PIC_A 0x20
|
|
|
|
#define MASTER_PIC_B 0x21
|
|
|
|
#define SLAVE_PIC_A 0xa0
|
|
|
|
#define SLAVE_PIC_B 0xa1
|
|
|
|
|
|
|
|
#define ICW1 0x11
|
|
|
|
|
|
|
|
void init_pic(void);
|
2021-07-25 22:24:04 +00:00
|
|
|
void acknowledge(uint32_t int_vector);
|
2021-07-21 18:30:55 +00:00
|
|
|
|
|
|
|
#endif /* !PIC_H */
|