openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
lpc17_pincfg.h
Go to the documentation of this file.
1/****************************************************************************
2 * bootloader/src/lpc17_pincfg.h
3 *
4 * Copyright (C) 2020 Augusto Fraga Giachero. All rights reserved.
5 * Author: Augusto Fraga Giachero <afg@augustofg.net>
6 *
7 * This file is part of the RFFE firmware.
8 *
9 * RFFE is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * RFFE is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with RFFE. If not, see <https://www.gnu.org/licenses/>.
21 *
22 ****************************************************************************/
23
24#include <stdint.h>
25
33
41
42void lp17_pincfg(uint8_t port, uint8_t pin, enum pincfg_mode mode, enum pincfg_func func);
pincfg_mode
Definition lpc17_pincfg.h:27
@ pin_mode_repeater
Definition lpc17_pincfg.h:29
@ pin_mode_pulldown
Definition lpc17_pincfg.h:31
@ pin_mode_none
Definition lpc17_pincfg.h:30
@ pin_mode_pullup
Definition lpc17_pincfg.h:28
void lp17_pincfg(uint8_t port, uint8_t pin, enum pincfg_mode mode, enum pincfg_func func)
Definition lpc17_pincfg.c:29
pincfg_func
Definition lpc17_pincfg.h:35
@ pin_func_alt2
Definition lpc17_pincfg.h:38
@ pin_func_gpio
Definition lpc17_pincfg.h:36
@ pin_func_alt3
Definition lpc17_pincfg.h:39
@ pin_func_alt1
Definition lpc17_pincfg.h:37