Struct riot_sys::spi_gpio_mode_t
source · #[repr(C)]pub struct spi_gpio_mode_t {
pub mosi: gpio_mode_t,
pub miso: gpio_mode_t,
pub sclk: gpio_mode_t,
}
Expand description
@brief SPI gpio mode
Fields§
§mosi: gpio_mode_t
< GPIO mode used for MOSI pin
miso: gpio_mode_t
< GPIO mode used for MISO pin
sclk: gpio_mode_t
< GPIO mode used for SCLK pin
Trait Implementations§
source§impl Clone for spi_gpio_mode_t
impl Clone for spi_gpio_mode_t
source§fn clone(&self) -> spi_gpio_mode_t
fn clone(&self) -> spi_gpio_mode_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for spi_gpio_mode_t
impl Debug for spi_gpio_mode_t
source§impl Default for spi_gpio_mode_t
impl Default for spi_gpio_mode_t
impl Copy for spi_gpio_mode_t
Auto Trait Implementations§
impl RefUnwindSafe for spi_gpio_mode_t
impl Send for spi_gpio_mode_t
impl Sync for spi_gpio_mode_t
impl Unpin for spi_gpio_mode_t
impl UnwindSafe for spi_gpio_mode_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more