At 11:33 AM 6/12/2005, James Hatley wrote: >Hello, > >You may be able to toggle a port bit by writing a 1 to the corresponding >PINx bit. I've not seen it documented anywhere except in the m2560 document. >You might want to try it to see if it works on all AVR processors. Hmm. It's only an improvement on toggling a bit that's in an unknown state though. If you know, then sbi portx,y or cbi portx,y is just as fast. It's also a tie on pulsing the bit, two instructions either way.
Message
Re: [AVR-Chat] Bit logic...
2005-06-13 by Dave VanHorn