Atmel Software Framework

avr8/hugemem.h File Reference

Access to huge data memory with 8-bit AVR.

Do not include this file directly, but rather <hugemem.h>.

Copyright (c) 2009-2015 Atmel Corporation. All rights reserved.

#include <stdlib.h>
#include "conf_board.h"
#include <stdint.h>
#include "compiler.h"

Macros

#define HUGEMEM_NULL   0
 

Typedefs

typedef uint32_t hugemem_ptr_t
 Type to use for pointers to huge memory. More...
 

Functions

uint_fast16_t hugemem_read16 (const hugemem_ptr_t from)
 
uint_fast32_t hugemem_read32 (const hugemem_ptr_t from)
 
static uint_fast8_t hugemem_read8 (const hugemem_ptr_t from)
 
void hugemem_read_block (void *to, const hugemem_ptr_t from, size_t size)
 
void hugemem_write16 (hugemem_ptr_t to, uint_fast16_t val)
 Write 16-bit value val to huge memory address to. More...
 
void hugemem_write32 (hugemem_ptr_t to, uint_fast32_t val)
 Write 32-bit value val to huge memory address to. More...
 
static void hugemem_write8 (hugemem_ptr_t to, uint_fast8_t val)
 
void hugemem_write_block (hugemem_ptr_t to, const void *from, size_t size)