This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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