1
0
Fork 0

Port ps2_usb to mbed

This commit is contained in:
tmk 2014-06-19 16:13:35 +09:00
parent 80c3ff5fa0
commit 4c8e0fd0bd
15 changed files with 343 additions and 90 deletions

15
protocol/ps2_io.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef PS2_IO_H
#define PS2_IO_H
void clock_init(void);
void clock_lo(void);
void clock_hi(void);
bool clock_in(void);
void data_init(void);
void data_lo(void);
void data_hi(void);
bool data_in(void);
#endif