|
virtual void | poke32 (boost::uint32_t addr, boost::uint32_t data)=0 |
|
virtual boost::uint32_t | peek32 (boost::uint32_t addr)=0 |
|
virtual void | poke16 (boost::uint32_t addr, boost::uint16_t data)=0 |
|
virtual boost::uint16_t | peek16 (boost::uint32_t addr)=0 |
|
virtual void | write_uart (boost::uint8_t dev, const std::string &buf)=0 |
|
virtual std::string | read_uart (boost::uint8_t dev)=0 |
|
virtual void | write_i2c (boost::uint8_t addr, const byte_vector_t &buf)=0 |
|
virtual byte_vector_t | read_i2c (boost::uint8_t addr, size_t num_bytes)=0 |
|
virtual void | write_eeprom (boost::uint8_t addr, boost::uint8_t offset, const byte_vector_t &buf) |
|
virtual byte_vector_t | read_eeprom (boost::uint8_t addr, boost::uint8_t offset, size_t num_bytes) |
|
virtual boost::uint32_t | transact_spi (int which_slave, const spi_config_t &config, boost::uint32_t data, size_t num_bits, bool readback)=0 |
|
virtual boost::uint32_t | read_spi (int which_slave, const spi_config_t &config, boost::uint32_t data, size_t num_bits) |
|
virtual void | write_spi (int which_slave, const spi_config_t &config, boost::uint32_t data, size_t num_bits) |
|
The mboard interface class: Provides a set of functions to implementation layer. Including spi, peek, poke, control...