mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
Merge branch 'contrib/github_pr_16016' into 'master'
Enable Timestamping for Non-PTP Ethernet frames (GitHub PR) Closes IDFGH-15359 See merge request espressif/esp-idf!39581
This commit is contained in:
@@ -415,6 +415,16 @@ esp_err_t emac_hal_ptp_get_sys_time(emac_hal_context_t *hal, uint32_t *seconds,
|
||||
*/
|
||||
esp_err_t emac_hal_ptp_set_target_time(emac_hal_context_t *hal, uint32_t seconds, uint32_t nano_seconds);
|
||||
|
||||
/**
|
||||
* @brief Enable rx/tx timestamps for all Ethernet frames
|
||||
*
|
||||
* @param hal EMAC HAL context infostructure
|
||||
* @param enable timestamping for non-PTP Ethernet frames
|
||||
* @return
|
||||
* - ESP_OK on success
|
||||
*/
|
||||
esp_err_t emac_hal_ptp_enable_ts4all(emac_hal_context_t *hal, bool enable);
|
||||
|
||||
/**
|
||||
* @brief Get timestamp from receive descriptor
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user