aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Rosenthal <[email protected]>2021-11-10 19:44:57 -0700
committerJacob Rosenthal <[email protected]>2021-11-10 19:44:57 -0700
commit66a43c2e580880964bb7c518ee898fc76ff00ce8 (patch)
tree32dad1b0b684f9a6b5ad5204dbf1e79dad4c294c
parent407e5d06e09c18a9956fcc4de42deaaaedd35912 (diff)
more comments
-rw-r--r--embassy-nrf/src/pwm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs
index 5063c9457..ea629c54f 100644
--- a/embassy-nrf/src/pwm.rs
+++ b/embassy-nrf/src/pwm.rs
@@ -22,8 +22,8 @@ pub struct SimplePwm<'d, T: Instance> {
22 ch3: Option<AnyPin>, 22 ch3: Option<AnyPin>,
23} 23}
24 24
25/// SequencePwm allows you to offloader the updating of a sequence of duty 25/// SequencePwm allows you to offload the updating of a sequence of duty cycles
26/// cycles to up to four channels, as well as repeat that sequence n times. 26/// to up to four channels, as well as repeat that sequence n times.
27pub struct SequencePwm<'d, T: Instance> { 27pub struct SequencePwm<'d, T: Instance> {
28 phantom: PhantomData<&'d mut T>, 28 phantom: PhantomData<&'d mut T>,
29 ch0: Option<AnyPin>, 29 ch0: Option<AnyPin>,