2912559061
This patch replaces the pinmux APIs that require users to look up an arbitrary function number for the desired function of each pin. The replacement API functions have intuitive names and permit users to pass board-level IO port numbers. The API functions internally convert those to CPU-level port numbers when necessary. Furthermore, when configuring a pin to be a digital input or output, those API functions also perform the corresponding configuration operation on the CPU-level GPIO port. The revised APIs halt when users attempt to configure a currently-unsupported GPIO, specifically those in the GPIO_SUS port range and those implemented on the expander chip EXP2. This also means that such ports are left unconfigured during initialization, whereas the pinmuxing for them was setup by the old implementation. |
||
---|---|---|
.. | ||
antelope | ||
avr-rss2 | ||
cc26xx | ||
cc2530dk | ||
cc2538-common | ||
cc2538dk | ||
cfs-coffee | ||
collect | ||
econotag-ecc-test | ||
econotag-flash-test | ||
eeprom-test | ||
er-rest-example | ||
er-rest-example-raven | ||
example-shell | ||
extended-rf-api | ||
ftp | ||
galileo | ||
hello-world | ||
http-socket | ||
ip64-router | ||
ipso-objects | ||
ipv6 | ||
irc | ||
irc-80col | ||
jn516x | ||
llsec/ccm-star-tests | ||
mbxxx | ||
multi-threading | ||
netperf | ||
nrf52dk | ||
openmote-cc2538 | ||
ping-ipv6 | ||
powertrace | ||
ravenusbstick | ||
rime | ||
rime-tsch | ||
rssi-scanner | ||
seedeye/powerswitch | ||
sensniff | ||
servreg-hack | ||
settings-example | ||
sky | ||
sky-ip | ||
sky-shell | ||
sky-shell-exec | ||
sky-shell-webserver | ||
stm32nucleo-spirit1/sensor-demo | ||
tcp-socket | ||
telnet-server | ||
timers | ||
trickle-library | ||
udp-ipv6 | ||
udp-stream | ||
webbrowser | ||
webbrowser-80col | ||
webserver | ||
webserver-ipv6 | ||
webserver-ipv6-raven | ||
wget | ||
zolertia |