pub struct R(/* private fields */);
Expand description
Register DLENR
reader
Implementations§
source§impl R
impl R
sourcepub fn datalength(&self) -> FieldReaderRaw<u32, u32>
pub fn datalength(&self) -> FieldReaderRaw<u32, u32>
Bits 0:24 - Data length value This register can only be written by firmware when DPSM is inactive (DPSMACT = 0). Number of data bytes to be transferred. When DDR = 1 DATALENGTH is truncated to a multiple of 2. (The last odd byte is not transfered) When DATALENGTH = 0 no data will be transfered, when requested by a CPSMEN and CMDTRANS = 1 also no command will be transfered. DTEN and CPSMEN are cleared to 0.
Methods from Deref<Target = R<DLENR_SPEC>>§
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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