#ifndef __SPI_H__ | |
#define __SPI_H__ | |
int lynq_spi_recv_data(char *spi_data,unsigned int spi_len); | |
int lynq_spi_send_data(char *spi_data,unsigned int spi_len); | |
int lynq_spi_read_state(unsigned char spi_feature,unsigned int spi_valu); | |
int lynq_spi_set_state(unsigned char spi_feature,unsigned int spi_valu); | |
int lynq_spi_set_channel(unsigned char spi_channel); | |
#endif //__SPI_H__ |