Struct esp_idf_sys::eth_dm9051_config_t
source · #[repr(C)]pub struct eth_dm9051_config_t {
pub int_gpio_num: c_int,
pub poll_period_ms: u32,
pub spi_host_id: spi_host_device_t,
pub spi_devcfg: *mut spi_device_interface_config_t,
pub custom_spi_driver: eth_spi_custom_driver_config_t,
}
Expand description
@brief DM9051 specific configuration
Fields§
§int_gpio_num: c_int
< Interrupt GPIO number, set -1 to not use interrupt and to poll rx status periodically
poll_period_ms: u32
< Period in ms to poll rx status when interrupt mode is not used
spi_host_id: spi_host_device_t
< SPI peripheral (this field is invalid when custom SPI driver is defined)
spi_devcfg: *mut spi_device_interface_config_t
< SPI device configuration (this field is invalid when custom SPI driver is defined)
custom_spi_driver: eth_spi_custom_driver_config_t
< Custom SPI driver definitions
Trait Implementations§
source§impl Clone for eth_dm9051_config_t
impl Clone for eth_dm9051_config_t
source§fn clone(&self) -> eth_dm9051_config_t
fn clone(&self) -> eth_dm9051_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 Debug for eth_dm9051_config_t
impl Debug for eth_dm9051_config_t
source§impl Default for eth_dm9051_config_t
impl Default for eth_dm9051_config_t
impl Copy for eth_dm9051_config_t
Auto Trait Implementations§
impl Freeze for eth_dm9051_config_t
impl RefUnwindSafe for eth_dm9051_config_t
impl !Send for eth_dm9051_config_t
impl !Sync for eth_dm9051_config_t
impl Unpin for eth_dm9051_config_t
impl UnwindSafe for eth_dm9051_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,
§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
)§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
)