Struct esp32c2_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 - 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.
pub fn cs1_dis(&self) -> BitReaderRaw<bool>
pub fn cs1_dis(&self) -> BitReaderRaw<bool>
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.
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 idle 0: spi clk line is low when 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.