| 1 |
|
| 2 |
|
| 3 |
#ifndef SUPERIO_NSC_PC87384_H |
| 4 |
#define SUPERIO_NSC_PC87384_H |
| 5 |
|
| 6 |
#define PC87384_PP 0x01 |
| 7 |
#define PC87384_SP2 0x02 |
| 8 |
#define PC87384_SP1 0x03 |
| 9 |
#define PC87384_GPIO 0x07 |
| 10 |
|
| 11 |
#define PC87384_GPIO_PIN_OE 0x01 |
| 12 |
#define PC87384_GPIO_PIN_TYPE_PUSH_PULL 0x02 |
| 13 |
#define PC87384_GPIO_PIN_PULLUP 0x04 |
| 14 |
#define PC87384_GPIO_PIN_LOCK 0x08 |
| 15 |
#define PC87384_GPIO_PIN_TRIG_LEVEL 0x10 |
| 16 |
#define PC87384_GPIO_PIN_TRIG_LOW 0x20 |
| 17 |
#define PC87384_GPIO_PIN_DEBOUNCE 0x40 |
| 18 |
|
| 19 |
#define PC87384_GPIO_PIN_TRIGGERS_IRQ 0x01 |
| 20 |
|
| 21 |
#endif |