rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | #ifndef __SPI_H__ |
2 | #define __SPI_H__ | ||||
3 | int lynq_spi_recv_data(char *spi_data,unsigned int spi_len); | ||||
4 | int lynq_spi_send_data(char *spi_data,unsigned int spi_len); | ||||
5 | int lynq_spi_read_state(unsigned char spi_feature,unsigned int spi_valu); | ||||
6 | int lynq_spi_set_state(unsigned char spi_feature,unsigned int spi_valu); | ||||
7 | int lynq_spi_set_channel(unsigned char spi_channel); | ||||
8 | #endif //__SPI_H__ |