Xmega IEC60730 Class B Library  1.0
 All Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Class B Modules
Here is a list of all modules:
[detail level 12]
oAnalog I/O TestThis self-diagnostic test for the ADC, DAC and analog multiplexer
oReal Time Counter DriverThis is a basic driver for the Real Time Counter (RTC)
oCRC TestsThis CRC module can be used to check the Flash and EEPROM memories
|oConfiguration of CRC ImplementationSymbols that can be defined to configure the CRC computation
|oType definitions for CRC functionsData types used in connection with CRC computations
|oCRC hardware implementationLow-level driver implementation for the AVR XMEGA AU CRC module
|\CRC software implementationCRC computations implemented in software
oError HandlingDefinitions related to error handling for Class B tests
oCPU Frequency TestThis 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
|oSettingsThis should be configured by the user
|\FunctionsFunctions related to the CPU frequency self-test
oInterrupt MonitorA test for the frequency of interrupts
|oSettingsSettings for the interrupt monitor
|oInterrupt data interfaceDefinition of data structures used by the monitor
|\FunctionsFunctions related to the interrupt monitor
oCPU Register testThis is the self-test module for the registers in the CPU
|oSettings related to error handlingIn 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
|\FunctionsThis is the self-test for CPU registers
oInternal SRAM TestThis self-diagnostic test checks the internal SRAM memory for coupling faults
\Watchdog Timer TestThis 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: