Defines | |
#define | fpga_write_byte(addr, v) ((volatile uint8_t*) FPGA_BASE)[(addr)] = (v) |
FPGA Write Byte - write a byte to an FPGA register. | |
#define | fpga_read_byte(addr) ((volatile uint8_t*) FPGA_BASE)[(addr)] |
FPGA Read Byte - read a byte from an FPGA register. | |
#define | fpga_get_version_major() fpga_read_byte(FPGA_VERSION_MAJ) |
Get the FPGA Major Version. | |
#define | fpga_get_version_minor() fpga_read_byte(FPGA_VERSION_MIN) |
Get the FPGA Minor Version. | |
Functions | |
uint8_t | fpga_init (uint16_t start, uint16_t len) |
Initialise FPGA. |