TinyUSB API.  
More...
TinyUSB API. 
- Author
 - Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net 
 
Definition in file tinyusb.h.
#include "periph_conf.h"
#include "tinyusb_hw_defaults.h"
Go to the source code of this file.
◆ TINYUSB_PRIORITY
      
        
          | #define TINYUSB_PRIORITY   (2) | 
        
      
 
Priority used for the tinyUSB thread. 
Definition at line 31 of file tinyusb.h.
 
 
◆ TINYUSB_THREAD_STACKSIZE
Stack size used for the tinyUSB thread. 
Definition at line 26 of file tinyusb.h.
 
 
◆ TINYUSB_TUD_RHPORT
      
        
          | #define TINYUSB_TUD_RHPORT   0 | 
        
      
 
tinyUSB RHPort number used for the device stack, default value is 0 
Definition at line 36 of file tinyusb.h.
 
 
◆ TINYUSB_TUH_RHPORT
      
        
          | #define TINYUSB_TUH_RHPORT   0 | 
        
      
 
tinyUSB RHPort number used for the host stack, defaults value is 0 
Definition at line 41 of file tinyusb.h.
 
 
◆ tinyusb_setup()
      
        
          | int tinyusb_setup  | 
          ( | 
          void |            | ) | 
           | 
        
      
 
Initialize the tinyUSB stack including used peripherals and start the tinyUSB thread. 
- Returns
 - 0 on success 
 
- 
-ENODEV if peripherals couldn't be initialized 
 
- 
-EINVAL or -EOVERFLOW if the thread couldn't be created