circuitpython/ports/nrf/boards
Glenn Ruben Bakke 6e8a605500 nrf/modules/machine/pin: Add support for IRQ on Pin's
This patch ads irq method to the pin object. Handlers
registered in the irq method will be kept as part of the
ROOT_POINTERS.

In order to resolve which pin object is the root of the
IRQ, the pin_find has been extended to also be able to
search up Pin objects based on mp_int_t pin number.
This also implies that the Pin.new API is now also supporting
creation of Pin objects based on the integer value of the
pin instead of old style mandating string name of the Pin.

All boards have been updated to use real pin number from
0-48 instead of pin_Pxx for UART/SPI and music module pins.

UART/SPI/modmusic has also been updated to use pin number
provided directly or look up the Pin object based on the
integer value of the pin (modmusic).

Pin generation has been updated to create a list of pins, where
the board/cpu dicts are now refering to an index in this list
instead of having one const declaration for each pin. This new
const table makes it possible to iterate through all pins generated
in order to locate the correct Pin object.
2018-07-18 17:12:26 +10:00
..
arduino_primo nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
dvk_bl652 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
feather52 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
microbit nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10000 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10001 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10028 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10031 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10040 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pca10056 nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
wt51822_s4at nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
common.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
make-pins.py nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
memory.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf51_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf51x22_256k_16k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf51x22_256k_32k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf52832_512k_64k_s132_5.0.0.ld nrf: Fix stack size in ld script and enable MICROPY_STACK_CHECK. 2018-07-18 17:12:25 +10:00
nrf52832_512k_64k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52840_1M_256k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
s110_8.0.0.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
s132_3.0.0.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00