Merge branch 'bugfix/eth_lan8720_ci' into 'master'

esp_eth: start/stop and L2 test stability improvements

See merge request espressif/esp-idf!21898
This commit is contained in:
Ondrej Kosta
2023-02-09 15:36:12 +08:00
10 changed files with 274 additions and 207 deletions

View File

@@ -417,6 +417,11 @@ static inline void emac_ll_flush_trans_fifo_enable(emac_dma_dev_t *dma_regs, boo
dma_regs->dmaoperation_mode.flush_tx_fifo = enable;
}
static inline bool emac_ll_get_flush_trans_fifo(emac_dma_dev_t *dma_regs)
{
return dma_regs->dmaoperation_mode.flush_tx_fifo;
}
static inline void emac_ll_set_transmit_threshold(emac_dma_dev_t *dma_regs, uint32_t threshold)
{
dma_regs->dmaoperation_mode.tx_thresh_ctrl = threshold;