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 capture::*;
pub use monotonic::*;
Modules§
- capture
- Provides the core functionality of the Input Capture mode.
- counter
- delay
- Delays
- monotonic
- pwm
- Provides basic Pulse-width modulation (PWM) capabilities
- pwm_
input
Structs§
- CCR
- Wrapper type that indicates which register of the contained timer to use for DMA.
- Ch
- Channel wrapper
- DMAR
- Wrapper type that indicates which register of the contained timer to use for DMA.
- FTimer
- Timer wrapper for fixed precision timers.
- Timer
- Timer wrapper.
Enums§
- Capture
Filter - Enum representing the input capture filter settings.
- Capture
Mode - Capture mode Enum for configuring the mode of the Capture channels (CC1S, CC2S, CC3S, CC4S). Defines how each channel is used in Input Capture mode, considering TI1, TI2, TI3, and TI4.
- Capture
Polarity - Capture polarity
- Capture
Prescaler - Enum for configuring the Input Capture prescaler. Determines how many input events are required for one capture.
- Center
Aligned Mode - Center-aligned mode selection
- Channel
- Error
- Event
- TIM interrupt events
- Flag
- TIM status flags
- Idle
State - Output Idle state
- Ocm
- Polarity
- Compare/PWM polarity
- SysEvent
- SysTick interrupt events