Xmega IEC60730 Class B Library  1.0
 All Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
classb_cpu.h File Reference

Detailed Description

Settings and definitions for the CPU registers test.

Application note:
AVR1610: Guide to IEC60730 Class B compliance with XMEGA
Documentation
For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@a.nosp@m.tmel.nosp@m..com

Copyright (C) 2012 Atmel Corporation. All rights reserved.

Definition in file classb_cpu.h.

#include "error_handler.h"
+ Include dependency graph for classb_cpu.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLASSB_ERROR_CRIT   CLASSB_LABEL1
 Error handling in critical registers. If this constant is defined as CLASSB_LABEL1, critical register faults will hang the device. However, if this was defined as CLASSB_LABEL2, errors in critical registers would be processed by the error handler.
#define CLASSB_ERROR_NON_CRIT   CLASSB_LABEL2
 Error handling in non-critical registers. If this constant is defined as CLASSB_LABEL2, errors in non-critical registers will be processed by the error handler. However, it was defined as CLASSB_LABEL1, non-critical register faults would hang the device.

Functions

bool classb_register_test (void)
 CPU register self-diagnostic routine for AVR GCC.