Struct esp32c3_hal::pac::spi0::misc::R
pub struct R(_);
Expand description
Register MISC
reader
Implementations
impl R
impl R
pub fn trans_end(&self) -> BitReaderRaw<bool>
pub fn trans_end(&self) -> BitReaderRaw<bool>
Bit 3 - The bit is used to indicate the spi0_mst_st controlled transmitting is done.
pub fn trans_end_int_ena(&self) -> BitReaderRaw<bool>
pub fn trans_end_int_ena(&self) -> BitReaderRaw<bool>
Bit 4 - The bit is used to enable the interrupt of spi0_mst_st controlled transmitting is done.
pub fn cspi_st_trans_end(&self) -> BitReaderRaw<bool>
pub fn cspi_st_trans_end(&self) -> BitReaderRaw<bool>
Bit 5 - The bit is used to indicate the spi0_slv_st controlled transmitting is done.
pub fn cspi_st_trans_end_int_ena(&self) -> BitReaderRaw<bool>
pub fn cspi_st_trans_end_int_ena(&self) -> BitReaderRaw<bool>
Bit 6 - The bit is used to enable the interrupt of spi0_slv_st controlled transmitting is done.
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.
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