1 /******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
2 * File Name : usb_sil.h
3 * Author : MCD Application Team
6 * Description : Simplified Interface Layer function prototypes.
7 ********************************************************************************
8 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
9 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
10 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
11 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
12 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
13 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
14 *******************************************************************************/
16 /* Define to prevent recursive inclusion -------------------------------------*/
20 /* Includes ------------------------------------------------------------------*/
21 /* Exported types ------------------------------------------------------------*/
22 /* Exported constants --------------------------------------------------------*/
23 /* Exported macro ------------------------------------------------------------*/
24 /* Exported functions ------------------------------------------------------- */
26 uint32_t USB_SIL_Init(void);
27 uint32_t USB_SIL_Write(uint8_t bEpAddr
, uint8_t* pBufferPointer
, uint32_t wBufferSize
);
28 uint32_t USB_SIL_Read(uint8_t bEpAddr
, uint8_t* pBufferPointer
);
30 /* External variables --------------------------------------------------------*/
32 #endif /* __USB_SIL_H */
34 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/