Module stm32f4xx_hal::timer
source · Expand description
Timers
Pins can be used for PWM output in both push-pull mode (Alternate
) and open-drain mode
(AlternateOD
).
Re-exports
pub use pwm_input::PwmInput;
pub use crate::gpio::alt::TimCPin as CPin;
pub use crate::gpio::alt::TimNCPin as NCPin;
pub use counter::*;
pub use delay::*;
pub use pwm::*;
pub use monotonic::*;
Modules
- Delays
- Provides basic Pulse-width modulation (PWM) capabilities
Structs
- Wrapper type that indicates which register of the contained timer to use for DMA.
- Channel wrapper
- Wrapper type that indicates which register of the contained timer to use for DMA.
- Timer wrapper for fixed precision timers.
- Timer wrapper.
Enums
- TIM interrupt events
- TIM status flags
- Output Idle state
- Enum for IO polarity
- SysTick interrupt events
Constants
Traits
Type Aliases
FTimer
with precision of 1 ms (1 kHz sampling)FTimer
with precision of 1 μs (1 MHz sampling)