lib: xc7series: define known CMD register values

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
Rick Altherr 2018-02-01 12:25:45 -08:00
parent 80004a3737
commit a4fb9ff7d8
1 changed files with 34 additions and 0 deletions

View File

@ -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_