/* 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 Ultimate Liberty license
  * SLA0044, the "License"; You may not use this file except in compliance with
  * the License. You may obtain a copy of the License at:
  *                             www.st.com/SLA0044
  *
  ******************************************************************************
  */
/* 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"
#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 wc_Pin GPIO_PIN_15
#define wc_GPIO_Port GPIOC
#define CuveHaut_Pin GPIO_PIN_0
#define CuveHaut_GPIO_Port GPIOC
#define CuveHaut_EXTI_IRQn EXTI0_IRQn
#define ReserveBas_Pin GPIO_PIN_1
#define ReserveBas_GPIO_Port GPIOC
#define ReserveBas_EXTI_IRQn EXTI1_IRQn
#define CapteurAutres2_Pin GPIO_PIN_2
#define CapteurAutres2_GPIO_Port GPIOC
#define CapteurAutres2_EXTI_IRQn EXTI2_IRQn
#define CapteurAutres1_Pin GPIO_PIN_3
#define CapteurAutres1_GPIO_Port GPIOC
#define CapteurAutres1_EXTI_IRQn EXTI3_IRQn
#define TempEau_Pin GPIO_PIN_0
#define TempEau_GPIO_Port GPIOA
#define TempAir_Pin GPIO_PIN_1
#define TempAir_GPIO_Port GPIOA
#define PH_Pin GPIO_PIN_2
#define PH_GPIO_Port GPIOA
#define D7_Pin GPIO_PIN_4
#define D7_GPIO_Port GPIOC
#define D6_Pin GPIO_PIN_5
#define D6_GPIO_Port GPIOC
#define D5_Pin GPIO_PIN_0
#define D5_GPIO_Port GPIOB
#define D4_Pin GPIO_PIN_1
#define D4_GPIO_Port GPIOB
#define E_Pin GPIO_PIN_2
#define E_GPIO_Port GPIOB
#define Left_Pin GPIO_PIN_12
#define Left_GPIO_Port GPIOB
#define Left_EXTI_IRQn EXTI15_10_IRQn
#define Select_Pin GPIO_PIN_13
#define Select_GPIO_Port GPIOB
#define Select_EXTI_IRQn EXTI15_10_IRQn
#define Down_Pin GPIO_PIN_14
#define Down_GPIO_Port GPIOB
#define Down_EXTI_IRQn EXTI15_10_IRQn
#define Right_Pin GPIO_PIN_15
#define Right_GPIO_Port GPIOB
#define Right_EXTI_IRQn EXTI15_10_IRQn
#define UP_Pin GPIO_PIN_6
#define UP_GPIO_Port GPIOC
#define UP_EXTI_IRQn EXTI9_5_IRQn
#define MFP_Pin GPIO_PIN_7
#define MFP_GPIO_Port GPIOC
#define MFP_EXTI_IRQn EXTI9_5_IRQn
#define RS_Pin GPIO_PIN_8
#define RS_GPIO_Port GPIOC
#define R_W_Pin GPIO_PIN_9
#define R_W_GPIO_Port GPIOC
#define ventiloPWM_3_Pin GPIO_PIN_15
#define ventiloPWM_3_GPIO_Port GPIOA
#define ventiloPWM_2_Pin GPIO_PIN_4
#define ventiloPWM_2_GPIO_Port GPIOB
#define ventiloPWM_1_Pin GPIO_PIN_5
#define ventiloPWM_1_GPIO_Port GPIOB
#define TechniqueBas_Pin GPIO_PIN_8
#define TechniqueBas_GPIO_Port GPIOB
#define TechniqueBas_EXTI_IRQn EXTI9_5_IRQn
#define TechniqueHaut_Pin GPIO_PIN_9
#define TechniqueHaut_GPIO_Port GPIOB
#define TechniqueHaut_EXTI_IRQn EXTI9_5_IRQn
/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

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