Struct Dcxcnt
#[repr(transparent)]pub struct Dcxcnt(pub u32);
Expand description
DCX configuration
Tuple Fields§
§0: u32
Implementations§
§impl Dcxcnt
impl Dcxcnt
pub const fn dcxcnt(&self) -> u8
pub const fn dcxcnt(&self) -> u8
This register specifies the number of command bytes preceding the data bytes. The PSEL.DCX line will be low during transmission of command bytes and high during transmission of data bytes. Value 0xF indicates that all bytes are command bytes.
pub fn set_dcxcnt(&mut self, val: u8)
pub fn set_dcxcnt(&mut self, val: u8)
This register specifies the number of command bytes preceding the data bytes. The PSEL.DCX line will be low during transmission of command bytes and high during transmission of data bytes. Value 0xF indicates that all bytes are command bytes.
Trait Implementations§
impl Copy for Dcxcnt
impl Eq for Dcxcnt
impl StructuralPartialEq for Dcxcnt
Auto Trait Implementations§
impl Freeze for Dcxcnt
impl RefUnwindSafe for Dcxcnt
impl Send for Dcxcnt
impl Sync for Dcxcnt
impl Unpin for Dcxcnt
impl UnwindSafe for Dcxcnt
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)