Contiki 2.5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
cpu
arm
stm32f103
usb-stm32f103.h
1
#include <usb-api.h>
2
3
#ifdef USB_STM32F103_ENABLE_ALT_COPY
4
/* Use an alternate data copying function */
5
#define USB_BUFFER_ARCH_ALT_COPY USB_BUFFER_ARCH_FLAG_1
6
7
/* Copy len bytes of data from the buffer to dedicated USB
8
memory. buffer->data must be updated */
9
extern
void
10
copy_to_hw_buffer(USBBuffer *buffer,
unsigned
int
offset,
unsigned
int
len);
11
12
/* Copy len bytes of data to the buffer from dedicated USB memory.
13
buffer->data must be updated */
14
extern
void
15
copy_from_hw_buffer(USBBuffer *buffer,
unsigned
int
offset,
unsigned
int
len);
16
#endif
17
Generated on Fri Aug 30 2013 12:34:08 for Contiki 2.5 by
1.8.3.1