Overview   API Reference  

serial_con Struct Reference

Simple serial_driver, which prints all characters using an L4Con console. More...

#include <serial_con.hpp>

Inheritance diagram for serial_con:

Inheritance graph
[legend]
Collaboration diagram for serial_con:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 serial_con (const color_t fgcolor=DEFAULT_FGCOLOR, const color_t bgcolor=DEFAULT_BGCOLOR, const rect_t &margins=((rect_t){x:0, y:0, w:0, h:0}))
virtual const char * name (void) const
 Returns the driver's name.
virtual int reset (void)
virtual int write (uint8_t c)
 Writes the specified byte to the output medium.

Static Public Attributes

static const int BUFFER_SIZE = 256

Protected Attributes

char buffer [BUFFER_SIZE+1]
char * ptr

Private Member Functions

int do_print (void)


Detailed Description

Simple serial_driver, which prints all characters using an L4Con console.
The documentation for this struct was generated from the following file:

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008