#[repr(C)]pub struct eth_esp32_emac_config_t {
pub __bindgen_anon_1: eth_esp32_emac_config_t__bindgen_ty_1,
pub interface: eth_data_interface_t,
pub clock_config: eth_mac_clock_config_t,
pub dma_burst_len: eth_mac_dma_burst_len_t,
pub intr_priority: c_int,
}
Expand description
@brief EMAC specific configuration
Fields§
§__bindgen_anon_1: eth_esp32_emac_config_t__bindgen_ty_1
§interface: eth_data_interface_t
< EMAC Data interface to PHY (MII/RMII)
clock_config: eth_mac_clock_config_t
< EMAC Interface clock configuration
dma_burst_len: eth_mac_dma_burst_len_t
< EMAC DMA burst length for both Tx and Rx
intr_priority: c_int
< EMAC interrupt priority, if set to 0 or a negative value, the driver will try to allocate an interrupt with a default priority
Trait Implementations§
Source§impl Clone for eth_esp32_emac_config_t
impl Clone for eth_esp32_emac_config_t
Source§fn clone(&self) -> eth_esp32_emac_config_t
fn clone(&self) -> eth_esp32_emac_config_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for eth_esp32_emac_config_t
impl Default for eth_esp32_emac_config_t
impl Copy for eth_esp32_emac_config_t
Auto Trait Implementations§
impl Freeze for eth_esp32_emac_config_t
impl RefUnwindSafe for eth_esp32_emac_config_t
impl Send for eth_esp32_emac_config_t
impl Sync for eth_esp32_emac_config_t
impl Unpin for eth_esp32_emac_config_t
impl UnwindSafe for eth_esp32_emac_config_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)