Struct esp32s3_hal::pac::pwm0::gen1_cfg0::R
pub struct R(_);
Expand description
Register GEN1_CFG0
reader
Implementations§
§impl R
impl R
pub fn gen1_cfg_upmethod(&self) -> FieldReaderRaw<u8, u8>
pub fn gen1_cfg_upmethod(&self) -> FieldReaderRaw<u8, u8>
Bits 0:3 - Update method for PWM generator 1’s active register of configuration. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1:
pub fn gen1_t0_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn gen1_t0_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 4:6 - Source selection for PWM generator 1 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
pub fn gen1_t1_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn gen1_t1_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 7:9 - Source selection for PWM generator 1 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
Methods from Deref<Target = R<GEN1_CFG0_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<GEN1_CFG0_SPEC>> for R
impl From<R<GEN1_CFG0_SPEC>> for R
§fn from(reader: R<GEN1_CFG0_SPEC>) -> R
fn from(reader: R<GEN1_CFG0_SPEC>) -> R
Converts to this type from the input type.