ADD: beginning to add SPI to access flash memory.

This commit is contained in:
iceman1001 2018-02-13 11:41:23 +01:00
commit ad73af95c2
4 changed files with 28 additions and 1 deletions

View file

@ -59,8 +59,10 @@
#define SETBIT(x, y) (y) ? (HIGH(x)):(LOW(x))
#define INVBIT(x) SETBIT((x), !(GETBIT(x)))
// Setup for SPI current modes
#define SPI_FPGA_MODE 0
#define SPI_LCD_MODE 1
#define SPI_MEM_MODE 2
#ifndef COTAG_BITS
#define COTAG_BITS 264