Struct esp32s3_hal::pac::pwm0::operator_timersel::R
pub struct R(_);
Expand description
Register OPERATOR_TIMERSEL
reader
Implementations§
§impl R
impl R
pub fn operator0_timersel(&self) -> FieldReaderRaw<u8, u8>
pub fn operator0_timersel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - Select which PWM timer’s is the timing reference for PWM operator0, 0: timer0, 1: timer1, 2: timer2
pub fn operator1_timersel(&self) -> FieldReaderRaw<u8, u8>
pub fn operator1_timersel(&self) -> FieldReaderRaw<u8, u8>
Bits 2:3 - Select which PWM timer’s is the timing reference for PWM operator1, 0: timer0, 1: timer1, 2: timer2
pub fn operator2_timersel(&self) -> FieldReaderRaw<u8, u8>
pub fn operator2_timersel(&self) -> FieldReaderRaw<u8, u8>
Bits 4:5 - Select which PWM timer’s is the timing reference for PWM operator2, 0: timer0, 1: timer1, 2: timer2
Methods from Deref<Target = R<OPERATOR_TIMERSEL_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<OPERATOR_TIMERSEL_SPEC>> for R
impl From<R<OPERATOR_TIMERSEL_SPEC>> for R
§fn from(reader: R<OPERATOR_TIMERSEL_SPEC>) -> R
fn from(reader: R<OPERATOR_TIMERSEL_SPEC>) -> R
Converts to this type from the input type.