circuitpython/ports/nrf/modules/machine
robert-hh a1f838cdf1 nrf/modules/machine/pwm: Use extmod/machine_pwm.c for PWM module.
This is a breaking change, making the hardware PWM on the nrf port
compatible with the other ports providing machine.PWM.

Frequency range 4Hz - ~5.4 MHz.  The base clock range is 125kHz to 16 MHz,
and the divider range is 3 - 32767.

The hardware supports up to four outputs per PWM device with different duty
cycles, but only one output is (and was) supported.
2023-03-10 10:43:55 +11:00
..
adc.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
adc.h nrf/adc: Allow for external use of new and value read function. 2018-07-18 17:12:26 +10:00
i2c.c nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00
i2c.h nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00
modmachine.c nrf: Rename MICROPY_PY_MACHINE_TIMER to MICROPY_PY_MACHINE_TIMER_NRF. 2022-10-27 14:30:58 +11:00
modmachine.h nrf/modmachine: Add machine.bootloader() and make it customisable. 2022-06-17 13:37:44 +10:00
pin.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
pin.h nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pwm.c nrf/modules/machine/pwm: Use extmod/machine_pwm.c for PWM module. 2023-03-10 10:43:55 +11:00
pwm.h nrf/modules/machine/pwm: Use extmod/machine_pwm.c for PWM module. 2023-03-10 10:43:55 +11:00
rtcounter.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
spi.c nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00
spi.h nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00
temp.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
temp.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
timer.c nrf: Rename MICROPY_PY_MACHINE_TIMER to MICROPY_PY_MACHINE_TIMER_NRF. 2022-10-27 14:30:58 +11:00
timer.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
uart.c nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00
uart.h nrf: Rename machine I2C, PWM, SPI, UART types consistently across ports. 2022-10-22 12:58:54 +11:00