mirror of https://github.com/openXC7/prjxray.git
lib: xc7series: define known CMD register values
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
parent
80004a3737
commit
a4fb9ff7d8
|
|
@ -0,0 +1,34 @@
|
|||
#ifndef PRJXRAY_LIB_XILINX_XC7SERIES_COMMAND_H_
|
||||
#define PRJXRAY_LIB_XILINX_XC7SERIES_COMMAND_H_
|
||||
|
||||
namespace prjxray {
|
||||
namespace xilinx {
|
||||
namespace xc7series {
|
||||
|
||||
enum class Command : uint32_t {
|
||||
NOP = 0x0,
|
||||
WCFG = 0x1,
|
||||
MFW = 0x2,
|
||||
LFRM = 0x3,
|
||||
RCFG = 0x4,
|
||||
START = 0x5,
|
||||
RCAP = 0x6,
|
||||
RCRC = 0x7,
|
||||
AGHIGH = 0x8,
|
||||
SWITCH = 0x9,
|
||||
GRESTORE = 0xA,
|
||||
SHUTDOWN = 0xB,
|
||||
GCAPTURE = 0xC,
|
||||
DESYNC = 0xD,
|
||||
IPROG = 0xF,
|
||||
CRCC = 0x10,
|
||||
LTIMER = 0x11,
|
||||
BSPI_READ = 0x12,
|
||||
FALL_EDGE = 0x13,
|
||||
};
|
||||
|
||||
} // namespace xc7series
|
||||
} // namespace xilinx
|
||||
} // namespace prjxray
|
||||
|
||||
#endif // PRJXRAY_LIB_XILINX_XC7SERIES_COMMAND_H_
|
||||
Loading…
Reference in New Issue