Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
TinyUsbCdc::UsbDeviceThread Class Reference

Thread for running the tiny usb device stack. More...

Inheritance diagram for TinyUsbCdc::UsbDeviceThread:
OSThread

Public Member Functions

void * entry () override
 User entry point for the created thread.
 
- Public Member Functions inherited from OSThread
 OSThread (const char *name, int priority, size_t stack_size, void *(*start_routine)(void *), void *arg)
 Create a thread.
 
 OSThread ()
 Creates a thread via inheritance.
 
void start (const char *name, int priority, size_t stack_size)
 Starts the thread.
 
virtual ~OSThread ()
 Default destructor.
 
bool is_created ()
 
void inherit ()
 Inherits the current thread.
 
os_thread_t get_handle ()
 
void lock_to_thread ()
 Sets the thread handle to the current calling thread's.
 
void unlock_from_thread ()
 Resets the thread handle to none.
 

Additional Inherited Members

- Static Public Member Functions inherited from OSThread
static int getpriority (OSThread *thread)
 Return the current thread priority.
 
static int get_priority (OSThread *thread)
 Return the current thread priority.
 
static int get_priority_min ()
 Get the minimum thread priority.
 
static int get_priority_max ()
 Get the maximum thread priority.
 

Detailed Description

Thread for running the tiny usb device stack.

Definition at line 95 of file TinyUsbCdc.hxx.

Member Function Documentation

◆ entry()

void * TinyUsbCdc::UsbDeviceThread::entry ( )
overridevirtual

User entry point for the created thread.

Returns
exit status

Reimplemented from OSThread.

Definition at line 64 of file TinyUsbCdcImpl.hxx.


The documentation for this class was generated from the following files: