/** ****************************************************************************** * @file : main.h * @brief : Header for main.c file. * This file contains the common defines of the application. ****************************************************************************** * @attention * *

© Copyright (c) 2020 STMicroelectronics. * All rights reserved.

* * This software component is licensed by ST under BSD 3-Clause license, * the "License"; You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensource.org/licenses/BSD-3-Clause * ****************************************************************************** */ #ifndef __MAIN_H #define __MAIN_H #ifdef __cplusplus extern "C" { #endif #include "stm32f4xx_hal.h" void Error_Handler(void); #define GREEN_LED_Pin GPIO_PIN_12 #define GREEN_LED_GPIO_Port GPIOD #define ORANGE_LED_Pin GPIO_PIN_13 #define ORANGE_LED_GPIO_Port GPIOD #define RED_LED_Pin GPIO_PIN_14 #define RED_LED_GPIO_Port GPIOD #define BLUE_LED_Pin GPIO_PIN_15 #define BLUE_LED_GPIO_Port GPIOD #define TARGET_RST_Pin GPIO_PIN_4 #define TARGET_RST_GPIO_Port GPIOB #define TARGET_IO0_Pin GPIO_PIN_5 #define TARGET_IO0_GPIO_Port GPIOB #ifdef __cplusplus } #endif #endif /* __MAIN_H */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/