Changeset 388 for trunk/softs/tsar_boot/include/spi.h
- Timestamp:
- May 16, 2013, 3:01:37 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/softs/tsar_boot/include/spi.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/include/spi.h
r292 r388 98 98 void spi_dev_config ( 99 99 struct spi_dev * spi, 100 int spi_freq ,101 int sys_freq ,102 int char_len ,103 int tx_edge ,104 int rx_edge );100 int spi_freq , 101 int sys_freq , 102 int char_len , 103 int tx_edge , 104 int rx_edge ); 105 105 106 106 /** … … 121 121 #define SPI_RXTX_MASK ( 0xFF ) /**< Mask for the an RX/TX value */ 122 122 123 /**124 * \param x :Initialized pointer to the SPI controller125 *126 * \return 1 if there is an unfinished transfer in the SPI controller127 *128 *Check the GO_BUSY bit of the SPI Controller129 */123 /** 124 * \param x : Initialized pointer to the SPI controller 125 * 126 * \return 1 if there is an unfinished transfer in the SPI controller 127 * 128 * \brief Check the GO_BUSY bit of the SPI Controller 129 */ 130 130 #define SPI_IS_BUSY(x) ((ioread32(&x->ctrl) & SPI_CTRL_GO_BSY) != 0) ? 1 : 0 131 131
Note: See TracChangeset
for help on using the changeset viewer.
