#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn power(&self) -> &Reg<POWERrs>
pub const fn power(&self) -> &Reg<POWERrs>
0x00 - Bits 1:0 = PWRCTRL: Power supply control bits
Sourcepub const fn resp(&self, n: usize) -> &Reg<RESPrs>
pub const fn resp(&self, n: usize) -> &Reg<RESPrs>
0x14..0x24 - SDIO response %s register
`n` is the index of register in the array. `n == 0` corresponds to `RESP1` register.
Sourcepub fn resp_iter(&self) -> impl Iterator<Item = &Reg<RESPrs>>
pub fn resp_iter(&self) -> impl Iterator<Item = &Reg<RESPrs>>
Iterator for array of: 0x14..0x24 - SDIO response %s register
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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