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_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
pub const fn bmap(&self) -> u8
pub const fn bmap(&self) -> u8
FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only enabled through the FMC_BCR1 register.
Trait Implementations§
impl Copy for Bcr1
impl Eq for Bcr1
impl StructuralEq for Bcr1
impl StructuralPartialEq for Bcr1
Auto Trait Implementations§
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