mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-14 20:27:43 +00:00
Introduce new useful GPIO macros to: - read the levels of some port pins, - write the levels of some port pins (pass bit-field value to be set), - clear the interrupt flags for some port pins. These macros are cleaner and less error prone than raw register access code copied all over the place. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>