circuitpython/ports/nrf/modules/machine
Glenn Ruben Bakke 3209a13bf5 nrf/modules: Align method to resolve pin object
machine/i2c already uses mp_hal_get_pin_obj which
points to pin_find function in order to locate correct
pin object to use.

The pin_find function was recently updated to also
being able to locate pins based on an integer value,
such that pin number can be used as argument to object
constructors.

This patch modfies and uniforms pin object lookup for
SPI, music and pwm.
2018-07-18 17:12:26 +10:00
..
adc.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
adc.h nrf: Replace custom-HAL with nrfx-HAL 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
led.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
led.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
modmachine.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
modmachine.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
pin.c nrf/modules/machine/pin: Add support for IRQ on Pin's 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/modules: Align method to resolve pin object 2018-07-18 17:12:26 +10:00
pwm.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
spi.c nrf/modules: Align method to resolve pin object 2018-07-18 17:12:26 +10:00
spi.h nrf: Replace custom-HAL with nrfx-HAL 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: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10: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: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00