pub struct R(_);Expand description
Register CTRL2 reader
Implementations
sourceimpl R
impl R
sourcepub fn cs_setup_time(&self) -> CS_SETUP_TIME_R
pub fn cs_setup_time(&self) -> CS_SETUP_TIME_R
Bits 0:12 - (cycles+1) of prepare phase by spi clock this bits are combined with SPI_CS_SETUP bit. Can be configured in CONF state.
sourcepub fn cs_hold_time(&self) -> CS_HOLD_TIME_R
pub fn cs_hold_time(&self) -> CS_HOLD_TIME_R
Bits 13:25 - delay cycles of cs pin by spi clock this bits are combined with SPI_CS_HOLD bit. Can be configured in CONF state.
sourcepub fn cs_delay_mode(&self) -> CS_DELAY_MODE_R
pub fn cs_delay_mode(&self) -> CS_DELAY_MODE_R
Bits 26:28 - spi_cs signal is delayed by spi_clk . 0: zero 1: if SPI_CK_OUT_EDGE or SPI_CK_IDLE_EDGE is set 1 delayed by half cycle else delayed by one cycle 2: if SPI_CK_OUT_EDGE or SPI_CK_IDLE_EDGE is set 1 delayed by one cycle, else delayed by half cycle 3: delayed one cycle. Can be configured in CONF state.
sourcepub fn cs_delay_num(&self) -> CS_DELAY_NUM_R
pub fn cs_delay_num(&self) -> CS_DELAY_NUM_R
Bits 29:30 - spi_cs signal is delayed by system clock cycles. Can be configured in CONF state.
Methods from Deref<Target = R<CTRL2_SPEC>>
Trait Implementations
sourceimpl From<R<CTRL2_SPEC>> for R
impl From<R<CTRL2_SPEC>> for R
sourcefn from(reader: R<CTRL2_SPEC>) -> Self
fn from(reader: R<CTRL2_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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