Init commit

This commit is contained in:
Jeremy Shen
2026-06-17 09:48:54 +08:00
commit d3c9082493
43 changed files with 3908 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef CPLD_CON_H_
#define CPLD_CON_H_
#include <stdio.h>
#include <xstatus.h>
#include <xparameters.h>
#include "GPIO_Driv.h"
#include "SPI_Driv.h"
#define dat_width 3
int CPLD_Write(u8 addr,u32 data);
int CPLD_Read(u8 CPLDSel, u8 reg_addr, u32* reg_data);
int CPLD_Read_ALL(u8 reg_addr, u32* reg_data);
int CPLD_exec();
#endif /* CPLD_CON_H_ */