circuitpython/ports/raspberrypi/common-hal/pwmio
Scott Shawcroft 1acf65ee22
Fix `pwmio` on iMX RT.
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().

_reset_ok() was removed because it was called in one spot right
before deinit().

Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.

Fixes #6589. Fixes #4841. Fixes #4541.
2023-02-22 11:22:39 -08:00
..
PWMOut.c Fix `pwmio` on iMX RT. 2023-02-22 11:22:39 -08:00
PWMOut.h fix mistaken use of PWM channel for slice 2021-12-05 21:16:46 -05:00
__init__.c Add initial RP2040 support 2021-01-20 19:16:56 -08:00