Merge pull request #10531 from b14ckyy/master
[inav.git] / lib / main / STM32_USB-FS-Device_Driver / inc / usb_sil.h
blob554817529092154ab7474bd6f31b01c044860a96
1 /**
2 ******************************************************************************
3 * @file usb_sil.h
4 * @author MCD Application Team
5 * @version V4.0.0
6 * @date 28-August-2012
7 * @brief Simplified Interface Layer function prototypes.
8 ******************************************************************************
9 * @attention
11 * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14 * You may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at:
17 * http://www.st.com/software_license_agreement_liberty_v2
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
25 ******************************************************************************
29 /* Define to prevent recursive inclusion -------------------------------------*/
30 #ifndef __USB_SIL_H
31 #define __USB_SIL_H
33 /* Includes ------------------------------------------------------------------*/
34 /* Exported types ------------------------------------------------------------*/
35 /* Exported constants --------------------------------------------------------*/
36 /* Exported macro ------------------------------------------------------------*/
37 /* Exported functions ------------------------------------------------------- */
39 uint32_t USB_SIL_Init(void);
40 uint32_t USB_SIL_Write(uint8_t bEpAddr, uint8_t* pBufferPointer, uint32_t wBufferSize);
41 uint32_t USB_SIL_Read(uint8_t bEpAddr, uint8_t* pBufferPointer);
43 /* External variables --------------------------------------------------------*/
45 #endif /* __USB_SIL_H */
47 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/