aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32
diff options
context:
space:
mode:
authorEicke Hecht <[email protected]>2025-11-24 22:31:04 +0100
committerEicke Hecht <[email protected]>2025-11-24 22:40:34 +0100
commit6a97b6718e1389ce9e5dd3fb989b3b9f3fcfbd09 (patch)
treeec7e3ee95580b700141e0bc7981684fc0e6fd05a /embassy-stm32
parent05417e91093dfd7e150083738988259d66ee4e37 (diff)
wip: Add a working example for the stm32f767zi nucleo. Currently no PWM signal visible...
Diffstat (limited to 'embassy-stm32')
-rw-r--r--embassy-stm32/src/timer/simple_pwm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/timer/simple_pwm.rs b/embassy-stm32/src/timer/simple_pwm.rs
index f4656b7bd..8b738741a 100644
--- a/embassy-stm32/src/timer/simple_pwm.rs
+++ b/embassy-stm32/src/timer/simple_pwm.rs
@@ -412,6 +412,8 @@ impl<'d, T: GeneralInstance4Channel> SimplePwm<'d, T> {
412 }; 412 };
413 413
414 self.inner.set_cc_dma_selection(Ccds::ON_UPDATE); 414 self.inner.set_cc_dma_selection(Ccds::ON_UPDATE);
415 self.inner.set_cc_dma_enable_state(channel, true);
416
415 let ring_buf = unsafe { 417 let ring_buf = unsafe {
416 WritableRingBuffer::new( 418 WritableRingBuffer::new(
417 tx_dma, 419 tx_dma,