2#ifndef __DSY_LOGGER_IMPL_H
3#define __DSY_LOGGER_IMPL_H
26template <LoggerDestination dest>
53 static_assert(1u ==
sizeof(usb_handle_),
"UsbHandle is not static");
85 static_assert(1u ==
sizeof(usb_handle_),
"UsbHandle is not static");
Interface for initializing and using the USB Peripherals on the daisy.
Definition usb.h:19
@ FS_EXTERNAL
Definition usb.h:32
@ FS_INTERNAL
Definition usb.h:31
Definition leddriver.h:33
void Init(I2CHandle i2c, const uint8_t(&addresses)[numDrivers], DmaBuffer dma_buffer_a, DmaBuffer dma_buffer_b, Pin oe_pin=Pin(PORTX, 0))
Definition leddriver.h:65
static bool Transmit(const void *buffer, size_t bytes)
Definition logger_impl.h:91
static void Init()
Definition logger_impl.h:80
static UsbHandle usb_handle_
Definition logger_impl.h:100
static void Init()
Definition logger_impl.h:48
static bool Transmit(const void *buffer, size_t bytes)
Definition logger_impl.h:59
static UsbHandle usb_handle_
Definition logger_impl.h:68
static bool Transmit(const void *buffer, size_t bytes)
Definition logger_impl.h:116
static void Init()
Definition logger_impl.h:112
Logging I/O underlying implementation.
Definition logger_impl.h:28
static void Init()
Definition logger_impl.h:32
static bool Transmit(const void *buffer, size_t bytes)
Definition logger_impl.h:36
Hardware defines and helpers for daisy field platform.
Definition index.h:2
LoggerDestination
Definition logger_impl.h:15
@ LOGGER_INTERNAL
Definition logger_impl.h:17
@ LOGGER_EXTERNAL
Definition logger_impl.h:18
@ LOGGER_SEMIHOST
Definition logger_impl.h:19
@ LOGGER_NONE
Definition logger_impl.h:16