Struct stm32_metapac::hspi::regs::Wccr
#[repr(transparent)]pub struct Wccr(pub u32);
Expand description
HSPI write communication configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Wccr
impl Wccr
pub const fn imode(&self) -> u8
pub const fn imode(&self) -> u8
Instruction mode This field defines the instruction phase mode of operation. 101-111: Reserved.
pub fn set_imode(&mut self, val: u8)
pub fn set_imode(&mut self, val: u8)
Instruction mode This field defines the instruction phase mode of operation. 101-111: Reserved.
pub const fn idtr(&self) -> bool
pub const fn idtr(&self) -> bool
Instruction double transfer rate This bit sets the DTR mode for the instruction phase.
pub fn set_idtr(&mut self, val: bool)
pub fn set_idtr(&mut self, val: bool)
Instruction double transfer rate This bit sets the DTR mode for the instruction phase.
pub const fn admode(&self) -> u8
pub const fn admode(&self) -> u8
Address mode This field defines the address phase mode of operation. 101-111: Reserved.
pub fn set_admode(&mut self, val: u8)
pub fn set_admode(&mut self, val: u8)
Address mode This field defines the address phase mode of operation. 101-111: Reserved.
pub const fn addtr(&self) -> bool
pub const fn addtr(&self) -> bool
Address double transfer rate This bit sets the DTR mode for the address phase.
pub fn set_addtr(&mut self, val: bool)
pub fn set_addtr(&mut self, val: bool)
Address double transfer rate This bit sets the DTR mode for the address phase.
pub fn set_adsize(&mut self, val: u8)
pub fn set_adsize(&mut self, val: u8)
Address size This field defines address size.
pub const fn abmode(&self) -> u8
pub const fn abmode(&self) -> u8
Alternate-byte mode This field defines the alternate-byte phase mode of operation. 101-111: Reserved.
pub fn set_abmode(&mut self, val: u8)
pub fn set_abmode(&mut self, val: u8)
Alternate-byte mode This field defines the alternate-byte phase mode of operation. 101-111: Reserved.
pub const fn abdtr(&self) -> bool
pub const fn abdtr(&self) -> bool
Alternate bytes double-transfer rate This bit sets the DTR mode for the alternate-bytes phase.
pub fn set_abdtr(&mut self, val: bool)
pub fn set_abdtr(&mut self, val: bool)
Alternate bytes double-transfer rate This bit sets the DTR mode for the alternate-bytes phase.
pub fn set_absize(&mut self, val: u8)
pub fn set_absize(&mut self, val: u8)
Alternate bytes size This field defines alternate bytes size:.
pub const fn ddtr(&self) -> bool
pub const fn ddtr(&self) -> bool
data double transfer rate This bit sets the DTR mode for the data phase.
Trait Implementations§
impl Copy for Wccr
impl Eq for Wccr
impl StructuralPartialEq for Wccr
Auto Trait Implementations§
impl Freeze for Wccr
impl RefUnwindSafe for Wccr
impl Send for Wccr
impl Sync for Wccr
impl Unpin for Wccr
impl UnwindSafe for Wccr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)