aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1/ethernet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libopencm3/stm32/f1/ethernet.h')
-rw-r--r--include/libopencm3/stm32/f1/ethernet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f1/ethernet.h b/include/libopencm3/stm32/f1/ethernet.h
index 08edd84..7fa437f 100644
--- a/include/libopencm3/stm32/f1/ethernet.h
+++ b/include/libopencm3/stm32/f1/ethernet.h
@@ -200,4 +200,11 @@
#define ETH_DMAIER_AISE 0x00008000
#define ETH_DMAIER_NSIE 0x00010000
+BEGIN_DECLS
+
+void eth_smi_write(u8 phy, u8 reg, u16 data);
+u16 eth_smi_read(u8 phy, u8 reg);
+
+END_DECLS
+
#endif