Struct stm32_hal2::pac::sdmmc1::idmabsizer::R
source · [−]pub struct R(_);
Expand description
Register IDMABSIZER
reader
Implementations
sourceimpl R
impl R
sourcepub fn idmabndt(&self) -> FieldReaderRaw<u8, u8>
pub fn idmabndt(&self) -> FieldReaderRaw<u8, u8>
Bits 5:12 - Number of transfers per buffer. This 8-bit value shall be multiplied by 8 to get the size of the buffer in 32-bit words and by 32 to get the size of the buffer in bytes. Example: IDMABNDT = 0x01: buffer size = 8 words = 32 bytes. These bits can only be written by firmware when DPSM is inactive (DPSMACT = 0).
Methods from Deref<Target = R<IDMABSIZER_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<IDMABSIZER_SPEC>> for R
impl From<R<IDMABSIZER_SPEC>> for R
sourcefn from(reader: R<IDMABSIZER_SPEC>) -> R
fn from(reader: R<IDMABSIZER_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more