source: branches/reconfiguration/softs/drivers/tty.h @ 1051

Last change on this file since 1051 was 850, checked in by cfuguet, 10 years ago

reconf: introducing a softs directory in the reconfiguration branch

  • This softs directory contains a minimalistic (giet-like) library of drivers and some utility functions.
  • Introducing a simple unit test in the vci_cc_vcache_wrapper component to test the newly introduced watchdog timer mechanism. This unit test uses the minimalistic library.
File size: 283 bytes
RevLine 
[850]1#ifndef TTY_H
2#define TTY_H
3
4enum SoclibTtyRegisters {
5    TTY_WRITE = 0,
6    TTY_STATUS = 1,
7    TTY_READ = 2,
8    TTY_CONFIG = 3,
9    TTY_SPAN = 4,
10};
11
12int tty_getc(char *c);
13void tty_putc(const char c);
14
15#endif
16
17/*
18 * vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
19 */
Note: See TracBrowser for help on using the repository browser.