12345678910111213141516171819202122 |
- #ifndef __STM32F4x7_PHY_H
- #define __STM32F4x7_PHY_H
- #include "interface.h"
- #include "lwip/netif.h"
- #include "lwip_eth.h"
- #define ETHERNET_PHY_ADDRESS ((uint16_t)0x01)
- #define ETH_INIT_FLAG 0x01
- #define ETH_LINK_FLAG 0x10
- void eth_init(void);
- uint32_t Eth_Link_PHYITConfig(uint16_t PHYAddress);
- void Eth_Link_ITHandler(uint16_t PHYAddress);
- void ETH_link_callback(struct netif *netif);
- extern __IO uint32_t EthStatus;
- #endif
|