circuitpython/ports/nrf/modules/machine
Damien George a1ee42cd3e nrf: Use common implementation of machine disable/enable IRQ.
This is a breaking change due to the signature change of `enable_irq()`.
Previously the signature was:

    machine.enable_irq()

Now the signature matches other ports, and the docs, and is:

    machine.enable_irq(state)

Where `state` is the return value from `machine.disable_irq()`.

Signed-off-by: Damien George <damien@micropython.org>
2025-05-21 13:30:40 +10: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: Use common implementation of machine disable/enable IRQ. 2025-05-21 13:30:40 +10: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/pin: Disable IRQ with pin.irq(handler=None). 2024-07-26 11:32:49 +10:00
pin.h nrf/modules/machine: Enable code formatting. 2024-03-26 12:49:09 +11:00
pwm.c ports: Make PWM duty_u16 have an upper value of 65535 across all ports. 2024-11-18 16:05:56 +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 ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
soft_pwm.c nrf/modules/machine/soft_pwm: Ensure duty_width is always valid. 2024-07-26 11:14:19 +10: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 nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
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: Fix UART write on parts that can't write more than 255 bytes. 2025-05-21 13:14:26 +10:00
uart.h nrf: Only process interrupt chars on UARTs used for REPL. 2025-05-21 13:10:01 +10:00