
14 Jun
2013
14 Jun
'13
6:55 p.m.
Hi, While reading the code in cfspi_tx(): while ((dspi->sr & 0x0000F000) >= 4) ;
I don't see the point of checking "(dspi->sr & 0x0000F000) >= 4)".
I'm wondering if it should be while ((dspi->sr & 0x0000F000) >> 12) >= 4) ; or simply while (dspi->sr & 0x0000F000) ;
Current code actually has the same effect as "while (dspi->sr & 0x0000F000) ;".
comments?
Axel