/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.h * @brief : Header for main.c file. * This file contains the common defines of the application. ****************************************************************************** * @attention * * Copyright (c) 2025 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ /* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __MAIN_H #define __MAIN_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Exported types ------------------------------------------------------------*/ /* USER CODE BEGIN ET */ /* USER CODE END ET */ /* Exported constants --------------------------------------------------------*/ /* USER CODE BEGIN EC */ /* USER CODE END EC */ /* Exported macro ------------------------------------------------------------*/ /* USER CODE BEGIN EM */ /* USER CODE END EM */ /* Exported functions prototypes ---------------------------------------------*/ void Error_Handler(void); /* USER CODE BEGIN EFP */ /* USER CODE END EFP */ /* Private defines -----------------------------------------------------------*/ #define IN_06_Pin GPIO_PIN_13 #define IN_06_GPIO_Port GPIOC #define SELEKT_PCH_Pin GPIO_PIN_14 #define SELEKT_PCH_GPIO_Port GPIOC #define IN_05_Pin GPIO_PIN_15 #define IN_05_GPIO_Port GPIOC #define LED2_Pin GPIO_PIN_2 #define LED2_GPIO_Port GPIOC #define LED3_Pin GPIO_PIN_3 #define LED3_GPIO_Port GPIOC #define IN_04_Pin GPIO_PIN_0 #define IN_04_GPIO_Port GPIOA #define IN_03_Pin GPIO_PIN_1 #define IN_03_GPIO_Port GPIOA #define IN_02_Pin GPIO_PIN_2 #define IN_02_GPIO_Port GPIOA #define IN_01_Pin GPIO_PIN_3 #define IN_01_GPIO_Port GPIOA #define IN_14_Pin GPIO_PIN_4 #define IN_14_GPIO_Port GPIOA #define IN_13_Pin GPIO_PIN_5 #define IN_13_GPIO_Port GPIOA #define J0_Pin GPIO_PIN_6 #define J0_GPIO_Port GPIOA #define J1_Pin GPIO_PIN_7 #define J1_GPIO_Port GPIOA #define J2_Pin GPIO_PIN_4 #define J2_GPIO_Port GPIOC #define J3_Pin GPIO_PIN_5 #define J3_GPIO_Port GPIOC #define IN_12_Pin GPIO_PIN_0 #define IN_12_GPIO_Port GPIOB #define IN_11_Pin GPIO_PIN_1 #define IN_11_GPIO_Port GPIOB #define BOOT1_Pin GPIO_PIN_2 #define BOOT1_GPIO_Port GPIOB #define IN_10_Pin GPIO_PIN_12 #define IN_10_GPIO_Port GPIOB #define IN_09_Pin GPIO_PIN_13 #define IN_09_GPIO_Port GPIOB #define IN_08_Pin GPIO_PIN_14 #define IN_08_GPIO_Port GPIOB #define IN_07_Pin GPIO_PIN_15 #define IN_07_GPIO_Port GPIOB #define PVT4_Pin GPIO_PIN_6 #define PVT4_GPIO_Port GPIOC #define PVT3_Pin GPIO_PIN_7 #define PVT3_GPIO_Port GPIOC #define PVT2_Pin GPIO_PIN_8 #define PVT2_GPIO_Port GPIOC #define PVT1_Pin GPIO_PIN_9 #define PVT1_GPIO_Port GPIOC #define LED0_Pin GPIO_PIN_5 #define LED0_GPIO_Port GPIOB #define LED1_Pin GPIO_PIN_6 #define LED1_GPIO_Port GPIOB /* USER CODE BEGIN Private defines */ #define Jselect SELEKT_PCH /* USER CODE END Private defines */ #ifdef __cplusplus } #endif #endif /* __MAIN_H */