micropython/ports/nrf/modules/machine
robert-hh e3b877826c nrf/modules/machine/soft_pwm: Add PWM for nrf51x boards using soft PWM.
Using extmod/machine_pwm.c for the Python bindings and the existing
softpwm.c driver, by just adding the interface.

Properties:
- Frequency range 1-3906 Hz.
- All PWM outputs run at the same frequency but can have different duty
  cycles.
- Limited to the P0.x pins.

Since it uses the existing softpwm.c mechanism, it will be affected by
playing music with the music class.
2023-03-10 10:44:02 +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/modules/machine/soft_pwm: Add PWM for nrf51x boards using soft PWM. 2023-03-10 10:44:02 +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
soft_pwm.c nrf/modules/machine/soft_pwm: Add PWM for nrf51x boards using soft PWM. 2023-03-10 10:44:02 +11: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