summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_ps2_phy.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/pico/src/ph_ps2_phy.h')
-rw-r--r--hid/pico/src/ph_ps2_phy.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/hid/pico/src/ph_ps2_phy.h b/hid/pico/src/ph_ps2_phy.h
deleted file mode 100644
index a6a0fc13..00000000
--- a/hid/pico/src/ph_ps2_phy.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-
-#include "ph_types.h"
-#include "hardware/pio.h"
-#include "pico/util/queue.h"
-
-typedef void (*rx_callback)(u8 byte, u8 prev_byte);
-
-typedef struct {
- PIO pio;
- uint sm;
- queue_t qbytes;
- queue_t qpacks;
- rx_callback rx;
- u8 last_rx;
- u8 last_tx;
- u8 sent;
- u8 busy;
-} ph_ps2_phy;
-
-void ph_ps2_phy_init(ph_ps2_phy* this, PIO pio, u8 data_pin, rx_callback rx);
-void ph_ps2_phy_task(ph_ps2_phy* this); \ No newline at end of file