Detailed Description

Macros

#define USBUS_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 USBUS thread stack size.
 
#define USBUS_PRIO   (THREAD_PRIORITY_MAIN - 6)
 USBUS thread priority.
 
#define CONFIG_USBUS_AUTO_ATTACH   1
 USBUS auto attach setting. More...
 
#define CONFIG_USBUS_EP0_SIZE   64
 USBUS endpoint 0 buffer size. More...
 

Macro Definition Documentation

◆ CONFIG_USBUS_AUTO_ATTACH

#define CONFIG_USBUS_AUTO_ATTACH   1

USBUS auto attach setting.

When set to 1, the USBUS thread will automatically enable the USB pull-up resistor after initializing the thread. This will signal to the host that the USB peripheral is ready for use.

Definition at line 72 of file usbus.h.

◆ CONFIG_USBUS_EP0_SIZE

#define CONFIG_USBUS_EP0_SIZE   64

USBUS endpoint 0 buffer size.

This configures the buffer size of the control endpoint. Unless you transfer large amount of data often over the control endpoint, a minimal size should be sufficient

Definition at line 94 of file usbus.h.