Microchip® Advanced Software Framework

generic/hugemem.h File Reference

Generic implementation of huge data memory access.

Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <string.h>

Macros

#define HUGEMEM_NULL   NULL
 

Typedefs

typedef void * hugemem_ptr_t
 

Functions

uint_fast16_t hugemem_read16 (const hugemem_ptr_t from)
 
uint_fast32_t hugemem_read32 (const hugemem_ptr_t from)
 
static uint8_t hugemem_read8 (const hugemem_ptr_t from)
 
void hugemem_read_block (void *to, const hugemem_ptr_t from, size_t size)
 
static void hugemem_write16 (hugemem_ptr_t to, uint16_t val)
 
static void hugemem_write32 (hugemem_ptr_t to, uint32_t val)
 
static void hugemem_write8 (hugemem_ptr_t to, uint8_t val)
 
void hugemem_write_block (hugemem_ptr_t to, const void *from, size_t size)
 

static uint8_t hugemem_read8 ( const hugemem_ptr_t  from)
inlinestatic