mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
Add MG_TCPIP_PHY_CONF
This commit is contained in:
1 parent
44b3d60692
commit
ffeff3ab69
3 files changed
+18
-8
No files matched your search
+4
-4
@@ -9,10 +9,10 @@ struct mg_phy {
|
||||
|
||||
// PHY configuration settings, bitmask
|
||||
enum {
|
||||
MG_PHY_LEDS_ACTIVE_HIGH =
|
||||
(1 << 0), // Set if PHY LEDs are connected to ground
|
||||
MG_PHY_CLOCKS_MAC =
|
||||
(1 << 1) // Set when PHY clocks MAC. Otherwise, MAC clocks PHY
|
||||
// Set if PHY LEDs are connected to ground
|
||||
MG_PHY_LEDS_ACTIVE_HIGH = (1 << 0),
|
||||
// Set when PHY clocks MAC. Otherwise, MAC clocks PHY
|
||||
MG_PHY_CLOCKS_MAC = (1 << 1),
|
||||
};
|
||||
|
||||
enum { MG_PHY_SPEED_10M, MG_PHY_SPEED_100M, MG_PHY_SPEED_1000M };
|
||||
|
||||
Reference in new issue
Block a user