Struct stm32_metapac::fmc::regs::Bcr1
#[repr(transparent)]pub struct Bcr1(pub u32);
Expand description
SRAM/NOR-Flash chip-select control register 1
Tuple Fields§
§0: u32
Implementations§
§impl Bcr1
impl Bcr1
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
pub fn set_cclken(&mut self, val: bool)
pub fn set_cclken(&mut self, val: bool)
Continuous clock enable
Trait Implementations§
impl Copy for Bcr1
impl Eq for Bcr1
impl StructuralPartialEq for Bcr1
Auto Trait Implementations§
impl Freeze for Bcr1
impl RefUnwindSafe for Bcr1
impl Send for Bcr1
impl Sync for Bcr1
impl Unpin for Bcr1
impl UnwindSafe for Bcr1
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
)