spi: Get basic SPI commands working
This commit is contained in:
parent
8d0e780508
commit
43a1517aec
8 changed files with 118 additions and 77 deletions
|
@ -2,6 +2,7 @@
|
|||
#ifndef __SPI_H__
|
||||
#define __SPI_H__
|
||||
|
||||
#define SPI_ADDR 0xa0140000
|
||||
int spi_cmd_txrx(uint8_t tx_size, uint8_t rx_size,
|
||||
uint8_t *tx_buf, uint8_t *rx_buf);
|
||||
|
||||
#endif /* __SPI_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue