mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-04 11:55:21 +02:00
docs: Generate Doxygen directives for API documentation
This is to resolve issue reported in https://github.com/espressif/esp-idf/issues/130.
This commit is contained in:
@@ -6,69 +6,42 @@ Application Example
|
||||
|
||||
Ethernet example: :example:`ethernet/ethernet`.
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
Header Files
|
||||
^^^^^^^^^^^^
|
||||
|
||||
* :component_file:`ethernet/include/esp_eth.h`
|
||||
* :component_file:`ethernet/include/phy/phy.h`
|
||||
|
||||
PHY Interfaces
|
||||
^^^^^^^^^^^^^^
|
||||
--------------
|
||||
|
||||
The configured PHY model(s) are set in software by configuring the eth_config_t structure for the given PHY.
|
||||
|
||||
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.
|
||||
|
||||
* :component_file:`ethernet/include/phy/phy_tlk110.h`
|
||||
* :component_file:`ethernet/include/phy/phy_lan8720.h`
|
||||
|
||||
Type Definitions
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
.. doxygentypedef:: eth_phy_check_link_func
|
||||
.. doxygentypedef:: eth_phy_check_init_func
|
||||
.. doxygentypedef:: eth_phy_get_speed_mode_func
|
||||
.. doxygentypedef:: eth_phy_get_duplex_mode_func
|
||||
.. doxygentypedef:: eth_phy_func
|
||||
.. doxygentypedef:: eth_tcpip_input_func
|
||||
.. doxygentypedef:: eth_gpio_config_func
|
||||
.. doxygentypedef:: eth_phy_get_partner_pause_enable_func
|
||||
|
||||
Enumerations
|
||||
^^^^^^^^^^^^
|
||||
|
||||
.. doxygenenum:: eth_mode_t
|
||||
.. doxygenenum:: eth_speed_mode_t
|
||||
.. doxygenenum:: eth_duplex_mode_t
|
||||
.. doxygenenum:: eth_phy_base_t
|
||||
|
||||
Structures
|
||||
^^^^^^^^^^
|
||||
|
||||
.. doxygenstruct:: eth_config_t
|
||||
:members:
|
||||
|
||||
|
||||
Functions
|
||||
^^^^^^^^^
|
||||
|
||||
.. doxygenfunction:: esp_eth_init
|
||||
.. doxygenfunction:: esp_eth_tx
|
||||
.. doxygenfunction:: esp_eth_enable
|
||||
.. doxygenfunction:: esp_eth_disable
|
||||
.. doxygenfunction:: esp_eth_get_mac
|
||||
.. doxygenfunction:: esp_eth_smi_write
|
||||
.. doxygenfunction:: esp_eth_smi_read
|
||||
.. doxygenfunction:: esp_eth_smi_wait_value
|
||||
.. doxygenfunction:: esp_eth_smi_wait_set
|
||||
.. doxygenfunction:: esp_eth_free_rx_buf
|
||||
|
||||
* :component_file:`ethernet/include/eth_phy/phy.h` (common)
|
||||
* :component_file:`ethernet/include/eth_phy/phy_tlk110.h`
|
||||
* :component_file:`ethernet/include/eth_phy/phy_lan8720.h`
|
||||
|
||||
PHY Configuration Constants
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. doxygenvariable:: phy_tlk110_default_ethernet_config
|
||||
.. doxygenvariable:: phy_lan8720_default_ethernet_config
|
||||
|
||||
|
||||
API Reference - Ethernet
|
||||
------------------------
|
||||
|
||||
.. include:: /_build/inc/esp_eth.inc
|
||||
|
||||
API Reference - PHY Common
|
||||
--------------------------
|
||||
|
||||
.. include:: /_build/inc/phy.inc
|
||||
|
||||
API Reference - PHY TLK110
|
||||
--------------------------
|
||||
|
||||
.. include:: /_build/inc/phy_tlk110.inc
|
||||
|
||||
API Reference - PHY LAN8720
|
||||
---------------------------
|
||||
|
||||
.. include:: /_build/inc/phy_lan8720.inc
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user