Struct esp32c2_hal::pac::ledc::timer_conf::R
pub struct R(_);
Expand description
Register TIMER%s_CONF
reader
Implementations§
§impl R
impl R
pub fn duty_res(&self) -> FieldReaderRaw<u8, u8>
pub fn duty_res(&self) -> FieldReaderRaw<u8, u8>
Bits 0:3 - This register is used to control the range of the counter in timer %s.
pub fn clk_div(&self) -> FieldReaderRaw<u32, u32>
pub fn clk_div(&self) -> FieldReaderRaw<u32, u32>
Bits 4:21 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part.
pub fn pause(&self) -> BitReaderRaw<bool>
pub fn pause(&self) -> BitReaderRaw<bool>
Bit 22 - This bit is used to suspend the counter in timer %s.
Methods from Deref<Target = R<TIMER_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<TIMER_CONF_SPEC>> for R
impl From<R<TIMER_CONF_SPEC>> for R
§fn from(reader: R<TIMER_CONF_SPEC>) -> R
fn from(reader: R<TIMER_CONF_SPEC>) -> R
Converts to this type from the input type.