aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorLasse Dalegaard <dalegaard@gmail.com>2021-07-04 21:30:24 +0200
committerKevinOConnor <kevin@koconnor.net>2021-07-09 11:23:48 -0400
commit28f60f7ef69847f1514371d1c6788c3c0df98533 (patch)
tree351973d29a672f33ec1cb8e57e519f90b56af1b9 /klippy/mcu.py
parent4802c6d86a4510172d630ffdce02434369138037 (diff)
downloadkutter-28f60f7ef69847f1514371d1c6788c3c0df98533.tar.gz
kutter-28f60f7ef69847f1514371d1c6788c3c0df98533.tar.xz
kutter-28f60f7ef69847f1514371d1c6788c3c0df98533.zip
rp2040: hardware PWM support
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>
Diffstat (limited to 'klippy/mcu.py')
0 files changed, 0 insertions, 0 deletions