libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::LoggerImpl< LOGGER_EXTERNAL > Class Reference

Specialization for external USB port. More...

Detailed Description

Specialization for external USB port.

#include <logger_impl.h>

Static Public Member Functions

static void Init ()
 
static bool Transmit (const void *buffer, size_t bytes)
 

Static Protected Attributes

static UsbHandle usb_handle_
 

Member Function Documentation

◆ Init()

static void daisy::LoggerImpl< LOGGER_EXTERNAL >::Init ( )
inlinestatic

Initialize logging destination

this implementation relies on the fact that UsbHandle class has no member variables and can be shared. assert this statement:

◆ Transmit()

static bool daisy::LoggerImpl< LOGGER_EXTERNAL >::Transmit ( const void buffer,
size_t  bytes 
)
inlinestatic

Transmit a block of data

Member Data Documentation

◆ usb_handle_

UsbHandle daisy::LoggerImpl< LOGGER_EXTERNAL >::usb_handle_
staticprotected

USB Handle for CDC transfers


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