paul@219 | 1 | /* |
paul@219 | 2 | * MiniPC GPIO declarations. |
paul@219 | 3 | * |
paul@219 | 4 | * Copyright (C) 2017 Paul Boddie <paul@boddie.org.uk> |
paul@219 | 5 | * |
paul@219 | 6 | * This program is free software: you can redistribute it and/or modify |
paul@219 | 7 | * it under the terms of the GNU General Public License as published by |
paul@219 | 8 | * the Free Software Foundation, either version 3 of the License, or |
paul@219 | 9 | * (at your option) any later version. |
paul@219 | 10 | * |
paul@219 | 11 | * This program is distributed in the hope that it will be useful, |
paul@219 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@219 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@219 | 14 | * GNU General Public License for more details. |
paul@219 | 15 | * |
paul@219 | 16 | * You should have received a copy of the GNU General Public License |
paul@219 | 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
paul@219 | 18 | */ |
paul@219 | 19 | |
paul@219 | 20 | #ifndef __MINIPC_GPIO_H__ |
paul@219 | 21 | #define __MINIPC_GPIO_H__ |
paul@219 | 22 | |
paul@219 | 23 | #include "minipc.h" |
paul@219 | 24 | |
paul@219 | 25 | #ifndef __ASSEMBLER__ |
paul@219 | 26 | |
paul@219 | 27 | #include <stdint.h> |
paul@219 | 28 | |
paul@219 | 29 | extern const uint8_t GPIO_KEYIN_ROW[GPIO_KEYIN_COUNT]; |
paul@219 | 30 | extern const uint8_t GPIO_KEYOUT_COL[GPIO_KEYOUT_COUNT]; |
paul@219 | 31 | |
paul@219 | 32 | #endif /* __ASSEMBLER__ */ |
paul@219 | 33 | |
paul@219 | 34 | #endif /* __MINIPC_GPIO_H__ */ |