Device Control
Portenta_H7_PWM
Khoi Hoang <khoih.prog@gmail.com>
This library enables you to use Hardware Timers on an STM32H7-based Portenta_H7 board to create and output PWM to pins.
These PWM channels, using Portenta_H7 Hardware Timers, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software or ISR-based PWM, using millis(), micros() or Timer Interrupt. This important feature is absolutely necessary for mission-critical tasks. You can start, stop, change and restore the settings of any PWM channel on-the-fly.
Go to repositoryThis library is compatible with the mbed, mbed_portenta architectures.
Compatibility with an architecture means that code can be compiled and uploaded to a board from the list below:
Samd