aboutsummaryrefslogtreecommitdiffstats
path: root/include/usrp_uhd/usrp/dboard/interface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-21 19:05:30 -0800
committerJosh Blum <josh@joshknows.com>2010-01-21 19:05:30 -0800
commit069a7ce0570001ea3d9512a11d238ea4d6773f1d (patch)
treecf38f9c1745d0054d8775551b1caedf5522f55b2 /include/usrp_uhd/usrp/dboard/interface.hpp
parente3483c7451d20b7ed1d8d4865e15751f18cdef78 (diff)
downloaduhd-069a7ce0570001ea3d9512a11d238ea4d6773f1d.tar.gz
uhd-069a7ce0570001ea3d9512a11d238ea4d6773f1d.tar.bz2
uhd-069a7ce0570001ea3d9512a11d238ea4d6773f1d.zip
Added more to the mboard test and the usrp device.
Diffstat (limited to 'include/usrp_uhd/usrp/dboard/interface.hpp')
-rw-r--r--include/usrp_uhd/usrp/dboard/interface.hpp28
1 files changed, 11 insertions, 17 deletions
diff --git a/include/usrp_uhd/usrp/dboard/interface.hpp b/include/usrp_uhd/usrp/dboard/interface.hpp
index acbfc6d70..7af45f7a2 100644
--- a/include/usrp_uhd/usrp/dboard/interface.hpp
+++ b/include/usrp_uhd/usrp/dboard/interface.hpp
@@ -96,50 +96,44 @@ public:
/*!
* Read daughterboard GPIO pin values
*
- * \param bank GPIO_TX_BANK or GPIO_RX_BANK
+ * \param bank GPIO_TX_BANK or GPIO_RX_BANK
* \return the value of the gpio bank
*/
virtual uint16_t read_gpio(gpio_bank_t bank) = 0;
/*!
* \brief Write to I2C peripheral
- * \param i2c_addr I2C bus address (7-bits)
- * \param buf the data to write
- * Writes are limited to a maximum of of 64 bytes.
+ * \param i2c_addr I2C bus address (7-bits)
+ * \param buf the data to write
*/
- virtual void write_i2c (int i2c_addr, const std::string &buf) = 0;
+ virtual void write_i2c(int i2c_addr, const std::string &buf) = 0;
/*!
* \brief Read from I2C peripheral
- * \param i2c_addr I2C bus address (7-bits)
- * \param len number of bytes to read
+ * \param i2c_addr I2C bus address (7-bits)
+ * \param len number of bytes to read
* \return the data read if successful, else a zero length string.
- * Reads are limited to a maximum of 64 bytes.
*/
- virtual std::string read_i2c (int i2c_addr, size_t len) = 0;
+ virtual std::string read_i2c(int i2c_addr, size_t len) = 0;
/*!
* \brief Write data to SPI bus peripheral.
*
* \param dev which spi device
* \param push args for writing
- * \param buf the data to write
- *
- * Writes are limited to a maximum of 64 bytes.
+ * \param buf the data to write
*/
- virtual void write_spi (spi_dev_t dev, spi_push_t push, const std::string &buf) = 0;
+ virtual void write_spi(spi_dev_t dev, spi_push_t push, const std::string &buf) = 0;
/*!
* \brief Read data from SPI bus peripheral.
*
* \param dev which spi device
* \param push args for reading
- * \param len number of bytes to read. Must be in [0,64].
+ * \param len number of bytes to read
* \return the data read if sucessful, else a zero length string.
- *
- * Reads are limited to a maximum of 64 bytes.
*/
- virtual std::string read_spi (spi_dev_t dev, spi_latch_t latch, size_t len) = 0;
+ virtual std::string read_spi(spi_dev_t dev, spi_latch_t latch, size_t len) = 0;
};
}}} //namespace