Struct esp32c3_hal::pac::i2c0::clk_conf::R
pub struct R(_);
Expand description
Register CLK_CONF
reader
Implementations
impl R
impl R
pub fn sclk_div_num(&self) -> FieldReaderRaw<u8, u8>
pub fn sclk_div_num(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - reg_sclk_div_num
pub fn sclk_div_a(&self) -> FieldReaderRaw<u8, u8>
pub fn sclk_div_a(&self) -> FieldReaderRaw<u8, u8>
Bits 8:13 - reg_sclk_div_a
pub fn sclk_div_b(&self) -> FieldReaderRaw<u8, u8>
pub fn sclk_div_b(&self) -> FieldReaderRaw<u8, u8>
Bits 14:19 - reg_sclk_div_b
pub fn sclk_active(&self) -> BitReaderRaw<bool>
pub fn sclk_active(&self) -> BitReaderRaw<bool>
Bit 21 - reg_sclk_active
Methods from Deref<Target = R<CLK_CONF_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<CLK_CONF_SPEC>> for R
impl From<R<CLK_CONF_SPEC>> for R
fn from(reader: R<CLK_CONF_SPEC>) -> R
fn from(reader: R<CLK_CONF_SPEC>) -> R
Converts to this type from the input type.
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