Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / pios / stm32f10x / libraries / STM32_USB-FS-Device_Driver / inc / usb_mem.h
blob0c8b218631f746642a9e4b52394b712af6009ae3
1 /******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
2 * File Name : usb_mem.h
3 * Author : MCD Application Team
4 * Version : V3.2.1
5 * Date : 07/05/2010
6 * Description : Utility prototypes functions for memory/PMA transfers
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 -------------------------------------*/
17 #ifndef __USB_MEM_H
18 #define __USB_MEM_H
20 /* Includes ------------------------------------------------------------------*/
21 /* Exported types ------------------------------------------------------------*/
22 /* Exported constants --------------------------------------------------------*/
23 /* Exported macro ------------------------------------------------------------*/
24 /* Exported functions ------------------------------------------------------- */
25 void UserToPMABufferCopy(const uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
26 void PMAToUserBufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
28 /* External variables --------------------------------------------------------*/
30 #endif /*__USB_MEM_H*/
32 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/