Appendix D

Register and Bit Definitions

For each device in the AVR microcontroller family, some definitions of registers, bits, and addresses are predefined in an include file xxxdef.inc. The characters xxxx are replaced by the part number of the microcontroller used. The following listing shows the contents of the file 8515def.inc as an example.

image

image

image

Get AVR RISC Microcontroller Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.