pub struct R(_);
Expand description
Register CTRL
reader
Implementations§
§impl R
impl R
pub fn sda_force_out(&self) -> BitReaderRaw<bool>
pub fn sda_force_out(&self) -> BitReaderRaw<bool>
Bit 0 - SDA is push-pull (1) or open-drain (0)
pub fn scl_force_out(&self) -> BitReaderRaw<bool>
pub fn scl_force_out(&self) -> BitReaderRaw<bool>
Bit 1 - SCL is push-pull (1) or open-drain (0)
pub fn trans_start(&self) -> BitReaderRaw<bool>
pub fn trans_start(&self) -> BitReaderRaw<bool>
Bit 5 - Force to generate start condition
pub fn tx_lsb_first(&self) -> BitReaderRaw<bool>
pub fn tx_lsb_first(&self) -> BitReaderRaw<bool>
Bit 6 - Send LSB first
pub fn rx_lsb_first(&self) -> BitReaderRaw<bool>
pub fn rx_lsb_first(&self) -> BitReaderRaw<bool>
Bit 7 - Receive LSB first
Methods from Deref<Target = R<CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.