From 4c2d0ac211af20aac3e2e0fbef1b540f92247ccb Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Wed, 10 Nov 2021 18:52:29 -0700 Subject: [PATCH] doccomments --- embassy-nrf/src/pwm.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs index a53956c6e..5f31b772b 100644 --- a/embassy-nrf/src/pwm.rs +++ b/embassy-nrf/src/pwm.rs @@ -260,9 +260,9 @@ pub struct SequenceConfig { pub prescaler: Prescaler, /// How a sequence is read from RAM and is spread to the compare register pub sequence_load: SequenceLoad, - /// Number of Times PWM periods to delay between each sequence sample + /// Number of PWM periods to delay between each sequence sample pub refresh: u32, - /// Number of Times PWM periods after the sequence ends before starting the next sequence + /// Number of PWM periods after the sequence ends before starting the next sequence pub end_delay: u32, } @@ -329,7 +329,7 @@ pub enum CounterMode { impl<'d, T: Instance> SimplePwm<'d, T> { /// Creates the interface to a PWM instance. /// - /// Defaults the freq to 1Mhz, max_duty 1000, duty 0, and pins low. + /// Defaults the freq to 1Mhz, max_duty 1000, duty 0, up mode, and pins low. /// Must be started by calling `set_duty` /// /// # Safety