Struct stm32_metapac::fmc::regs::Sdsr
#[repr(transparent)]pub struct Sdsr(pub u32);
Expand description
SDRAM status register.
Tuple Fields§
§0: u32
Implementations§
§impl Sdsr
impl Sdsr
pub fn set_re(&mut self, val: bool)
pub fn set_re(&mut self, val: bool)
Refresh error flag An interrupt is generated if REIE = 1 and RE = 1.
pub const fn modes(&self, n: usize) -> Modes
pub const fn modes(&self, n: usize) -> Modes
Status Mode for Bank 1 This bit defines the Status Mode of SDRAM Bank 1.
pub fn set_modes(&mut self, n: usize, val: Modes)
pub fn set_modes(&mut self, n: usize, val: Modes)
Status Mode for Bank 1 This bit defines the Status Mode of SDRAM Bank 1.
Trait Implementations§
impl Copy for Sdsr
impl Eq for Sdsr
impl StructuralPartialEq for Sdsr
Auto Trait Implementations§
impl Freeze for Sdsr
impl RefUnwindSafe for Sdsr
impl Send for Sdsr
impl Sync for Sdsr
impl Unpin for Sdsr
impl UnwindSafe for Sdsr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)