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.

Definition at line 144 of file ser.h.


Field Documentation

struct SerialHardware* Serial::hw [read]

Low-level interface to hardware.

Definition at line 178 of file ser.h.

volatile serstatus_t Serial::status

Holds the flags defined above.

Will be 0 when no errors have occurred.

Definition at line 175 of file ser.h.


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