tree: 1bb3097ab7692e701631fa2e7c1d12a17d853410 [path history] [tgz]
  1. fake_dev.cc
  2. fake_dev.h
  3. ftdi.cc
  4. ftdi.h
  5. i2c.cc
  6. i2c.h
  7. README.md
  8. retry.cc
  9. retry.h
  10. uart.cc
  11. uart.h
hps/hal/README.md

HPS Hardware Abstraction Layer

The HPS code uses a HAL (Hardware Abstraction Layer) interface to access the HPS hardware device. The dev.h interface defines the HAL API. This HAL library implements the various access methods that are used.

I2C

The i2c implementation uses a i2c device to connect to the hardware module.

FTDI

The ftdi implementation uses the libftdi1 library to remotely interface a minimal I2C connection via FTDI USB interface devices such as FT4232H.

FakeDev

The FakeDev class implements an internal s/w simulator of the HPS hardware for testing and development.

UART

The uart implementation uses a serial protocol to communicate with a remote device.

Retry

The retry class is a shim proxy layer that allows calls to be retried upon error.