Ignore:
Timestamp:
May 30, 2013, 5:16:33 PM (12 years ago)
Author:
bouyer
Message:

Use 128bits transfers at the SPI controller level when possible;
this speeds up the boot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/include/spi.h

    r388 r398  
    6060 */
    6161inline volatile unsigned char spi_get_rx(struct spi_dev * spi, int index);
     62
     63/**
     64 * \param   spi     : initialized pointer to a SPI controller.
     65 * \param   buf     : buffer to store data read
     66 * \param   count   : byte count to read
     67 *
     68 * \return  void
     69 *
     70 * \brief   get a data block from the SPI controller using 128bits
     71 *          reads if possible
     72 */
     73void spi_get_data(struct spi_dev * spi, void *buf, unsigned int count);
    6274
    6375/**
Note: See TracChangeset for help on using the changeset viewer.