blob: d1aeb518aceb789cf496e44c2e46805bbc8fd293 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#ifndef __SPI_H__
2#define __SPI_H__
3int lynq_spi_recv_data(char *spi_data,unsigned int spi_len);
4int lynq_spi_send_data(char *spi_data,unsigned int spi_len);
5int lynq_spi_read_state(unsigned char spi_feature,unsigned int spi_valu);
6int lynq_spi_set_state(unsigned char spi_feature,unsigned int spi_valu);
7int lynq_spi_set_channel(unsigned char spi_channel);
8#endif //__SPI_H__