esp-emac 0.2.0

ESP32 EMAC bare-metal Ethernet MAC driver with DMA, RMII, and MDIO
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-2.0-or-later OR Apache-2.0
// Copyright (c) Viacheslav Bocharov <v@baodeep.com> and JetHome (r)

//! DMA descriptor management for the ESP32 EMAC.
//!
//! Provides TX and RX descriptor types, bit field constants, and a
//! generic circular ring buffer. The DMA engine uses chained descriptors:
//! each descriptor points to a data buffer and the next descriptor.

mod descriptor;
pub mod engine;
mod ring;

pub use descriptor::bits;
pub use descriptor::{RxDescriptor, TxDescriptor, VolatileCell};
pub use engine::DmaEngine;
pub use ring::DescriptorRing;