This is a demo application for the CPU registers test.
The test is called from a button interrupt. If there is an error the CPU goes to an infinite loop or sets the global error flag classb_error. This depends on the kind of error and the user configuration.
Copyright (C) 2012 Atmel Corporation. All rights reserved.
Definition in file registers/UserApplication.c.
Include dependency graph for registers/UserApplication.c:Go to the source code of this file.
Functions | |
| void | setup_led_switches () |
| Sets up LEDs and switches. | |
| int | main (void) |
| Main entry point of the application. | |
| ISR (SWITCH_INT0_vect) | |
| The button interrupt is used to call the self-diagnostic routine. | |
Variables | |
| NO_INIT volatile uint8_t | classb_error |
| Global error flag. | |