#[repr(C)]
#[repr(align(4))]
pub struct spi_dev_s__bindgen_ty_2__bindgen_ty_1 { pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, }

Fields§

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>

Implementations§

source§

impl spi_dev_s__bindgen_ty_2__bindgen_ty_1

source

pub fn reserved0(&self) -> u32

source

pub fn set_reserved0(&mut self, val: u32)

source

pub fn dummy_out(&self) -> u32

source

pub fn set_dummy_out(&mut self, val: u32)

source

pub fn reserved4(&self) -> u32

source

pub fn set_reserved4(&mut self, val: u32)

source

pub fn faddr_dual(&self) -> u32

source

pub fn set_faddr_dual(&mut self, val: u32)

source

pub fn faddr_quad(&self) -> u32

source

pub fn set_faddr_quad(&mut self, val: u32)

source

pub fn reserved7(&self) -> u32

source

pub fn set_reserved7(&mut self, val: u32)

source

pub fn fcmd_dual(&self) -> u32

source

pub fn set_fcmd_dual(&mut self, val: u32)

source

pub fn fcmd_quad(&self) -> u32

source

pub fn set_fcmd_quad(&mut self, val: u32)

source

pub fn reserved10(&self) -> u32

source

pub fn set_reserved10(&mut self, val: u32)

source

pub fn fread_dual(&self) -> u32

source

pub fn set_fread_dual(&mut self, val: u32)

source

pub fn fread_quad(&self) -> u32

source

pub fn set_fread_quad(&mut self, val: u32)

source

pub fn reserved16(&self) -> u32

source

pub fn set_reserved16(&mut self, val: u32)

source

pub fn reserved17(&self) -> u32

source

pub fn set_reserved17(&mut self, val: u32)

source

pub fn q_pol(&self) -> u32

source

pub fn set_q_pol(&mut self, val: u32)

source

pub fn d_pol(&self) -> u32

source

pub fn set_d_pol(&mut self, val: u32)

source

pub fn hold_pol(&self) -> u32

source

pub fn set_hold_pol(&mut self, val: u32)

source

pub fn wp_pol(&self) -> u32

source

pub fn set_wp_pol(&mut self, val: u32)

source

pub fn reserved22(&self) -> u32

source

pub fn set_reserved22(&mut self, val: u32)

source

pub fn rd_bit_order(&self) -> u32

source

pub fn set_rd_bit_order(&mut self, val: u32)

source

pub fn wr_bit_order(&self) -> u32

source

pub fn set_wr_bit_order(&mut self, val: u32)

source

pub fn reserved27(&self) -> u32

source

pub fn set_reserved27(&mut self, val: u32)

source

pub fn new_bitfield_1( reserved0: u32, dummy_out: u32, reserved4: u32, faddr_dual: u32, faddr_quad: u32, reserved7: u32, fcmd_dual: u32, fcmd_quad: u32, reserved10: u32, fread_dual: u32, fread_quad: u32, reserved16: u32, reserved17: u32, q_pol: u32, d_pol: u32, hold_pol: u32, wp_pol: u32, reserved22: u32, rd_bit_order: u32, wr_bit_order: u32, reserved27: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

source§

impl Clone for spi_dev_s__bindgen_ty_2__bindgen_ty_1

source§

fn clone(&self) -> spi_dev_s__bindgen_ty_2__bindgen_ty_1

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for spi_dev_s__bindgen_ty_2__bindgen_ty_1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for spi_dev_s__bindgen_ty_2__bindgen_ty_1

source§

fn default() -> spi_dev_s__bindgen_ty_2__bindgen_ty_1

Returns the “default value” for a type. Read more
source§

impl Copy for spi_dev_s__bindgen_ty_2__bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for Twhere U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.