2 ******************************************************************************
4 * @author MCD Application Team
7 * @brief Utility prototypes functions for memory/PMA transfers
8 ******************************************************************************
11 * <h2><center>© 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 -------------------------------------*/
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****/