Struct esp32h2::spi1::spi_mem_misc::R
source · pub struct R(_);
Expand description
Register SPI_MEM_MISC
reader
Implementations§
source§impl R
impl R
sourcepub fn spi_mem_cs0_dis(&self) -> SPI_MEM_CS0_DIS_R
pub fn spi_mem_cs0_dis(&self) -> SPI_MEM_CS0_DIS_R
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 spi_mem_cs1_dis(&self) -> SPI_MEM_CS1_DIS_R
pub fn spi_mem_cs1_dis(&self) -> SPI_MEM_CS1_DIS_R
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 spi_mem_ck_idle_edge(&self) -> SPI_MEM_CK_IDLE_EDGE_R
pub fn spi_mem_ck_idle_edge(&self) -> SPI_MEM_CK_IDLE_EDGE_R
Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle
sourcepub fn spi_mem_cs_keep_active(&self) -> SPI_MEM_CS_KEEP_ACTIVE_R
pub fn spi_mem_cs_keep_active(&self) -> SPI_MEM_CS_KEEP_ACTIVE_R
Bit 10 - spi cs line keep low when the bit is set.
Methods from Deref<Target = R<SPI_MEM_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