2019-10-06 13:09:15 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the hoverboard-firmware-hack project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017-2018 Rene Hopf <renehopf@mac.com>
|
|
|
|
* Copyright (C) 2017-2018 Nico Stute <crinq@crinq.de>
|
|
|
|
* Copyright (C) 2017-2018 Niklas Fauth <niklas.fauth@kit.fail>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-03-01 09:00:26 +00:00
|
|
|
// Define to prevent recursive inclusion
|
|
|
|
#ifndef SETUP_H
|
|
|
|
#define SETUP_H
|
2019-10-06 13:09:15 +00:00
|
|
|
|
|
|
|
#include "stm32f1xx_hal.h"
|
|
|
|
|
|
|
|
void MX_GPIO_Init(void);
|
|
|
|
void MX_TIM_Init(void);
|
|
|
|
void MX_ADC1_Init(void);
|
|
|
|
void MX_ADC2_Init(void);
|
2019-11-29 16:31:53 +00:00
|
|
|
void UART2_Init(void);
|
|
|
|
void UART3_Init(void);
|
2020-03-01 09:00:26 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|