Statistics: Posted by Guest — Tue Jul 05, 2016 4:43 pm
Code:
// Send the data out
WRITE_PERI_REG (SPI_CMD(1), (1<<18));SPI_CTRL2
// Wait while transfer is in progress
while (READ_PERI_REG (SPI_CMD(1)) & (1<<18));
// Deassert the CS signal
Statistics: Posted by rudi — Mon Jul 04, 2016 3:52 pm
Code:
// Send the data out
WRITE_PERI_REG (SPI_CMD(1), (1<<18));SPI_CTRL2
// Wait while transfer is in progress
while (READ_PERI_REG (SPI_CMD(1)) & (1<<18));
// Deassert the CS signal
Statistics: Posted by Guest — Mon Jul 04, 2016 12:39 pm
Statistics: Posted by rudi — Mon Jul 04, 2016 12:16 am