AUTHORS: Huang, Han-Way - ©2014
Offering comprehensive, cutting-edge coverage, THE ATMEL AVR MICROCONTROLLER: MEGA AND XMEGA IN ASSEMBLY AND C delivers a systematic introduction to the popular Atmel 8-bit AVR microcontroller with an emphasis on the MEGA and XMEGA subfamilies. The text provides a concise and complete introduction to the assembly language programming before progressing to a review of C language syntax that helps with programming the AVR microcontroller. Emphasis is placed on a wide variety of peripheral functions useful in embedded system design, including parallel I/O port, interrupts and resets, I/O devices such as DIP switches, LEDs, seven-segment display, LCD, keypad, stepper motor, timer functions and their applications, serial interfaces including USART, SPI, and I2C, A/D and D/A, and the controller area network (CAN). Vivid examples demonstrate the applications of each peripheral function, which are programmed using both the assembly and C languages.