GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
usb_buf.h
Go to the documentation of this file.
USB cell registers definition and handle macros.
void FreeUserBuffer(uint8_t EpID, uint8_t Dir)
Free buffer used from application by toggling the SW_BUF byte.
Definition: usb_buf.c:36
void UserCopyToBuffer(uint8_t *UsrBuf, uint16_t BufAddr, uint16_t Bytes)
Copy a buffer from user memory area to the allocation buffer area.
Definition: usb_buf.c:55
void BufferCopyToUser(uint8_t *UsrBuf, uint16_t BufAddr, uint16_t Bytes)
Copy a buffer from the allocation buffer area to user memory area.
Definition: usb_buf.c:78
Generated on Fri Feb 6 2015 14:56:35 for GD32F10x USB-Device by 1.8.8