Go to the documentation of this file.
24 #ifndef __REALTEK_RTSX_SPI_H
25 #define __REALTEK_RTSX_SPI_H
28 #define SPI_NO_ERR 0x00
29 #define SPI_HW_ERR 0x01
30 #define SPI_INVALID_COMMAND 0x02
31 #define SPI_READ_ERR 0x03
32 #define SPI_WRITE_ERR 0x04
33 #define SPI_ERASE_ERR 0x05
34 #define SPI_BUSY_ERR 0x06
38 #define SPI_FAST_READ 0x0B
43 #define SF_PAGE_LEN 256
45 #define BYTE_PROGRAM 0
47 #define PAGE_PROGRAM 2