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

Detailed Description

Settings and defines used in connection with CRC memory tests.

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_crc.h.

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

Go to the source code of this file.

Macros

#define CLASSB_CRC_USE_HW
 Compile hardware implementation.
#define CLASSB_CRC_USE_SW
 Compile software implementation.
#define CLASSB_CRC_16_BIT
 Compile 16-bit functions.
#define CLASSB_CRC_32_BIT
 Compile 32-bit functions.

Typedefs

typedef uint32_t crcbytenum_t
 Data type to use for byte counts in CRC computations. This type should be kept as small as possible to optimize for speed.
typedef uint32_t flash_addr_t
 Data type for holding flash memory addresses. Depending of the size of the device it will be necessary to use 32 or 16 bits.
typedef const void * eepromptr_t
 Generic pointer to EEPROM.
typedef const uint8_t * eeprom_uint8ptr_t
 Pointer to a byte in EEPROM.
typedef const uint16_t * eeprom_uint16ptr_t
 Pointer to two bytes in EEPROM.
typedef const uint32_t * eeprom_uint32ptr_t
 Pointer to four bytes in EEPROM.
typedef flash_addr_t flashptr_t
 Generic pointer to Flash.
typedef flash_addr_t flash_uint8ptr_t
 Pointer to a byte in Flash.