36#include "ice_fpga_data.h"
bool ice_cram_close(void)
Terminate the SPI transaction and prepare the FPGA to start, waiting until it finishes booting.
bool ice_cram_open(const ice_fpga fpga)
Reset the iCE40 and set it to CRAM configuration mode and prepare the incoming SPI transfer.
int ice_cram_write(const uint8_t *buf, size_t len)
Send the bitstream to the iCE40 CRAM, which configures the FPGA circuitry.
Definition ice_fpga_data.h:40