Files
Artery-AT32-PlatformIO/.platformio/packages/framework-cmsis-at32f40/Include/usb_mem.h
2021-12-06 14:18:57 +08:00

35 lines
1.2 KiB
C

/**
******************************************************************************
* File : usb_mem.h
* Version: V1.2.2
* Date : 2020-07-01
* Brief : Utility prototypes functions for memory/PMA transfers
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __USB_MEM_H
#define __USB_MEM_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void UserToPMABufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
void PMAToUserBufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes);
/* External variables --------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif /*__USB_MEM_H*/