Port ps2_usb to mbed
This commit is contained in:
parent
80c3ff5fa0
commit
4c8e0fd0bd
15 changed files with 343 additions and 90 deletions
15
protocol/ps2_io.h
Normal file
15
protocol/ps2_io.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue