Struct esp32s3_hal::pac::pwm0::cmpr0_cfg::R
pub struct R(_);
Expand description
Register CMPR0_CFG
reader
Implementations§
§impl R
impl R
pub fn cmpr0_a_upmethod(&self) -> FieldReaderRaw<u8, u8>
pub fn cmpr0_a_upmethod(&self) -> FieldReaderRaw<u8, u8>
Bits 0:3 - Update method for PWM generator 0 time stamp A’s active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update.
pub fn cmpr0_b_upmethod(&self) -> FieldReaderRaw<u8, u8>
pub fn cmpr0_b_upmethod(&self) -> FieldReaderRaw<u8, u8>
Bits 4:7 - Update method for PWM generator 0 time stamp B’s active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update.
pub fn cmpr0_a_shdw_full(&self) -> BitReaderRaw<bool>
pub fn cmpr0_a_shdw_full(&self) -> BitReaderRaw<bool>
Bit 8 - Set and reset by hardware. If set, PWM generator 0 time stamp A’s shadow reg is filled and waiting to be transferred to A’s active reg. If cleared, A’s active reg has been updated with shadow register latest value
pub fn cmpr0_b_shdw_full(&self) -> BitReaderRaw<bool>
pub fn cmpr0_b_shdw_full(&self) -> BitReaderRaw<bool>
Bit 9 - Set and reset by hardware. If set, PWM generator 0 time stamp B’s shadow reg is filled and waiting to be transferred to B’s active reg. If cleared, B’s active reg has been updated with shadow register latest value
Methods from Deref<Target = R<CMPR0_CFG_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.