Settings and defines used in connection with CRC memory tests.
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. | |