2019-05-15 10:57:06 +01:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* @file CEC/CEC_DataExchange/Inc/main.h
|
|
|
|
* @author MCD Application Team
|
|
|
|
* @brief Header for main.c module
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
|
|
|
*
|
2023-03-07 17:17:52 +01:00
|
|
|
* Copyright (c) 2016 STMicroelectronics.
|
|
|
|
* All rights reserved.
|
2019-05-15 10:57:06 +01:00
|
|
|
*
|
2023-03-07 17:17:52 +01:00
|
|
|
* 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.
|
2019-05-15 10:57:06 +01:00
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef __MAIN_H
|
|
|
|
#define __MAIN_H
|
|
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
#include "stm32f3xx_hal.h"
|
|
|
|
#include "stm32373c_eval.h"
|
|
|
|
|
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
|
|
#define CEC_MAX_PAYLOAD 16
|
|
|
|
|
|
|
|
/* Uncomment the line below if you use the CEC peripheral as a Device 1 */
|
|
|
|
//#define DEVICE_1
|
|
|
|
/* Uncomment the line below if you use the CEC peripheral as a Device 2 */
|
|
|
|
#define DEVICE_2
|
|
|
|
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
|
|
/* Exported functions ------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __MAIN_H */
|