Struct esp32s3_hal::pac::spi1::misc::R
pub struct R(_);
Expand description
Register MISC
reader
Implementations§
§impl R
impl R
pub fn cs0_dis(&self) -> BitReaderRaw<bool>
pub fn cs0_dis(&self) -> BitReaderRaw<bool>
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.
pub fn cs1_dis(&self) -> BitReaderRaw<bool>
pub fn cs1_dis(&self) -> BitReaderRaw<bool>
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.
pub fn ck_idle_edge(&self) -> BitReaderRaw<bool>
pub fn ck_idle_edge(&self) -> BitReaderRaw<bool>
Bit 9 - 1: SPI_CLK line is high when MSPI is idle. 0: SPI_CLK line is low when MSPI is idle.
pub fn cs_keep_active(&self) -> BitReaderRaw<bool>
pub fn cs_keep_active(&self) -> BitReaderRaw<bool>
Bit 10 - SPI_CS line keep low when the bit is set.
Methods from Deref<Target = R<MISC_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.