text: /**
    ******************************************************************************
    * @file    CAN/CAN_DualFIFO/main.h 
    * @author  MCD Application Team
    * @version V1.6.0
    * @date    13-October-2021
    * @brief   Header for main.c module
    ******************************************************************************
    * @attention
    *
    * Copyright (c) 2014 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.
    *
    ******************************************************************************
    */
    
  /* Define to prevent recursive inclusion -------------------------------------*/
  #ifndef __MAIN_H
  #define __MAIN_H
  
  /* Includes ------------------------------------------------------------------*/
  #include "stm32f0xx.h"
  #include "stm32072b_eval.h"
  #include "stm32072b_eval_lcd.h"
  
  /* Exported types ------------------------------------------------------------*/
  /* Exported constants --------------------------------------------------------*/
  #define CANx                       CAN
  #define CAN_CLK                    RCC_APB1Periph_CAN
  #define CAN_RX_PIN                 GPIO_Pin_0
  #define CAN_TX_PIN                 GPIO_Pin_1
  #define CAN_GPIO_PORT              GPIOD
  #define CAN_GPIO_CLK               RCC_AHBPeriph_GPIOD
  #define CAN_AF_PORT                GPIO_AF_0
  #define CAN_RX_SOURCE              GPIO_PinSource0
  #define CAN_TX_SOURCE              GPIO_PinSource1
  
  /* Exported macro ------------------------------------------------------------*/
  /* Exported functions ------------------------------------------------------- */
  void LED_Display(uint8_t Ledstatus);
  
  #endif /* __MAIN_H */
  
  