Struct Config
#[repr(transparent)]pub struct Config(pub u32);Expand description
CONFIG register.
Tuple Fields§
§0: u32Implementations§
§impl Config
impl Config
pub const fn dis_group_write(&self) -> bool
pub const fn dis_group_write(&self) -> bool
Burst write Control: - 0 : burst write allowed - 1 : burst write forbidden.
pub fn set_dis_group_write(&mut self, val: bool)
pub fn set_dis_group_write(&mut self, val: bool)
Burst write Control: - 0 : burst write allowed - 1 : burst write forbidden.
pub const fn wait_states(&self) -> u8
pub const fn wait_states(&self) -> u8
Number of wait states to be inserted on Flash read (AHB accesses).
pub fn set_wait_states(&mut self, val: u8)
pub fn set_wait_states(&mut self, val: u8)
Number of wait states to be inserted on Flash read (AHB accesses).
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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