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

Fields§

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

Implementations§

source§

impl spi_dev_s__bindgen_ty_16__bindgen_ty_1

source

pub fn infifo_full_err(&self) -> u32

source

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

source

pub fn outfifo_empty_err(&self) -> u32

source

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

source

pub fn ex_qpi(&self) -> u32

source

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

source

pub fn en_qpi(&self) -> u32

source

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

source

pub fn cmd7(&self) -> u32

source

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

source

pub fn cmd8(&self) -> u32

source

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

source

pub fn cmd9(&self) -> u32

source

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

source

pub fn cmda(&self) -> u32

source

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

source

pub fn rd_dma_done(&self) -> u32

source

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

source

pub fn wr_dma_done(&self) -> u32

source

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

source

pub fn rd_buf_done(&self) -> u32

source

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

source

pub fn wr_buf_done(&self) -> u32

source

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

source

pub fn trans_done(&self) -> u32

source

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

source

pub fn dma_seg_trans_done(&self) -> u32

source

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

source

pub fn seg_magic_err(&self) -> u32

source

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

source

pub fn buf_addr_err(&self) -> u32

source

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

source

pub fn cmd_err(&self) -> u32

source

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

source

pub fn mst_rx_afifo_wfull_err(&self) -> u32

source

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

source

pub fn mst_tx_afifo_rempty_err(&self) -> u32

source

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

source

pub fn app2(&self) -> u32

source

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

source

pub fn app1(&self) -> u32

source

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

source

pub fn reserved21(&self) -> u32

source

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

source

pub fn new_bitfield_1( infifo_full_err: u32, outfifo_empty_err: u32, ex_qpi: u32, en_qpi: u32, cmd7: u32, cmd8: u32, cmd9: u32, cmda: u32, rd_dma_done: u32, wr_dma_done: u32, rd_buf_done: u32, wr_buf_done: u32, trans_done: u32, dma_seg_trans_done: u32, seg_magic_err: u32, buf_addr_err: u32, cmd_err: u32, mst_rx_afifo_wfull_err: u32, mst_tx_afifo_rempty_err: u32, app2: u32, app1: u32, reserved21: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

source§

impl Clone for spi_dev_s__bindgen_ty_16__bindgen_ty_1

source§

fn clone(&self) -> spi_dev_s__bindgen_ty_16__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_16__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_16__bindgen_ty_1

source§

fn default() -> spi_dev_s__bindgen_ty_16__bindgen_ty_1

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

impl Copy for spi_dev_s__bindgen_ty_16__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.