This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ab0c14dba0
circuitpython
/
ports
/
nrf
/
boards
/
pca10000
/
pins.csv
8 lines
87 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-03-30 08:20:52 -04:00
UART_RTS,P8
UART_TX,P9
UART_CTS,P10
UART_RX,P11
LED_RED,P21
LED_GREEN,P22
LED_BLUE,P23
Reference in New Issue
Copy Permalink