/* 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) 2022 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 "stm32l4xx_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 J2_Pin GPIO_PIN_13
#define J2_GPIO_Port GPIOC
#define J1_Pin GPIO_PIN_14
#define J1_GPIO_Port GPIOC
#define Point_Pin GPIO_PIN_2
#define Point_GPIO_Port GPIOC
#define Di3_Pin GPIO_PIN_0
#define Di3_GPIO_Port GPIOA
#define Di2_Pin GPIO_PIN_1
#define Di2_GPIO_Port GPIOA
#define Di1_Pin GPIO_PIN_2
#define Di1_GPIO_Port GPIOA
#define J8_Pin GPIO_PIN_3
#define J8_GPIO_Port GPIOA
#define D0_Pin GPIO_PIN_4
#define D0_GPIO_Port GPIOA
#define D3_Pin GPIO_PIN_5
#define D3_GPIO_Port GPIOA
#define Latch_Pin GPIO_PIN_6
#define Latch_GPIO_Port GPIOA
#define EN_Pin GPIO_PIN_7
#define EN_GPIO_Port GPIOA
#define D2_Pin GPIO_PIN_4
#define D2_GPIO_Port GPIOC
#define D1_Pin GPIO_PIN_5
#define D1_GPIO_Port GPIOC
#define Bout2_Pin GPIO_PIN_0
#define Bout2_GPIO_Port GPIOB
#define J7_Pin GPIO_PIN_1
#define J7_GPIO_Port GPIOB
#define J6_Pin GPIO_PIN_2
#define J6_GPIO_Port GPIOB
#define J5_Pin GPIO_PIN_12
#define J5_GPIO_Port GPIOB
#define J4_Pin GPIO_PIN_12
#define J4_GPIO_Port GPIOC
#define J3_Pin GPIO_PIN_2
#define J3_GPIO_Port GPIOD
#define Bout1_Pin GPIO_PIN_3
#define Bout1_GPIO_Port GPIOB
#define WC_Pin GPIO_PIN_4
#define WC_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */
