Struct Bcr
#[repr(transparent)]pub struct Bcr(pub u32);Expand description
SRAM/NOR-Flash chip-select control register 2-4
Tuple Fields§
§0: u32Implementations§
§impl Bcr
impl Bcr
pub const fn set_faccen(&mut self, val: bool)
pub const fn set_faccen(&mut self, val: bool)
Flash access enable
pub const fn set_bursten(&mut self, val: bool)
pub const fn set_bursten(&mut self, val: bool)
Burst enable bit
pub const fn set_waitpol(&mut self, val: Waitpol)
pub const fn set_waitpol(&mut self, val: Waitpol)
Wait signal polarity bit
pub const fn set_waitcfg(&mut self, val: Waitcfg)
pub const fn set_waitcfg(&mut self, val: Waitcfg)
Wait timing configuration
pub const fn set_waiten(&mut self, val: bool)
pub const fn set_waiten(&mut self, val: bool)
Wait enable bit
pub const fn set_extmod(&mut self, val: bool)
pub const fn set_extmod(&mut self, val: bool)
Extended mode enable
pub const fn set_asyncwait(&mut self, val: bool)
pub const fn set_asyncwait(&mut self, val: bool)
Wait signal during asynchronous transfers
pub const fn set_cpsize(&mut self, val: Cpsize)
pub const fn set_cpsize(&mut self, val: Cpsize)
CRAM page size
pub const fn set_cburstrw(&mut self, val: bool)
pub const 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