Low-level FPGA interface. More...
Defines | |
#define | fpga_write_byte(addr, v) ((volatile uint8_t*) FPGA_BASE)[(addr)] = (v) |
FPGA Write Byte - write a byte to an FPGA register. Not called by the user. | |
#define | fpga_read_byte(addr) ((volatile uint8_t*) FPGA_BASE)[(addr)] |
FPGA Read Byte - read a byte from an FPGA register. Not called by the user. | |
#define | fpga_get_version_major() fpga_read_byte(FPGA_VERSION_MAJ) |
Get the FPGA Major Version. Not called by the user. | |
#define | fpga_get_version_minor() fpga_read_byte(FPGA_VERSION_MIN) |
Get the FPGA Minor Version. Not called by the user. | |
Functions | |
uint8_t | fpga_init (uint16_t start, uint16_t len) |
Initialise FPGA. Not called by the user. |
These functions are used to communicate with the fgpa, for programming, etc. None of these should ever have to be called by the user.