Project

General

Profile

Statistics
| Revision:

root / lab4 / lab3 / i8042.h @ 13

History | View | Annotate | Download (313 Bytes)

1
/*  #ifndef I8042_H
2
#define I8042_H  */
3

    
4
#define IRQ_KB 1
5
#define DELAY_US 20000
6
#define EXIT_CODE 0x81
7
#define READ_CMD 0x20
8
#define IN_BUF 0x64
9
#define I_O_BUFFER 0x60
10
#define O_BUFFER_FULL 0x01
11
#define PAR_ERR 0x80
12
#define TWO_BYTES 0xe0
13
/* #define OBF BIT(0)
14
#define TO_ERR BIT(6) */
15

    
16

    
17
//#endif /* I8042_H */