STM32_PWM

This wrapper library enables you to use Hardware-based PWM on STM32F/L/H/G/WB/MP1 boards to create and output PWM to pins.

Author
Khoi Hoang
Website
https://github.com/khoih-prog/STM32_PWM
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
stm32

The most important feature is they're purely hardware-based PWM channels. Therefore, their executions are very precise and not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware PWM channels still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other ISR-based or software-based PWM using millis() or micros(). That's necessary if you need to measure some data requiring very high frequency and much better accuracy. PWM feature can now be used.

Downloads

Filename Release Date File Size
STM32_PWM-1.0.1.zip 2023-01-23 97.74 KiB
STM32_PWM-1.0.0.zip 2021-10-01 27.08 KiB