#[repr(C)]#[repr(align(4))]pub struct spi_dev_s__bindgen_ty_12__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields
_bitfield_align_1: [u32; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations
sourceimpl spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl spi_dev_s__bindgen_ty_12__bindgen_ty_1
pub fn reserved0(&self) -> u32
pub fn set_reserved0(&mut self, val: u32)
pub fn dma_seg_trans_en(&self) -> u32
pub fn set_dma_seg_trans_en(&mut self, val: u32)
pub fn rx_seg_trans_clr_en(&self) -> u32
pub fn set_rx_seg_trans_clr_en(&mut self, val: u32)
pub fn tx_seg_trans_clr_en(&self) -> u32
pub fn set_tx_seg_trans_clr_en(&mut self, val: u32)
pub fn rx_eof_en(&self) -> u32
pub fn set_rx_eof_en(&mut self, val: u32)
pub fn reserved22(&self) -> u32
pub fn set_reserved22(&mut self, val: u32)
pub fn dma_rx_ena(&self) -> u32
pub fn set_dma_rx_ena(&mut self, val: u32)
pub fn dma_tx_ena(&self) -> u32
pub fn set_dma_tx_ena(&mut self, val: u32)
pub fn rx_afifo_rst(&self) -> u32
pub fn set_rx_afifo_rst(&mut self, val: u32)
pub fn buf_afifo_rst(&self) -> u32
pub fn set_buf_afifo_rst(&mut self, val: u32)
pub fn dma_afifo_rst(&self) -> u32
pub fn set_dma_afifo_rst(&mut self, val: u32)
pub fn new_bitfield_1(
reserved0: u32,
dma_seg_trans_en: u32,
rx_seg_trans_clr_en: u32,
tx_seg_trans_clr_en: u32,
rx_eof_en: u32,
reserved22: u32,
dma_rx_ena: u32,
dma_tx_ena: u32,
rx_afifo_rst: u32,
buf_afifo_rst: u32,
dma_afifo_rst: u32
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
sourceimpl Clone for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Clone for spi_dev_s__bindgen_ty_12__bindgen_ty_1
sourcefn clone(&self) -> spi_dev_s__bindgen_ty_12__bindgen_ty_1
fn clone(&self) -> spi_dev_s__bindgen_ty_12__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Debug for spi_dev_s__bindgen_ty_12__bindgen_ty_1
sourceimpl Default for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Default for spi_dev_s__bindgen_ty_12__bindgen_ty_1
sourcefn default() -> spi_dev_s__bindgen_ty_12__bindgen_ty_1
fn default() -> spi_dev_s__bindgen_ty_12__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for spi_dev_s__bindgen_ty_12__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Send for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Sync for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl Unpin for spi_dev_s__bindgen_ty_12__bindgen_ty_1
impl UnwindSafe for spi_dev_s__bindgen_ty_12__bindgen_ty_1
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more