Module teletype

Module teletype 

Source
Expand description

A teletype (TTY) interface for character-based I/O.

This module provides a trait Teletype that defines an interface for reading from and writing to a teletype device, such as a serial port. The Serial struct implements this interface for x86_64 systems.

Structs§

Serial
A serial teletype interface for x86_64 systems.

Statics§

SERIAL 🔒
A global serial device protected by a spinlock.

Traits§

Teletype
The Teletype trait represents a generic character-based input/output device.

Functions§

serial
Returns a reference to the global serial device.