mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/cmake-demo.git
synced 2025-12-16 18:28:02 +00:00
Initial Commit
This commit is contained in:
117
core/inc/main.h
Normal file
117
core/inc/main.h
Normal file
@@ -0,0 +1,117 @@
|
||||
/* 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) 2024 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 "stm32f4xx_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 C_short_Pin GPIO_PIN_4
|
||||
#define C_short_GPIO_Port GPIOA
|
||||
#define C_sense_Pin GPIO_PIN_5
|
||||
#define C_sense_GPIO_Port GPIOA
|
||||
#define C_arm_Pin GPIO_PIN_6
|
||||
#define C_arm_GPIO_Port GPIOA
|
||||
#define C_fire_Pin GPIO_PIN_7
|
||||
#define C_fire_GPIO_Port GPIOA
|
||||
#define B_short_Pin GPIO_PIN_5
|
||||
#define B_short_GPIO_Port GPIOC
|
||||
#define B_sense_Pin GPIO_PIN_15
|
||||
#define B_sense_GPIO_Port GPIOF
|
||||
#define A_arm_Pin GPIO_PIN_0
|
||||
#define A_arm_GPIO_Port GPIOG
|
||||
#define A_fire_Pin GPIO_PIN_7
|
||||
#define A_fire_GPIO_Port GPIOE
|
||||
#define A_short_Pin GPIO_PIN_13
|
||||
#define A_short_GPIO_Port GPIOE
|
||||
#define A_sense_Pin GPIO_PIN_14
|
||||
#define A_sense_GPIO_Port GPIOE
|
||||
#define A_armE15_Pin GPIO_PIN_15
|
||||
#define A_armE15_GPIO_Port GPIOE
|
||||
#define A_fireB10_Pin GPIO_PIN_10
|
||||
#define A_fireB10_GPIO_Port GPIOB
|
||||
#define F_short_Pin GPIO_PIN_9
|
||||
#define F_short_GPIO_Port GPIOG
|
||||
#define F_sense_Pin GPIO_PIN_10
|
||||
#define F_sense_GPIO_Port GPIOG
|
||||
#define F_arm_Pin GPIO_PIN_11
|
||||
#define F_arm_GPIO_Port GPIOG
|
||||
#define F_fire_Pin GPIO_PIN_12
|
||||
#define F_fire_GPIO_Port GPIOG
|
||||
#define E_short_Pin GPIO_PIN_4
|
||||
#define E_short_GPIO_Port GPIOB
|
||||
#define E_sense_Pin GPIO_PIN_5
|
||||
#define E_sense_GPIO_Port GPIOB
|
||||
#define E_arm_Pin GPIO_PIN_6
|
||||
#define E_arm_GPIO_Port GPIOB
|
||||
#define E_fire_Pin GPIO_PIN_7
|
||||
#define E_fire_GPIO_Port GPIOB
|
||||
#define D_short_Pin GPIO_PIN_8
|
||||
#define D_short_GPIO_Port GPIOB
|
||||
#define D_sense_Pin GPIO_PIN_9
|
||||
#define D_sense_GPIO_Port GPIOB
|
||||
#define D_arm_Pin GPIO_PIN_0
|
||||
#define D_arm_GPIO_Port GPIOE
|
||||
#define D_fire_Pin GPIO_PIN_1
|
||||
#define D_fire_GPIO_Port GPIOE
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __MAIN_H */
|
||||
Reference in New Issue
Block a user