gpio.h File Reference
Go to the source code of this file.
Define Documentation
#define AVR32_GPIO_BANK |
( |
pin |
|
) |
(pin >> 5) |
Converts AVR32 pin macros to the proper GPIO bank value
Definition at line 44 of file gpio.h.
#define AVR32_GPIO_PIN |
( |
pin |
|
) |
(pin & 0x1F) |
Converts AVR32 pin macros to the proper GPIO pin value
Definition at line 49 of file gpio.h.
#define AVR32_GPIO_FUNCTION |
( |
x |
|
) |
((_BV(x) << 5 ) | GPIO_CFG_DISABLED) |
Converts AVR32 function macros to the proper GPIO_CFG_PERIPHERALx value
Definition at line 54 of file gpio.h.