GitHub / khoih-prog / STM32_Slow_PWM
This library enables you to use Hardware Timers 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 not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware timers, using interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's necessary if you need to measure some data requiring better accuracy. PWM feature can now be used. Max PWM frequency is limited at 1000Hz
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoih-prog%2FSTM32_Slow_PWM
Stars: 2
Forks: 0
Open issues: 0
License: mit
Language: C
Size: 129 KB
Dependencies parsed at: Pending
Created at: over 3 years ago
Updated at: over 2 years ago
Pushed at: over 2 years ago
Last synced at: about 2 years ago
Topics: duty-cycle, hardware-timer, isr, isr-based, isr-based-pmw, isr-based-pwm, multi-channel-pwm, nucleo-144, pwm, pwm-driver, stm32, stm32f, stm32f7, stm32g, stm32h7, stm32l5, stm32mp1, stm32wb, synchronized-pwm, timer-interrupt