Struct esp32s3_hal::pac::pwm0::timer_synci_cfg::R
pub struct R(_);
Expand description
Register TIMER_SYNCI_CFG
reader
Implementations§
§impl R
impl R
pub fn timer0_syncisel(&self) -> FieldReaderRaw<u8, u8>
pub fn timer0_syncisel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
pub fn timer1_syncisel(&self) -> FieldReaderRaw<u8, u8>
pub fn timer1_syncisel(&self) -> FieldReaderRaw<u8, u8>
Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
pub fn timer2_syncisel(&self) -> FieldReaderRaw<u8, u8>
pub fn timer2_syncisel(&self) -> FieldReaderRaw<u8, u8>
Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
pub fn external_synci0_invert(&self) -> BitReaderRaw<bool>
pub fn external_synci0_invert(&self) -> BitReaderRaw<bool>
Bit 9 - invert SYNC0 from GPIO matrix
pub fn external_synci1_invert(&self) -> BitReaderRaw<bool>
pub fn external_synci1_invert(&self) -> BitReaderRaw<bool>
Bit 10 - invert SYNC1 from GPIO matrix
pub fn external_synci2_invert(&self) -> BitReaderRaw<bool>
pub fn external_synci2_invert(&self) -> BitReaderRaw<bool>
Bit 11 - invert SYNC2 from GPIO matrix
Methods from Deref<Target = R<TIMER_SYNCI_CFG_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.