Changeset 388 for trunk/softs/tsar_boot/include
- Timestamp:
- May 16, 2013, 3:01:37 PM (12 years ago)
- Location:
- trunk/softs/tsar_boot/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/include/boot_ioc.h
r347 r388 3 3 4 4 #ifndef SOCLIB_IOC 5 6 5 #include <sdcard.h> 6 #include <spi.h> 7 7 #else 8 8 #include <block_device.h> 9 9 #endif 10 10 -
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 127 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.