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 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on.
sourcepub fn cs1_dis(&mut self) -> CS1_DIS_W<'_, 1>
pub fn cs1_dis(&mut self) -> CS1_DIS_W<'_, 1>
Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on.
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 idle 0: spi clk line is low when 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.
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