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

Specialization for internal USB port. More...

Detailed Description

Specialization for internal 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_INTERNAL >::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_INTERNAL >::Transmit ( const void buffer,
size_t  bytes 
)
inlinestatic

Transmit a block of data

Member Data Documentation

◆ usb_handle_

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

USB Handle for CDC transfers


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