Post #2984903
2026-05-29 14:27 UTC
Why is there no mention in #AVR #ATtiny 1-series documents on the page describing 'PORTx.OUTTGL' that *writing* to this register is not necessary, because one may instead write to 'VPORTx.IN'? ๐
The latter takes a write access as if one would have written to 'PORTx.OUTTGL' (to toggle output bit value/values). And it is accessible via 'out' instruction instead of the slower and larger 'sts' instruction. ๐ค
Replies (0)
No replies.