Struct esp32c3_hal::pac::i2c0::ctr::R
pub struct R(_);
Expand description
Register CTR
reader
Implementations
impl R
impl R
pub fn sda_force_out(&self) -> BitReaderRaw<bool>
pub fn sda_force_out(&self) -> BitReaderRaw<bool>
Bit 0 - reg_sda_force_out
pub fn scl_force_out(&self) -> BitReaderRaw<bool>
pub fn scl_force_out(&self) -> BitReaderRaw<bool>
Bit 1 - reg_scl_force_out
pub fn sample_scl_level(&self) -> BitReaderRaw<bool>
pub fn sample_scl_level(&self) -> BitReaderRaw<bool>
Bit 2 - reg_sample_scl_level
pub fn rx_full_ack_level(&self) -> BitReaderRaw<bool>
pub fn rx_full_ack_level(&self) -> BitReaderRaw<bool>
Bit 3 - reg_rx_full_ack_level
pub fn tx_lsb_first(&self) -> BitReaderRaw<bool>
pub fn tx_lsb_first(&self) -> BitReaderRaw<bool>
Bit 6 - reg_tx_lsb_first
pub fn rx_lsb_first(&self) -> BitReaderRaw<bool>
pub fn rx_lsb_first(&self) -> BitReaderRaw<bool>
Bit 7 - reg_rx_lsb_first
pub fn arbitration_en(&self) -> BitReaderRaw<bool>
pub fn arbitration_en(&self) -> BitReaderRaw<bool>
Bit 9 - reg_arbitration_en
pub fn slv_tx_auto_start_en(&self) -> BitReaderRaw<bool>
pub fn slv_tx_auto_start_en(&self) -> BitReaderRaw<bool>
Bit 12 - reg_slv_tx_auto_start_en
pub fn addr_10bit_rw_check_en(&self) -> BitReaderRaw<bool>
pub fn addr_10bit_rw_check_en(&self) -> BitReaderRaw<bool>
Bit 13 - reg_addr_10bit_rw_check_en
pub fn addr_broadcasting_en(&self) -> BitReaderRaw<bool>
pub fn addr_broadcasting_en(&self) -> BitReaderRaw<bool>
Bit 14 - reg_addr_broadcasting_en
Methods from Deref<Target = R<CTR_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