As Dave N6NZ wrote: > The structs for peripheral register definitions are hugely more > usable than the current header file design. Much more readable and > convenient.
What's really good about it is that this is a straight design now, from the IC designers to the compiler/library. This would not have been possible (at least not that way) with the previous AVR designs. Part of the picture is that each peripheral now consists of a well-defined set of registers starting at a particular base address, so combining them into a single struct is just a logical consequence. (Recent ATmegas are much closer to this than early AT90s but still quite a mile away from the ATmega design.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
