Benoît Thébaudeau 923f161b7b cc2538: gpio: Add pin read / write and interrupt clear macros
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>
2013-11-15 19:48:24 +01:00
..
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00
2013-09-27 17:46:15 -04:00
2013-09-27 17:46:15 -04:00
2013-04-06 21:07:31 +01:00
2013-04-06 21:07:31 +01:00