micropython/ports
robert-hh 84302b2854 rp2/machine_pwm: Enable keyword args in constructor and add init method.
This adds support for freq/duty_u16/duty_ns keyword arguments in the PWM
constructor, and adds the PWM.init() method.  Using init() without
arguments enables a previously deinit-ed PWM again.

Further changes in this commit:
- Do not start PWM output if only duty was set.
- Stop all PWM slices on soft-reset.
- Fix a bug when changing the freq on a channel pair with duty_ns set.
2023-05-04 13:13:05 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
embed embed: Fix arguments to mp_raw_code_load_mem. 2023-03-13 12:35:12 +11:00
esp32 esp32,esp8266: Add support for the Espressif ESP-NOW protocol. 2023-05-01 16:47:21 +10:00
esp8266 esp32,esp8266: Add support for the Espressif ESP-NOW protocol. 2023-05-01 16:47:21 +10:00
mimxrt mimxrt/machine_pwm: Start PWM only if freq and duty are set. 2023-05-04 13:09:39 +10:00
minimal all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
nrf all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
pic16bit ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
powerpc all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
qemu-arm shared/runtime/gchelper: Drop cpu directive from ARM asm helpers. 2023-01-28 15:51:38 +11:00
renesas-ra renesas-ra/modutime: Use extmod version of time module. 2023-04-27 15:11:51 +10:00
rp2 rp2/machine_pwm: Enable keyword args in constructor and add init method. 2023-05-04 13:13:05 +10:00
samd samd/machine_pwm: Add init() method to PWM and simplify the PWM code. 2023-05-04 13:10:38 +10:00
stm32 all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
teensy all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
unix all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
webassembly webassembly/modutime: Use extmod version of time module. 2023-04-27 15:11:52 +10:00
windows unix/modutime: Use extmod version of time module. 2023-04-27 15:11:52 +10:00
zephyr zephyr/modutime: Use extmod version of time module. 2023-04-27 15:11:52 +10:00