micropython/ports/nrf/nrf52_af.csv
Glenn Ruben Bakke 864f671744 nrf: Remove port member from Pin object
In order to be able to support GPIO1 port on nrf52840
the port has been removed from the Pin object.

All pins on port1 will now be incrementally on top of
the pin numbers for gpio0. Hence, Pin 1.00 will become
P32, and Pin 1.15 will become P47.

The modification is done to address the new gpio HAL
interface in nrfx, which resolves the port to be
configured base on a multiple of 32.

The patch also affects the existing devices which does
not have a second GPIO port in the way that the
port indication A and B is removed from Pin generation.
This means that the port which was earlier addressed
as PA0 is now P0, and PA31 is P31.

Also, this patch removes the gpio member which earlier
pointed to the perihperal GPIO base address. This is not
needed anymore, hence removed.
2018-07-18 17:12:26 +10:00

364 B

1P0P0
2P1P1
3P2P2
4P3P3
5P4P4
6P5P5
7P6P6
8P7P7
9P8P8
10P9P9
11P10P10
12P11P11
13P12P12
14P13P13
15P14P14
16P15P15
17P16P16
18P17P17
19P18P18
20P19P19
21P20P20
22P21P21
23P22P22
24P23P23
25P24P24
26P25P25
27P26P26
28P27P27
29P28P28
30P29P29
31P30P30
32P31P31
33P32P32
34P33P33
35P34P34
36P35P35
37P36P36
38P37P37
39P38P38
40P39P39
41P40P40
42P41P41
43P42P42
44P43P43
45P44P44
46P45P45
47P46P46
48P47P47