Add CPLD_Con.c/h: Move CPLD Control Code to seperate file.
Add CPLD Read/Write Command.
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
#include "xstatus.h"
|
||||
#include "xgpiops.h"
|
||||
|
||||
#include "SPI_Driv.h"
|
||||
#include "GPIO_Driv.h"
|
||||
#include "CPLD_Con.h"
|
||||
|
||||
|
||||
#define dat_width 3
|
||||
#define CPLD_SPI_WRITE 5
|
||||
#define CPLD_SPI_READ 2
|
||||
#define DC_CMD_LEN 6
|
||||
#define Freq_CMD_LEN 7 //TODO: Update sw_config()!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user