Struct stm32_metapac::fsmc::regs::Bcr
#[repr(transparent)]pub struct Bcr(pub u32);
Expand description
SRAM/NOR-Flash chip-select control register
Tuple Fields§
§0: u32
Implementations§
§impl Bcr
impl Bcr
pub fn set_faccen(&mut self, val: bool)
pub fn set_faccen(&mut self, val: bool)
Flash access enable
pub fn set_bursten(&mut self, val: bool)
pub fn set_bursten(&mut self, val: bool)
Burst enable bit
pub fn set_waitpol(&mut self, val: Waitpol)
pub fn set_waitpol(&mut self, val: Waitpol)
Wait signal polarity bit
pub fn set_wrapmod(&mut self, val: bool)
pub fn set_wrapmod(&mut self, val: bool)
WRAPMOD
pub fn set_waitcfg(&mut self, val: Waitcfg)
pub fn set_waitcfg(&mut self, val: Waitcfg)
Wait timing configuration
pub fn set_waiten(&mut self, val: bool)
pub fn set_waiten(&mut self, val: bool)
Wait enable bit
pub fn set_extmod(&mut self, val: bool)
pub fn set_extmod(&mut self, val: bool)
Extended mode enable
pub fn set_asyncwait(&mut self, val: bool)
pub fn set_asyncwait(&mut self, val: bool)
Wait signal during asynchronous transfers
pub fn set_cpsize(&mut self, val: Cpsize)
pub fn set_cpsize(&mut self, val: Cpsize)
CRAM page size
pub fn set_cburstrw(&mut self, val: bool)
pub fn set_cburstrw(&mut self, val: bool)
Write burst enable
Trait Implementations§
impl Copy for Bcr
impl Eq for Bcr
impl StructuralPartialEq for Bcr
Auto Trait Implementations§
impl Freeze for Bcr
impl RefUnwindSafe for Bcr
impl Send for Bcr
impl Sync for Bcr
impl Unpin for Bcr
impl UnwindSafe for Bcr
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
)