circuitpython/ports/nrf/modules/machine
Stig Bjørlykke 7f0c5f2ef9 nrf: Enable all PWM, RTC and Timer instances for nrf52840.
The NRF52 define only covers nrf52832, so update the define checks
to use NRF52_SERIES to cover both nrf52832 and nrf52840.

Fixed machine_hard_pwm_instances table in modules/machine/pwm.c

This enables PWM(0) to PWM(3), RTCounter(2), Timer(3) and Timer(4),
in addition to NFC reset cause, on nrf52840.
2018-08-01 14:36:07 +02:00
..
adc.c nrf/modules/machine/adc: Don't compare -1 to an unsigned number. 2018-07-18 17:12:26 +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: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
i2c.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
modmachine.c nrf: Enable all PWM, RTC and Timer instances for nrf52840. 2018-08-01 14:36:07 +02:00
modmachine.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
pin.c nrf: Move pyb module to boards module 2018-07-18 17:12:26 +10:00
pin.h nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pwm.c nrf: Enable all PWM, RTC and Timer instances for nrf52840. 2018-08-01 14:36:07 +02:00
pwm.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.c nrf: Enable all PWM, RTC and Timer instances for nrf52840. 2018-08-01 14:36:07 +02:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
spi.c nrf: Move pyb module to boards module 2018-07-18 17:12:26 +10:00
spi.h nrf/spi: Allow for external use of new and transfer function. 2018-07-18 17:12:26 +10:00
temp.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
temp.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
timer.c nrf: Enable all PWM, RTC and Timer instances for nrf52840. 2018-08-01 14:36:07 +02:00
timer.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
uart.c nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
uart.h nrf: Move pyb module to boards module 2018-07-18 17:12:26 +10:00