Struct stm32_metapac::quadspi::regs::Ccr
#[repr(transparent)]pub struct Ccr(pub u32);
Expand description
communication configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ccr
impl Ccr
pub const fn instruction(&self) -> u8
pub const fn instruction(&self) -> u8
Instruction
pub fn set_instruction(&mut self, val: u8)
pub fn set_instruction(&mut self, val: u8)
Instruction
pub fn set_admode(&mut self, val: u8)
pub fn set_admode(&mut self, val: u8)
Address mode
pub fn set_adsize(&mut self, val: u8)
pub fn set_adsize(&mut self, val: u8)
Address size
pub fn set_abmode(&mut self, val: u8)
pub fn set_abmode(&mut self, val: u8)
Alternate bytes mode
pub fn set_absize(&mut self, val: u8)
pub fn set_absize(&mut self, val: u8)
Alternate bytes size
Trait Implementations§
impl Copy for Ccr
impl Eq for Ccr
impl StructuralEq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementations§
impl RefUnwindSafe for Ccr
impl Send for Ccr
impl Sync for Ccr
impl Unpin for Ccr
impl UnwindSafe for Ccr
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