Struct esp32_hal::pac::ledc::hsch_conf0::R
pub struct R(_);
Expand description
Register HSCH%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 high speed timers the two bits are used to select one of them for high speed channel0. 2’b00: seletc hstimer0. 2’b01: select hstimer1. 2’b10: select hstimer2. 2’b11: select hstimer3.
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 high speed channel0
Methods from Deref<Target = R<HSCH_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<HSCH_CONF0_SPEC>> for R
impl From<R<HSCH_CONF0_SPEC>> for R
§fn from(reader: R<HSCH_CONF0_SPEC>) -> R
fn from(reader: R<HSCH_CONF0_SPEC>) -> R
Converts to this type from the input type.