mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-08 20:18:07 -05:00
143 lines
2.7 KiB
C
143 lines
2.7 KiB
C
/**
|
|
******************************************************************************
|
|
* @file usbd_video_if_template.h
|
|
* @author MCD Application Team
|
|
* @brief Template Header file for the video Interface application layer functions
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* <h2><center>© 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
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __USBD_VIDEO_IF_H__
|
|
#define __USBD_VIDEO_IF_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "usbd_video.h"
|
|
|
|
/* USER CODE BEGIN INCLUDE */
|
|
|
|
/* USER CODE END INCLUDE */
|
|
|
|
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
|
* @brief For Usb device.
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF
|
|
* @brief Usb VIDEO interface device module.
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF_Exported_Defines
|
|
* @brief Defines.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_DEFINES */
|
|
|
|
/* USER CODE END EXPORTED_DEFINES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF_Exported_Types
|
|
* @brief Types.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_TYPES */
|
|
|
|
/* USER CODE END EXPORTED_TYPES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF_Exported_Macros
|
|
* @brief Aliases.
|
|
* @{
|
|
*/
|
|
|
|
/* USER CODE BEGIN EXPORTED_MACRO */
|
|
|
|
/* USER CODE END EXPORTED_MACRO */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF_Exported_Variables
|
|
* @brief Public variables.
|
|
* @{
|
|
*/
|
|
|
|
/** VIDEO_IF Interface callback. */
|
|
extern USBD_VIDEO_ItfTypeDef USBD_VIDEO_fops_FS;
|
|
|
|
/* USER CODE BEGIN EXPORTED_VARIABLES */
|
|
|
|
/* USER CODE END EXPORTED_VARIABLES */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/** @defgroup USBD_VIDEO_IF_Exported_FunctionsPrototype
|
|
* @brief Public functions declaration.
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @brief Manages the DMA full transfer complete event.
|
|
* @retval None
|
|
*/
|
|
void TransferComplete_CallBack_FS(void);
|
|
|
|
/**
|
|
* @brief Manages the DMA half transfer complete event.
|
|
* @retval None
|
|
*/
|
|
void HalfTransfer_CallBack_FS(void);
|
|
|
|
/* USER CODE BEGIN EXPORTED_FUNCTIONS */
|
|
|
|
/* USER CODE END EXPORTED_FUNCTIONS */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* USBD_VIDEO_IF_H_ */
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
|
|
|
|
|