Struct Idmabsizer
#[repr(transparent)]pub struct Idmabsizer(pub u32);Expand description
SDMMC IDMA buffer size register.
Tuple Fields§
§0: u32Implementations§
§impl Idmabsizer
impl Idmabsizer
pub const fn idmabndt(&self) -> u16
pub const fn idmabndt(&self) -> u16
Number of bytes per buffer. This 12-bit value must 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 = 0x001: buffer size = 8 words = 32 bytes.
pub const fn set_idmabndt(&mut self, val: u16)
pub const fn set_idmabndt(&mut self, val: u16)
Number of bytes per buffer. This 12-bit value must 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 = 0x001: buffer size = 8 words = 32 bytes.
Trait Implementations§
§impl Clone for Idmabsizer
impl Clone for Idmabsizer
§fn clone(&self) -> Idmabsizer
fn clone(&self) -> Idmabsizer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Idmabsizer
§impl Default for Idmabsizer
impl Default for Idmabsizer
§fn default() -> Idmabsizer
fn default() -> Idmabsizer
Returns the “default value” for a type. Read more
impl Eq for Idmabsizer
§impl PartialEq for Idmabsizer
impl PartialEq for Idmabsizer
impl StructuralPartialEq for Idmabsizer
Auto Trait Implementations§
impl Freeze for Idmabsizer
impl RefUnwindSafe for Idmabsizer
impl Send for Idmabsizer
impl Sync for Idmabsizer
impl Unpin for Idmabsizer
impl UnsafeUnpin for Idmabsizer
impl UnwindSafe for Idmabsizer
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