stm32: more docs.

This commit is contained in:
Dario Nieuwenhuis
2023-12-18 19:11:13 +01:00
parent 59d2977c0a
commit 124478c5e9
18 changed files with 112 additions and 14 deletions

View File

@ -1,3 +1,5 @@
//! PWM driver with complementary output support.
use core::marker::PhantomData;
use embassy_hal_internal::{into_ref, PeripheralRef};

View File

@ -1,3 +1,5 @@
//! Timers, PWM, quadrature decoder.
pub mod complementary_pwm;
pub mod qei;
pub mod simple_pwm;
@ -8,6 +10,7 @@ use crate::interrupt;
use crate::rcc::RccPeripheral;
use crate::time::Hertz;
/// Low-level timer access.
#[cfg(feature = "unstable-pac")]
pub mod low_level {
pub use super::sealed::*;

View File

@ -1,3 +1,5 @@
//! Quadrature decoder using a timer.
use core::marker::PhantomData;
use embassy_hal_internal::{into_ref, PeripheralRef};

View File

@ -1,3 +1,5 @@
//! Simple PWM driver.
use core::marker::PhantomData;
use embassy_hal_internal::{into_ref, PeripheralRef};