Getting STARTed with AVR® - Ep. 3 - AVR Code Project Structure Key Files | Videos
Getting STARTed with AVR® - Ep. 3 - AVR Code Project Structure Key Files
- Project root files, atmel_start.c/h, driver_isr.c and main.c
- MCU init in src/driver_init.c which sets up the configured GPIO and peripherals, e.g. calling RTC_0_init ().
- Exploring RTC_0_init () to understand the register configuration, through readable enumerators for bitfields, as well as generated comments.
- Write a couple of lines of code to read in the USER_BUTTON level and turn on the USER_LED, when pressed.
- Assign the Tool to our project, the embedded debugger on our ATtiny817 Xplained Mini
- Demonstrate Atmel Studio’s kit recognition, and the kit welcome page, from where we can find the links to Technical documents, such as kit user-guide and schematics.
- Program our project, using start without debugging, demonstrating our LED on Button press functionality.
http://start.atmel.com/