Skip to content

Class daisy::LoggerImpl< LOGGER_UART >

template <>

ClassList > daisy > LoggerImpl< LOGGER_UART >

Specialization for UART.

  • #include <logger_impl.h>

Classes

Type Name
struct Config <>

Public Static Functions

Type Name
void Configure (const Config cfg)
void Init ()
bool Transmit (const void * buffer, size_t bytes)

Protected Static Attributes

Type Name
Config config_
UartHandler uart_

Public Static Functions Documentation

function Configure

static inline void daisy::LoggerImpl< LOGGER_UART >::Configure (
    const Config cfg
) 

Unique to this variant, this should be called ahead of initialization


function Init

static inline void daisy::LoggerImpl< LOGGER_UART >::Init () 

Initialize the logging destination


function Transmit

static inline bool daisy::LoggerImpl< LOGGER_UART >::Transmit (
    const  void * buffer,
    size_t bytes
) 

Transmit a block of data


Protected Static Attributes Documentation

variable config_

Config daisy::LoggerImpl< LOGGER_UART >::config_;

variable uart_

UartHandler daisy::LoggerImpl< LOGGER_UART >::uart_;


The documentation for this class was generated from the following file external-docs/libDaisy/src/hid/logger_impl.h