Struct stm32_metapac::fsmc::regs::Btr
#[repr(transparent)]pub struct Btr(pub u32);
Expand description
SRAM/NOR-Flash chip-select timing register
Tuple Fields§
§0: u32
Implementations§
§impl Btr
impl Btr
pub fn set_addset(&mut self, val: u8)
pub fn set_addset(&mut self, val: u8)
Address setup phase duration
pub fn set_addhld(&mut self, val: u8)
pub fn set_addhld(&mut self, val: u8)
Address-hold phase duration
pub fn set_datast(&mut self, val: u8)
pub fn set_datast(&mut self, val: u8)
Data-phase duration
pub fn set_busturn(&mut self, val: u8)
pub fn set_busturn(&mut self, val: u8)
Bus turnaround phase duration
pub fn set_clkdiv(&mut self, val: u8)
pub fn set_clkdiv(&mut self, val: u8)
Clock divide ratio (for FMC_CLK signal)
pub fn set_datlat(&mut self, val: u8)
pub fn set_datlat(&mut self, val: u8)
Data latency for synchronous memory
pub fn set_accmod(&mut self, val: Accmod)
pub fn set_accmod(&mut self, val: Accmod)
Access mode
Trait Implementations§
impl Copy for Btr
impl Eq for Btr
impl StructuralPartialEq for Btr
Auto Trait Implementations§
impl Freeze for Btr
impl RefUnwindSafe for Btr
impl Send for Btr
impl Sync for Btr
impl Unpin for Btr
impl UnwindSafe for Btr
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
)