circuitpython/ports/stm/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
..
__init__.c Split pulseio.PWMOut into pwmio 2020-08-18 13:08:33 -07:00
PWMOut.c Fix pwmio on iMX RT. 2023-02-22 11:22:39 -08:00
PWMOut.h STM: off-by-one TIMx reference; other code cleanup and minor fixes 2022-11-14 13:00:32 -05:00