Basically i glued Peter Drescher and Simon Ford libs in a GraphicsDisplay class, then derived TFT or LCD class (which inherits Protocols class), then the most derived ones (Inits), which are per-display and are the only part needed to be adapted to diff hw.

Fork of UniGraphic by GraphicsDisplay

Embed: (wiki syntax)

« Back to documentation index

Protocols.h File Reference

Protocols.h File Reference

Go to the source code of this file.

Data Structures

class  Protocols
 Abstract interface class for spi and parallel protocols. More...

Enumerations

enum  proto_t {
  PAR_8, PAR_16, BUS_8, BUS_16,
  SPI_8, SPI_16
}
 

Protocol types.

More...

Detailed Description

Definition in file Protocols.h.


Enumeration Type Documentation

enum proto_t

Protocol types.

Enumerator:
PAR_8 

Parallel 8bit, port pins 0 to 7.

PAR_16 

Parallel 16bit, port pins 0 to 15.

BUS_8 

Parallel 8bit, scattered pins.

BUS_16 

Parallel 16bit, scattered pins.

SPI_8 

SPI 8bit.

SPI_16 

SPI 16bit.

Definition at line 20 of file Protocols.h.