URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 25 |
Line 18... |
Line 18... |
#define KEYBOARD_CTRL 0 /* keyboard control register */
|
#define KEYBOARD_CTRL 0 /* keyboard control register */
|
#define KEYBOARD_DATA 4 /* keyboard data register */
|
#define KEYBOARD_DATA 4 /* keyboard data register */
|
|
|
#define KEYBOARD_RDY 0x01 /* keyboard has a character */
|
#define KEYBOARD_RDY 0x01 /* keyboard has a character */
|
#define KEYBOARD_IEN 0x02 /* enable keyboard interrupt */
|
#define KEYBOARD_IEN 0x02 /* enable keyboard interrupt */
|
#define KEYBOARD_MSEC 20 /* input checking interval */
|
#define KEYBOARD_USEC 2000 /* input checking interval */
|
|
|
|
|
Word keyboardRead(Word addr);
|
Word keyboardRead(Word addr);
|
void keyboardWrite(Word addr, Word data);
|
void keyboardWrite(Word addr, Word data);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.