Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/20/00 13:35
Read: times


 
#5200 - RE: warning "memory overlapped".
Eliahu
How about using a #define to equate rbr
to thr? The mechanism I would use,
though it may not be the best, is to
define a union of the two bytes, for
example:

union {
unsigned char thr;
unsigned char rbr;
} uUARTreg _at_ 0x00;

uUARTreg.thr = outputval;
inputval = uUARTreg.rbr;

Would this work for you?

Chris



List of 3 messages in thread
TopicAuthorDate
warning "memory overlapped".            01/01/70 00:00      
RE: warning "memory overlapped".            01/01/70 00:00      
RE: warning "memory overlapped".            01/01/70 00:00      

Back to Subject List