mongoose/examples/pico-sdk/pico-rmii/driver_rp2040_rmii.h
2024-11-08 14:34:33 -03:00

11 lines
339 B
C

#pragma once
struct mg_tcpip_driver_rp2040_rmii_data {
uint8_t rx0; // RX0, RX1, CRS_DV; consecutive GPIO pins
uint8_t tx0; // TX0, TX1, TX-EN; consecutive GPIO pins
uint8_t mdio; // MDIO, MDC; consecutive GPIO pins
uint8_t phy_addr; // PHY address
};
extern struct mg_tcpip_driver mg_tcpip_driver_rp2040_rmii;