Skip to content

Commit

Permalink
cpu/samd21: add gpio support for samr21e18a
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyungsin committed Aug 15, 2017
1 parent 7ea64e3 commit e8e0694
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpu/samd21/periph/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ static const int8_t exti_config[2][32] = {
-1, 1, 2, 3, -1, -1, 6, 7, 12, 13, -1, 15, 8, -1, 10, 11},
{ 0, -1, 2, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0, 1, -1, -1, -1, -1, 6, 7, -1, -1, -1, -1, 8, -1, -1, -1},
#elif CPU_MODEL_SAMR21E18A
{-1, -1, -1, -1, -1, -1, 6, 7, -1, 9, 10, 11, -1, -1, 14, 15,
-1, 1, 2, 3, -1, -1, -1, -1, 12, 13, -1, 15, 8, -1, 10, 11},
{ 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
#else
#error Please define a proper CPU_MODEL.
#endif
Expand Down

0 comments on commit e8e0694

Please sign in to comment.