#[repr(C)]#[repr(align(4))]pub struct spi_dev_s__bindgen_ty_17__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
sourceimpl spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl spi_dev_s__bindgen_ty_17__bindgen_ty_1
pub fn clk_mode(&self) -> u32
pub fn set_clk_mode(&mut self, val: u32)
pub fn clk_mode_13(&self) -> u32
pub fn set_clk_mode_13(&mut self, val: u32)
pub fn rsck_data_out(&self) -> u32
pub fn set_rsck_data_out(&mut self, val: u32)
pub fn reserved4(&self) -> u32
pub fn set_reserved4(&mut self, val: u32)
pub fn rddma_bitlen_en(&self) -> u32
pub fn set_rddma_bitlen_en(&mut self, val: u32)
pub fn wrdma_bitlen_en(&self) -> u32
pub fn set_wrdma_bitlen_en(&mut self, val: u32)
pub fn rdbuf_bitlen_en(&self) -> u32
pub fn set_rdbuf_bitlen_en(&mut self, val: u32)
pub fn wrbuf_bitlen_en(&self) -> u32
pub fn set_wrbuf_bitlen_en(&mut self, val: u32)
pub fn reserved12(&self) -> u32
pub fn set_reserved12(&mut self, val: u32)
pub fn dma_seg_magic_value(&self) -> u32
pub fn set_dma_seg_magic_value(&mut self, val: u32)
pub fn slave_mode(&self) -> u32
pub fn set_slave_mode(&mut self, val: u32)
pub fn soft_reset(&self) -> u32
pub fn set_soft_reset(&mut self, val: u32)
pub fn usr_conf(&self) -> u32
pub fn set_usr_conf(&mut self, val: u32)
pub fn reserved29(&self) -> u32
pub fn set_reserved29(&mut self, val: u32)
pub fn new_bitfield_1(
clk_mode: u32,
clk_mode_13: u32,
rsck_data_out: u32,
reserved4: u32,
rddma_bitlen_en: u32,
wrdma_bitlen_en: u32,
rdbuf_bitlen_en: u32,
wrbuf_bitlen_en: u32,
reserved12: u32,
dma_seg_magic_value: u32,
slave_mode: u32,
soft_reset: u32,
usr_conf: u32,
reserved29: u32
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
sourceimpl Clone for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl Clone for spi_dev_s__bindgen_ty_17__bindgen_ty_1
sourcefn clone(&self) -> spi_dev_s__bindgen_ty_17__bindgen_ty_1
fn clone(&self) -> spi_dev_s__bindgen_ty_17__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_17__bindgen_ty_1
impl Debug for spi_dev_s__bindgen_ty_17__bindgen_ty_1
sourceimpl Default for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl Default for spi_dev_s__bindgen_ty_17__bindgen_ty_1
sourcefn default() -> spi_dev_s__bindgen_ty_17__bindgen_ty_1
fn default() -> spi_dev_s__bindgen_ty_17__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for spi_dev_s__bindgen_ty_17__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl Send for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl Sync for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl Unpin for spi_dev_s__bindgen_ty_17__bindgen_ty_1
impl UnwindSafe for spi_dev_s__bindgen_ty_17__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