summaryrefslogtreecommitdiff
path: root/py/objset.c
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2018-03-30 14:20:52 +0200
committerDamien George <damien.p.george@gmail.com>2018-07-18 17:12:26 +1000
commit864f671744a36b1860671d1074dacc12b40ae426 (patch)
treeb573cd2cde301639421ab7d27fc7f2540b9a085d /py/objset.c
parent2de65dda2226b6ac08e978a93365b886424838f1 (diff)
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.
Diffstat (limited to 'py/objset.c')
0 files changed, 0 insertions, 0 deletions