Struct esp32h2::pcr::pwm_clk_conf::R
source · pub struct R(_);Expand description
Register PWM_CLK_CONF reader
Implementations§
source§impl R
impl R
sourcepub fn pwm_div_num(&self) -> PWM_DIV_NUM_R
pub fn pwm_div_num(&self) -> PWM_DIV_NUM_R
Bits 12:19 - The integral part of the frequency divider factor of the pwm function clock.
sourcepub fn pwm_clkm_sel(&self) -> PWM_CLKM_SEL_R
pub fn pwm_clkm_sel(&self) -> PWM_CLKM_SEL_R
Bits 20:21 - set this field to select clock-source. 0(default): do not select anyone clock, 1: 160MHz, 2: XTAL, 3: FOSC.
sourcepub fn pwm_clkm_en(&self) -> PWM_CLKM_EN_R
pub fn pwm_clkm_en(&self) -> PWM_CLKM_EN_R
Bit 22 - set this field as 1 to activate pwm clkm.
Methods from Deref<Target = R<PWM_CLK_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more