modm API documentation
modm::IODeviceWrapper< Device, behavior > Class Template Reference

#include <modm/io/iodevice_wrapper.hpp>

Inheritance diagram for modm::IODeviceWrapper< Device, behavior >:
modm::IODevice

Public Member Functions

void write (char c) override
 Write a single character.
 
void flush () override
 
bool read (char &c) override
 Read a single character.
 
virtual void write (char c) = 0
 Write a single character.
 
virtual void write (const char *str)
 Write a C-string.
 

Detailed Description

template<class Device, IOBuffer behavior>
class modm::IODeviceWrapper< Device, behavior >

Template Parameters
DevicePeripheral which should be wrapped
behaviorpreferred behavior when the Device buffer is full

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