Expand description
Timers, PWM.
Instance type:
- BasicInstance
- GeneralInstance (16-bit or 32-bit)
- AdvancedInstance
Different vs embassy-stm32:
- No too many levels of abstraction
- 2CH GPTM instances are also have helper functions defined
Modules§
- complementary_
pwm - PWM driver with complementary output support.
- low_
level - Low-level timer driver.
- simple_
pwm - Simple PWM driver.
Enums§
Traits§
- Advanced
Instance - Advanced 16-bit timer with 4 channels instance.
- Basic
Instance - Basic timer instance, BCTM
- Break
Input Pin - Ch1Dma
- Ch1Dma DMA request trait
- Ch2Dma
- Ch2Dma DMA request trait
- Ch3Dma
- Ch3Dma DMA request trait
- Ch4Dma
- Ch4Dma DMA request trait
- Channel1
Complementary Pin - Channel1
Pin - Channel2
Complementary Pin - Channel2
Pin - Channel3
Complementary Pin - Channel3
Pin - Channel4
Pin - Core
Instance - Core timer instance.
- External
Trigger Pin - General
Instance16bit - General-purpose 16-bit timer with 4 channels instance.
- General
Instance32bit - General-purpose 32-bit timer with 4 channels instance.
- UpDma
- UpDma DMA request trait