/**
* @brief Init ethernet mac
*
- * @note config can not be NULL,and phy chip must be suitable to phy init func.
+ * @note config can not be NULL, and phy chip must be suitable to phy init func.
*
* @param[in] config mac init data.
*
* This function may be called, if you only need to initialize the Ethernet
* driver without having to use the network stack on top.
*
- * @note config can not be NULL,and phy chip must be suitable to phy init func.
+ * @note config can not be NULL, and phy chip must be suitable to phy init func.
* @param[in] config mac init data.
*
* @return
/**
* @brief Send packet from tcp/ip to mac
*
- * @note buf can not be NULL,size must be less than 1580
+ * @note buf can not be NULL, size must be less than 1580
*
* @param[in] buf: start address of packet data.
*
/**
* @brief Enable ethernet interface
*
- * @note Shout be called after esp_eth_init
+ * @note Should be called after esp_eth_init
*
* @return
* - ESP_OK
/**
* @brief Disable ethernet interface
*
- * @note Shout be called after esp_eth_init
+ * @note Should be called after esp_eth_init
*
* @return
* - ESP_OK
void esp_eth_get_mac(uint8_t mac[6]);
/**
- * @brief Read phy reg with smi interface.
+ * @brief Write PHY reg with SMI interface.
*
- * @note phy base addr must be right.
+ * @note PHY base addr must be right.
*
- * @param[in] reg_num: phy reg num.
+ * @param[in] reg_num: PHY reg num.
*
- * @param[in] value: value which write to phy reg.
+ * @param[in] value: value which is written to PHY reg.
*/
void esp_eth_smi_write(uint32_t reg_num, uint16_t value);
/**
- * @brief Read phy reg with smi interface.
+ * @brief Read PHY reg with SMI interface.
*
- * @note phy base addr must be right.
+ * @note PHY base addr must be right.
*
- * @param[in] reg_num: phy reg num.
+ * @param[in] reg_num: PHY reg num.
*
- * @return value what read from phy reg
+ * @return value that is read from PHY reg
*/
uint16_t esp_eth_smi_read(uint32_t reg_num);
/**
* @brief Free emac rx buf.
*
- * @note buf can not be null,and it is tcpip input buf.
+ * @note buf can not be null, and it is tcpip input buf.
*
- * @param[in] buf: start address of recevie packet data.
+ * @param[in] buf: start address of received packet data.
*
*/
void esp_eth_free_rx_buf(void *buf);
/**
* @brief Set mac of ethernet interface.
*
- * @note user can call this function after emac_init,and the new mac address will be enabled after emac_enable.
+ * @note user can call this function after emac_init, and the new mac address will be enabled after emac_enable.
*
* @param[in] mac: the Mac address.
*