Struct esp32c2_hal::pac::spi0::user::R
pub struct R(_);
Expand description
Register USER
reader
Implementations
impl R
impl R
pub fn cs_hold(&self) -> BitReaderRaw<bool>
pub fn cs_hold(&self) -> BitReaderRaw<bool>
Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable.
pub fn cs_setup(&self) -> BitReaderRaw<bool>
pub fn cs_setup(&self) -> BitReaderRaw<bool>
Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable.
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode.
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
Bit 26 - spi clock is disable in dummy phase when the bit is enable.
Methods from Deref<Target = R<USER_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
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