I was wondering if anyone could clue me into getting multiple byte values out the uart
Ive tried a couple of different things:

int i = 0x4508
char *a= &i;
 U0TXBUF = a[0];
 U0TXBUF = a[1];

and

int i= 0x4508
ByteL = (char)i;
ByteH = (char) (i >>8);

I imagine that there is a better way to do these things, I could always use Inline ASM but that would defeat the purpose of using C.

--Del


Reply via email to