#[repr(transparent)]pub struct Flshcr4(pub u32);Expand description
Flash Control Register 4.
Tuple Fields§
§0: u32Implementations§
Source§impl Flshcr4
impl Flshcr4
Sourcepub const fn wmopt1(&self) -> bool
pub const fn wmopt1(&self) -> bool
Write mask option bit 1. This option bit could be used to remove AHB write burst start address alignment limitation.
Sourcepub const fn set_wmopt1(&mut self, val: bool)
pub const fn set_wmopt1(&mut self, val: bool)
Write mask option bit 1. This option bit could be used to remove AHB write burst start address alignment limitation.
Sourcepub const fn wmena(&self) -> Wmena
pub const fn wmena(&self) -> Wmena
Write mask enable bit for flash device on port A. When write mask function is needed for memory device on port A, this bit must be set.
Sourcepub const fn set_wmena(&mut self, val: Wmena)
pub const fn set_wmena(&mut self, val: Wmena)
Write mask enable bit for flash device on port A. When write mask function is needed for memory device on port A, this bit must be set.
Sourcepub const fn wmenb(&self) -> Wmenb
pub const fn wmenb(&self) -> Wmenb
Write mask enable bit for flash device on port B. When write mask function is needed for memory device on port B, this bit must be set.
Sourcepub const fn set_wmenb(&mut self, val: Wmenb)
pub const fn set_wmenb(&mut self, val: Wmenb)
Write mask enable bit for flash device on port B. When write mask function is needed for memory device on port B, this bit must be set.
Sourcepub const fn par_wm(&self) -> u8
pub const fn par_wm(&self) -> u8
Enable APMEM 16 bit write mask function, bit 9 for A1-B1 pair, bit 10 for A2-B2 pair.
Sourcepub const fn set_par_wm(&mut self, val: u8)
pub const fn set_par_wm(&mut self, val: u8)
Enable APMEM 16 bit write mask function, bit 9 for A1-B1 pair, bit 10 for A2-B2 pair.
Sourcepub const fn par_addr_adj_dis(&self) -> bool
pub const fn par_addr_adj_dis(&self) -> bool
Disable the address shift logic for lower density of 16 bit PSRAM.
Sourcepub const fn set_par_addr_adj_dis(&mut self, val: bool)
pub const fn set_par_addr_adj_dis(&mut self, val: bool)
Disable the address shift logic for lower density of 16 bit PSRAM.