Struct esp_idf_sys::eth_esp32_emac_config_t
source · #[repr(C)]pub struct eth_esp32_emac_config_t {
pub smi_mdc_gpio_num: c_int,
pub smi_mdio_gpio_num: c_int,
pub interface: eth_data_interface_t,
pub clock_config: eth_mac_clock_config_t,
pub dma_burst_len: eth_mac_dma_burst_len_t,
}
Expand description
@brief EMAC specific configuration
Fields§
§smi_mdc_gpio_num: c_int
< SMI MDC GPIO number, set to -1 could bypass the SMI GPIO configuration
smi_mdio_gpio_num: c_int
< SMI MDIO GPIO number, set to -1 could bypass the SMI GPIO configuration
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
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)