Relocate PS2 code (#14895)

* Relocate ps2 protocol code

* clang

* Move makefile logic
This commit is contained in:
Joel Challis
2021-10-20 21:18:49 +01:00
committed by GitHub
parent 5500c428dd
commit d4be4b67a2
11 changed files with 38 additions and 32 deletions

11
drivers/ps2/ps2_io.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
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);