CS_DEV
spi_write(ice, CS_DEV, 0x04, val);
val = spi_read(ice, CS_DEV, reg);
val = spi_read(ice, CS_DEV, 0x7f);
spi_write(ice, CS_DEV, cs_inits[i], cs_inits[i+1]);