Analog I/O Test | This self-diagnostic test for the ADC, DAC and analog multiplexer |
Real Time Counter Driver | This is a basic driver for the Real Time Counter (RTC) |
CRC Tests | This CRC module can be used to check the Flash and EEPROM memories |
 Configuration of CRC Implementation | Symbols that can be defined to configure the CRC computation |
 Type definitions for CRC functions | Data types used in connection with CRC computations |
 CRC hardware implementation | Low-level driver implementation for the AVR XMEGA AU CRC module |
 CRC software implementation | CRC computations implemented in software |
Error Handling | Definitions related to error handling for Class B tests |
CPU Frequency Test | This is the self-diagnostic test for the CPU frequency. The test consists in monitoring the frequency of a Timer/Counter (TC) using the Real Time Counter (RTC) module as a time reference. Note that the TC has the same clock domain as the CPU and that the RTC module in XMEGA can have a clock source independent from the CPU clock domain. Note that CLASSB_FREQ_TEST has to be defined. For more details see Real Time Counter Driver |
 Settings | This should be configured by the user |
 Functions | Functions related to the CPU frequency self-test |
Interrupt Monitor | A test for the frequency of interrupts |
 Settings | Settings for the interrupt monitor |
 Interrupt data interface | Definition of data structures used by the monitor |
 Functions | Functions related to the interrupt monitor |
CPU Register test | This is the self-test module for the registers in the CPU |
 Settings related to error handling | In principle, any error in critical registers would mean that the system cannot verify whether the registers are working correctly. Since registers are vital to most applications, the microcontroller should probably hang. However, this behavior can be modified so that failure in critical registers is handled by CLASSB_ERROR_HANDLER_REGISTERS(). The behavior for failure in non-critical registers can also be configured: the microcontroller can call the error handler or hang |
 Functions | This is the self-test for CPU registers |
Internal SRAM Test | This self-diagnostic test checks the internal SRAM memory for coupling faults |
Watchdog Timer Test | This test checks that the watchdog timer (WDT) is working. The WDT is a system function for monitoring correct program operation that allows recovering from error situations such as runaway or deadlocked code. The self-diagnostic test classb_wdt_test() is executed before the main application and it basically makes sure that: |