/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : main.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
  * All rights reserved.</center></h2>
  *
  * 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
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f3xx_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 IN3_3V3_Pin GPIO_PIN_13
#define IN3_3V3_GPIO_Port GPIOC
#define IN2_3V3_Pin GPIO_PIN_14
#define IN2_3V3_GPIO_Port GPIOC
#define IN1_3V3_Pin GPIO_PIN_15
#define IN1_3V3_GPIO_Port GPIOC
#define OUT4_3V3_Pin GPIO_PIN_3
#define OUT4_3V3_GPIO_Port GPIOA
#define OUT3_3V3_Pin GPIO_PIN_4
#define OUT3_3V3_GPIO_Port GPIOA
#define OUT2_3V3_Pin GPIO_PIN_5
#define OUT2_3V3_GPIO_Port GPIOA
#define OUT1_3V3_Pin GPIO_PIN_6
#define OUT1_3V3_GPIO_Port GPIOA
#define INTB_Pin GPIO_PIN_7
#define INTB_GPIO_Port GPIOA
#define TJA_ERR_Pin GPIO_PIN_0
#define TJA_ERR_GPIO_Port GPIOB
#define TJA_STB_Pin GPIO_PIN_1
#define TJA_STB_GPIO_Port GPIOB
#define TJA_EN_Pin GPIO_PIN_2
#define TJA_EN_GPIO_Port GPIOB
#define SPI2_CS_Pin GPIO_PIN_12
#define SPI2_CS_GPIO_Port GPIOB
#define CS_MAX31855_Pin GPIO_PIN_8
#define CS_MAX31855_GPIO_Port GPIOA
#define IN6_3V3_Pin GPIO_PIN_3
#define IN6_3V3_GPIO_Port GPIOB
#define IN5_3V3_Pin GPIO_PIN_4
#define IN5_3V3_GPIO_Port GPIOB
#define IN4_3V3_Pin GPIO_PIN_5
#define IN4_3V3_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
