esp_eth.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Ethernet
  2. ========
  3. Application Example
  4. -------------------
  5. - Ethernet basic example: :example:`ethernet/ethernet`.
  6. - Ethernet iperf example: :example:`ethernet/iperf`.
  7. PHY Interfaces
  8. --------------
  9. The configured PHY model(s) are set in software by configuring the eth_config_t structure for the given PHY.
  10. Headers include a default configuration structure. These default configurations will need some members overriden or re-set before they can be used for a particular PHY hardware configuration. Consult the Ethernet example to see how this is done.
  11. * :component_file:`ethernet/include/eth_phy/phy.h` (common)
  12. * :component_file:`ethernet/include/eth_phy/phy_tlk110.h`
  13. * :component_file:`ethernet/include/eth_phy/phy_lan8720.h`
  14. * :component_file:`ethernet/include/eth_phy/phy_ip101.h`
  15. PHY Configuration Constants
  16. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17. .. doxygenvariable:: phy_tlk110_default_ethernet_config
  18. .. doxygenvariable:: phy_lan8720_default_ethernet_config
  19. .. doxygenvariable:: phy_ip101_default_ethernet_config
  20. API Reference - Ethernet
  21. ------------------------
  22. .. include:: /_build/inc/esp_eth.inc
  23. API Reference - PHY Common
  24. --------------------------
  25. .. include:: /_build/inc/phy.inc
  26. API Reference - PHY TLK110
  27. --------------------------
  28. .. include:: /_build/inc/phy_tlk110.inc
  29. API Reference - PHY LAN8720
  30. ---------------------------
  31. .. include:: /_build/inc/phy_lan8720.inc
  32. API Reference - PHY IP101
  33. -------------------------
  34. .. include:: /_build/inc/phy_ip101.inc