1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Core EMAC driver components.
//!
//! This module contains the essential building blocks for configuring and
//! operating the Ethernet MAC controller.
//!
//! # Overview
//!
//! - [`config`]: Configuration types and builder patterns
//! - [`error`]: Error types and result aliases
//! - [`emac`]: The main EMAC controller implementation
//! - [`interrupt`]: Interrupt status handling
//! - [`filtering`]: MAC address, hash, and VLAN filtering
//! - [`flow`]: IEEE 802.3 flow control
//!
//! # Usage
//!
//! ```ignore
//! use ph_esp32_mac::driver::{Emac, EmacConfig};
//!
//! let config = EmacConfig::rmii_esp32_default()
//! .with_mac_address([0x02, 0x00, 0x00, 0x00, 0x00, 0x01]);
//! let mut emac: Emac<10, 10, 1600> = Emac::new();
//! emac.init(config, &mut delay)?;
//! ```
//!
//! # See Also
//!
//! - Integration facades (feature-gated modules under `integration`)
// Submodules
// Re-exports for convenience
pub use ;
pub use ;
pub use ;
pub use InterruptStatus;