Synchronous USART support for PS/2 on V-USB stack
This commit is contained in:
parent
239bdbf419
commit
47f5d8b545
11 changed files with 530 additions and 272 deletions
4
ps2.h
4
ps2.h
|
@ -56,6 +56,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
# error "PS/2 data port setting is required in config.h"
|
||||
#endif
|
||||
|
||||
#define PS2_ACK 0xFA
|
||||
#define PS2_RESEND 0xFE
|
||||
#define PS2_SET_LED 0xED
|
||||
|
||||
#define PS2_ERR_NONE 0
|
||||
#define PS2_ERR_PARITY 0x10
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue