Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rp2040: hardware PWM support | Lasse Dalegaard | 2021-07-09 | 1 | -0/+101 |
This implements hardware PWM support for the rp2040. The maximum value(100% duty) is set to 255 to match the other controllers. Cycle time is clamped automatically, and uses the full 8.4 fractional range of the rp2040 PWM block. This allows a maximum PWM frequency of 490kHz and a minimum frequency of 1915 Hz. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com> |