#[repr(transparent)]pub struct Bytcnt(pub u32);Expand description
Byte Count register
Tuple Fields§
§0: u32Implementations§
Source§impl Bytcnt
impl Bytcnt
Sourcepub const fn byte_count(&self) -> u32
pub const fn byte_count(&self) -> u32
Number of bytes to be transferred; should be integer multiple of Block Size for block transfers.
Sourcepub const fn set_byte_count(&mut self, val: u32)
pub const fn set_byte_count(&mut self, val: u32)
Number of bytes to be transferred; should be integer multiple of Block Size for block transfers.
Trait Implementations§
impl Copy for Bytcnt
impl Eq for Bytcnt
impl StructuralPartialEq for Bytcnt
Auto Trait Implementations§
impl Freeze for Bytcnt
impl RefUnwindSafe for Bytcnt
impl Send for Bytcnt
impl Sync for Bytcnt
impl Unpin for Bytcnt
impl UnwindSafe for Bytcnt
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