Content originally posted in LPCWare by karthik.s on Tue Aug 03 02:26:55 MST 2010
Can anyone explain me what the following statement means?
while ( (LPC_SSP->SR & (SSPSR_BSY|SSPSR_RNE)) != SSPSR_RNE );
This statement is taken from the SPI driver(SSP0 receive module) sample provided with the LPC1114 library.My application code is always stuck at this point and not able to figure what the problem is.