Loading...
Searching...
No Matches

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.
 
#define CONFIG_USBUS_MSC_AUTO_MTD   1
 USBUS MSC auto MTD setting.
 
#define CONFIG_USBUS_EP0_SIZE   64
 USBUS endpoint 0 buffer size.
 

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 73 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 105 of file usbus.h.

◆ CONFIG_USBUS_MSC_AUTO_MTD

#define CONFIG_USBUS_MSC_AUTO_MTD   1

USBUS MSC auto MTD setting.

When set to 1, the USBUS MSC module will automatically create a LUN for each MTD device defined in board.h.

Definition at line 84 of file usbus.h.

◆ USBUS_PRIO

#define USBUS_PRIO   (THREAD_PRIORITY_MAIN - 6)

USBUS thread priority.

Definition at line 60 of file usbus.h.

◆ USBUS_STACKSIZE

#define USBUS_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)

USBUS thread stack size.

Definition at line 53 of file usbus.h.