/* 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) 2020 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 */
#include "Temperature_control_and_monitoring_system.h"
/* 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 thermometer_SDA_Pin GPIO_PIN_0
#define thermometer_SDA_GPIO_Port GPIOF
#define thermometer_SCL_Pin GPIO_PIN_1
#define thermometer_SCL_GPIO_Port GPIOF
#define heater_control_Pin GPIO_PIN_0
#define heater_control_GPIO_Port GPIOA
#define configuration_TX_Pin GPIO_PIN_2
#define configuration_TX_GPIO_Port GPIOA
#define configuration_RX_Pin GPIO_PIN_3
#define configuration_RX_GPIO_Port GPIOA
#define cooler_control_Pin GPIO_PIN_4
#define cooler_control_GPIO_Port GPIOA
#define cooler_act_Pin GPIO_PIN_0
#define cooler_act_GPIO_Port GPIOB
#define heater_act_Pin GPIO_PIN_1
#define heater_act_GPIO_Port GPIOB
#define relay_3_Pin GPIO_PIN_2
#define relay_3_GPIO_Port GPIOB
#define door_Pin GPIO_PIN_10
#define door_GPIO_Port GPIOB
#define ethernet_NSS_Pin GPIO_PIN_12
#define ethernet_NSS_GPIO_Port GPIOB
#define ethernet_SCK_Pin GPIO_PIN_13
#define ethernet_SCK_GPIO_Port GPIOB
#define ethernet_MISO_Pin GPIO_PIN_14
#define ethernet_MISO_GPIO_Port GPIOB
#define ethernet_MOSI_Pin GPIO_PIN_15
#define ethernet_MOSI_GPIO_Port GPIOB
#define wifi_TX_Pin GPIO_PIN_9
#define wifi_TX_GPIO_Port GPIOA
#define wifi_RX_Pin GPIO_PIN_10
#define wifi_RX_GPIO_Port GPIOA
#define LED_0_Pin GPIO_PIN_11
#define LED_0_GPIO_Port GPIOA
#define LED_1_Pin GPIO_PIN_12
#define LED_1_GPIO_Port GPIOA
#define SWDIO_Pin GPIO_PIN_13
#define SWDIO_GPIO_Port GPIOA
#define SWCLK_Pin GPIO_PIN_14
#define SWCLK_GPIO_Port GPIOA
#define control_minus_Pin GPIO_PIN_15
#define control_minus_GPIO_Port GPIOA
#define control_plus_Pin GPIO_PIN_3
#define control_plus_GPIO_Port GPIOB
#define control_set_Pin GPIO_PIN_4
#define control_set_GPIO_Port GPIOB
#define control_menu_Pin GPIO_PIN_5
#define control_menu_GPIO_Port GPIOB
#define disp_SCL_Pin GPIO_PIN_6
#define disp_SCL_GPIO_Port GPIOB
#define disp_SDA_Pin GPIO_PIN_7
#define disp_SDA_GPIO_Port GPIOB
#define error_red_Pin GPIO_PIN_8
#define error_red_GPIO_Port GPIOB
#define error_green_Pin GPIO_PIN_9
#define error_green_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****/
