Hi Shaun,
An int is not a pointer.
Your cast... (volatile uint16_t*)(port) ...is causing you problems.
I recommend you don't do that.
HTH, --Eljay
Hi Shaun,
An int is not a pointer.
Your cast... (volatile uint16_t*)(port) ...is causing you problems.
I recommend you don't do that.
HTH, --Eljay