GitHub / khoih-prog / 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. 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.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoih-prog%2FSTM32_PWM
Stars: 4
Forks: 1
Open issues: 0
License: mit
Language: C
Size: 132 KB
Dependencies parsed at: Pending
Created at: over 3 years ago
Updated at: about 2 years ago
Pushed at: about 2 years ago
Last synced at: about 2 years ago
Topics: duty-cycle, hardware-based-pwm, hardware-pwm, high-frequency-pwm, isr, multi-channel-pwm, non-blocking, nucleo-144, pwm, pwm-driver, pwm-frequency, stepper-motor-control, stepper-motor-driver, stm32, stm32f103, stm32f7, stm32g, stm32h7, stm32l5, stm32wb