pub struct W(_);Expand description
Register MISC writer
Implementations§
source§impl W
impl W
sourcepub fn cs0_dis(&mut self) -> CS0_DIS_W<'_, 0>
pub fn cs0_dis(&mut self) -> CS0_DIS_W<'_, 0>
Bit 0 - Set this bit to raise high SPI_CS pin, which means that the SPI device(flash) connected to SPI_CS is in low level when SPI1 transfer starts.
sourcepub fn cs1_dis(&mut self) -> CS1_DIS_W<'_, 1>
pub fn cs1_dis(&mut self) -> CS1_DIS_W<'_, 1>
Bit 1 - Set this bit to raise high SPI_CS1 pin, which means that the SPI device(Ext_RAM) connected to SPI_CS1 is in low level when SPI1 transfer starts.
sourcepub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W<'_, 9>
pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W<'_, 9>
Bit 9 - 1: SPI_CLK line is high when MSPI is idle. 0: SPI_CLK line is low when MSPI is idle.
sourcepub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W<'_, 10>
pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W<'_, 10>
Bit 10 - SPI_CS line keep low when the bit is set.
sourcepub fn auto_per(&mut self) -> AUTO_PER_W<'_, 11>
pub fn auto_per(&mut self) -> AUTO_PER_W<'_, 11>
Bit 11 - Set this bit to enable auto PER function. Hardware will sent out PER command if PES command is sent.
Methods from Deref<Target = W<MISC_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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