2021-06-20 00:14:09 +02:00
|
|
|
#ifndef WLED_ETHERNET_H
|
|
|
|
#define WLED_ETHERNET_H
|
|
|
|
|
|
|
|
#ifdef WLED_USE_ETHERNET
|
|
|
|
// settings for various ethernet boards
|
|
|
|
typedef struct EthernetSettings {
|
|
|
|
uint8_t eth_address;
|
|
|
|
int eth_power;
|
|
|
|
int eth_mdc;
|
|
|
|
int eth_mdio;
|
|
|
|
eth_phy_type_t eth_type;
|
|
|
|
eth_clock_mode_t eth_clk_mode;
|
|
|
|
} ethernet_settings;
|
|
|
|
|
2021-06-20 15:13:38 +02:00
|
|
|
extern ethernet_settings ethernetBoards[];
|
2021-06-20 00:14:09 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|