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.

Dependents:   testUniGraphic_150217 maze_TFT_MMA8451Q TFT_test_frdm-kl25z TFT_test_NUCLEO-F411RE ... more

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, I2C_, BUS_8,
  BUS_16, SPI_8, SPI_16, I2C_
}
 

Protocol types.

More...
enum  proto_t {
  PAR_8, PAR_16, BUS_8, BUS_16,
  SPI_8, SPI_16, I2C_, BUS_8,
  BUS_16, SPI_8, SPI_16, I2C_
}

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.

I2C_ 

I2C.

BUS_8 

Parallel 8bit, scattered pins.

BUS_16 

Parallel 16bit, scattered pins.

SPI_8 

SPI 8bit.

SPI_16 

SPI 16bit.

I2C_ 

I2C.

Definition at line 27 of file Protocols.h.

enum proto_t
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.

I2C_ 

I2C.

BUS_8 

Parallel 8bit, scattered pins.

BUS_16 

Parallel 16bit, scattered pins.

SPI_8 

SPI 8bit.

SPI_16 

SPI 16bit.

I2C_ 

I2C.

Definition at line 37 of file Protocols.h.