MMC read block uses (HIGH(varh)); HIGH not CCS C recognised

Hello Ed Waugh,

Thanks a lot for your code re: reading/writing SD/MMC cards.

In the read/write block functions you use

SPI_WRITE(HIGH)varh));

where is HIGH and LOW defined? presumably it shifts the bits into an 8 bit integer for the SPI but the compiler does not recognise it and my eforts to emulate dont appear to work.

Best regards

Graham

Parents Reply Children
No data
More questions in this forum