console_driver Struct Reference

A console driver. More...

#include <driver.h>

Collaboration diagram for console_driver:

Collaboration graph
[legend]

Data Fields

void(* tx_commit )(struct console_driver *drv)
 Commit the console output buffer.
void(* tx_make_room )(struct console_driver *drv, size_t goal)
 Make room for more characters in the console output buffer.
struct console_buffer tx_buf
 The console buffer holding characters for transmission through this driver.

Detailed Description

A console driver.

A console driver is responsible for emptying the console buffer and producing something the user can see, for example by pushing the characters out over a serial line.

Definition at line 138 of file driver.h.


Field Documentation

The console buffer holding characters for transmission through this driver.

Todo:
This really belongs in struct console.

Definition at line 150 of file driver.h.

Referenced by console_drv_putchar(), and console_drv_write().

Commit the console output buffer.

Referenced by console_drv_commit().

void(* console_driver::tx_make_room)(struct console_driver *drv, size_t goal)

Make room for more characters in the console output buffer.

Referenced by console_drv_putchar(), and console_drv_write().


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

Generated on Tue Sep 15 10:22:19 2009 for libavr32 by  doxygen 1.5.8