Synchronous USART support for PS/2 on V-USB stack

This commit is contained in:
tmk 2011-02-20 17:46:02 +09:00
parent 239bdbf419
commit 47f5d8b545
11 changed files with 530 additions and 272 deletions

4
ps2.h
View file

@ -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