Serial Struct Reference

Serial handle structure. More...

#include <ser.h>

Data Fields

KFile fd
 Serial have a KFile struct implementation.
unsigned int unit
 Physical port number.
volatile serstatus_t status
 Holds the flags defined above.
struct SerialHardware * hw
 Low-level interface to hardware.
Transmit and receive FIFOs.

Declared volatile because handled asinchronously by interrupts.

FIFOBuffer txfifo
FIFOBuffer rxfifo

Detailed Description

Serial handle structure.


Field Documentation

struct SerialHardware* Serial::hw

Low-level interface to hardware.

Definition at line 176 of file ser.h.

Holds the flags defined above.

Will be 0 when no errors have occurred.

Definition at line 173 of file ser.h.


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