Merge pull request #10531 from b14ckyy/master
[inav.git] / lib / main / STM32_USB-FS-Device_Driver / inc / usb_mem.h
bloba182432d7dfc060b60c58d59bedc0d7c02a55174
1 /**
2 ******************************************************************************
3 * @file usb_mem.h
4 * @author MCD Application Team
5 * @version V4.0.0
6 * @date 28-August-2012
7 * @brief Utility prototypes functions for memory/PMA transfers
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_MEM_H
31 #define __USB_MEM_H
33 /* Includes ------------------------------------------------------------------*/
34 /* Exported types ------------------------------------------------------------*/
35 /* Exported constants --------------------------------------------------------*/
36 /* Exported macro ------------------------------------------------------------*/
37 /* Exported functions ------------------------------------------------------- */
38 void UserToPMABufferCopy(const uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
39 void PMAToUserBufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
41 /* External variables --------------------------------------------------------*/
43 #endif /*__USB_MEM_H*/
45 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/