Good afternoon....
Is it possible to compare the address of a pointer to the address of an array as it is incremented for use as a pointer....so instead of counting with a variable and reaching termination count I was wondering if I could do
Code:
while (*(&pTx) == &(mssg[5]));
So if pTx is getting incremented in code within an ISR as such, pTx++, I wanted to wake up at the tail of the ISR and go back to main and act on the above while loop to see if it had reached the address of array mssg[5] ...Note that pTx = mssg; early on in code.
Thanks