> > > Which is perfectly fine if UCSRA is defined to work that way. I > often define structs for SFRs so that I'd do something like: > > while (UCSRAbits.UDRE != 0) This certainly is a lot easier to read. I try to avoid reversed inversions of negative logic inverted. I would also hope that the compiler would end up with the same asm for both cases, but maybe I'm being too optimistic? If it's not something that executes a lot then I wouldn't worry about it. [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] Re: Some C help please !
2007-03-13 by David VanHorn