Struct esp32_hal::pac::ledc::lsch_conf0::R
pub struct R(_);
Expand description
Register LSCH%s_CONF0
reader
Implementations§
§impl R
impl R
pub fn timer_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn timer_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - There are four low speed timers the two bits are used to select one of them for low speed channel0. 2’b00: seletc lstimer0. 2’b01: select lstimer1. 2’b10: select lstimer2. 2’b11: select lstimer3.
pub fn sig_out_en(&self) -> BitReaderRaw<bool>
pub fn sig_out_en(&self) -> BitReaderRaw<bool>
Bit 2 - This is the output enable control bit for low speed channel0.
Methods from Deref<Target = R<LSCH_CONF0_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<LSCH_CONF0_SPEC>> for R
impl From<R<LSCH_CONF0_SPEC>> for R
§fn from(reader: R<LSCH_CONF0_SPEC>) -> R
fn from(reader: R<LSCH_CONF0_SPEC>) -> R
Converts to this type from the input type.