GD32F1x0: USB/GD32_USB_Device_Driver/src/usb_buf.c File Reference

GD32F1x0

usb_buf.c File Reference

USB buffer interface functions. More...

#include "usb_buf.h"

Go to the source code of this file.

Functions

void FreeUserBuffer (uint8_t EpID, uint8_t Dir)
 Free buffer used from application by toggling the SW_BUF byte. More...
 
void UserCopyToBuffer (uint8_t *UsrBuf, uint16_t BufAddr, uint16_t Bytes)
 Copy a buffer from user memory area to the allocation buffer area. More...
 
void BufferCopyToUser (uint8_t *UsrBuf, uint16_t BufAddr, uint16_t Bytes)
 Copy a buffer from the allocation buffer area to user memory area. More...
 

Detailed Description

USB buffer interface functions.

Author
MCU SD
Version
V1.0.1
Date
6-Sep-2014

Definition in file usb_buf.c.

Generated by   doxygen 1.8.10