Changeset 579 for trunk/modules/vci_spi/include/soclib/vcispi.h
- Timestamp:
- Nov 23, 2013, 1:25:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_spi/include/soclib/vcispi.h
r573 r579 35 35 SPI_CTRL, 36 36 SPI_DIVIDER, 37 SPI_SS 37 SPI_SS, 38 SPI_DMA_BASE, 39 SPI_DMA_BASEH, 40 SPI_DMA_COUNT 38 41 }; 39 42 40 #define SPI_CTRL_CPOL (1 << 15) /* Clock polarity */ 41 #define SPI_CTRL_CPHA (1 << 14) /* Clock phase */ 42 #define SPI_CTRL_IE_EN (1 << 12) /* Interrupt Enable */ 43 #define SPI_CTRL_DMA_BSY (1 << 16) /* R DMA in progress */ 44 #define SPI_CTRL_CPOL (1 << 15) /* R/W Clock polarity */ 45 #define SPI_CTRL_CPHA (1 << 14) /* R/W Clock phase */ 46 #define SPI_CTRL_IE_EN (1 << 12) /* R/W Interrupt Enable */ 43 47 // 9-11 reserved 44 #define SPI_CTRL_GO_BSY (1 << 8 ) /* Start the transfer */ 45 #define SPI_CTRL_CHAR_LEN_MASK (0xFF ) /* Bits transmited in 1 transfer */ 48 #define SPI_CTRL_GO_BSY (1 << 8 ) /* R/W Start the transfer */ 49 #define SPI_CTRL_CHAR_LEN_MASK (0xFF ) /* R/W Bits transmited in 1 transfer*/ 50 51 #define SPI_DMA_COUNT_READ (1 << 0) /* operation is a read (else write) */ 46 52 47 53 #endif /* SPISD_H */
Note: See TracChangeset
for help on using the changeset viewer.