micropython/ports/nrf/modules/machine
robert-hh 4dd288ff62 nrf/modules/machine/pwm: Tag a PWM device as used in the constructor.
When PWM constructor was created without specifying a device or setting
both freq and duty rate, it was not tagged as used, and further calls to
get a PWM object may get the same PWM device assigned.

Fixes #13494.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-03-26 16:41:08 +11:00
..
adc.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
adc.h nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
i2c.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
i2c.h extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00
modmachine.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
modmachine.h extmod/modmachine: Provide common bindings for 6 bare-metal functions. 2023-11-30 16:11:11 +11:00
pin.c nrf/modules/machine: Catch exceptions from pin interrupts. 2024-03-26 15:21:01 +11:00
pin.h nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
pwm.c nrf/modules/machine/pwm: Tag a PWM device as used in the constructor. 2024-03-26 16:41:08 +11:00
pwm.h extmod/machine_pwm: Remove header file and move decls to .c file. 2023-10-20 16:24:46 +11:00
rtcounter.c nrf: Fix non-running LFCLK. 2024-03-26 13:03:57 +11:00
rtcounter.h
soft_pwm.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
spi.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
spi.h nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
temp.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
temp.h
timer.c nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
timer.h extmod/modmachine: Clean up decls of machine types to use common ones. 2023-10-26 16:20:53 +11:00
uart.c nrf/modules/machine: Catch exceptions from pin interrupts. 2024-03-26 15:21:01 +11:00
uart.h extmod/machine_uart: Factor ports' UART Python bindings to common code. 2023-10-26 10:46:42 +11:00