Struct esp32c2_hal::pac::spi0::ctrl2::R
pub struct R(_);
Expand description
Register CTRL2
reader
Implementations
impl R
impl R
pub fn cs_setup_time(&self) -> FieldReaderRaw<u8, u8>
pub fn cs_setup_time(&self) -> FieldReaderRaw<u8, u8>
Bits 0:4 - (cycles-1) of prepare phase by spi clock this bits are combined with spi_mem_cs_setup bit.
pub fn cs_hold_time(&self) -> FieldReaderRaw<u8, u8>
pub fn cs_hold_time(&self) -> FieldReaderRaw<u8, u8>
Bits 5:9 - Spi cs signal is delayed to inactive by spi clock this bits are combined with spi_mem_cs_hold bit.
pub fn cs_hold_delay(&self) -> FieldReaderRaw<u8, u8>
pub fn cs_hold_delay(&self) -> FieldReaderRaw<u8, u8>
Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY[5:0] + 1) MSPI core clock cycles.
Methods from Deref<Target = R<CTRL2_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<CTRL2_SPEC>> for R
impl From<R<CTRL2_SPEC>> for R
fn from(reader: R<CTRL2_SPEC>) -> R
fn from(reader: R<CTRL2_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more