summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
blob: 0c90b6db604c99174ca12b4e12a4bb1fd037655f (plain)
1
2
3
4
5
6
7
8
9
#define SPI_MODE0               0x00
#define SPI_MODE1               0x01
#define SPI_MODE2               0x02
#define SPI_MODE3               0x03

/* DO NOT TOUCH THEESE */
#define SPI_SIZE_CHUNK          4
#define SPI_SIZE_WM             2