flash_avr.h File Reference

AVR Internal flash read/write driver. More...

#include <cpu/types.h>
#include <cfg/compiler.h>
#include <kern/kfile.h>
#include <avr/io.h>

Go to the source code of this file.

Data Structures

struct  FlashAvr
 FlashAvr KFile context structure. More...

Typedefs

typedef uint16_t page_t
 Definition of type for avr flash module.

typedef struct FlashAvr FlashAvr
 FlashAvr KFile context structure.

Functions

void flash_hw_init (struct Flash *fd)
 Init module to perform write and read operation on internal flash memory.
void flash_avr_init (struct FlashAvr *fd)
 WARNING! This function is DEPRECADED! use the flash module instead.

Detailed Description

AVR Internal flash read/write driver.

Author:
Francesco Sacchi <batt@develer.com>
Daniele Basile <asterix@develer.com>

Definition in file flash_avr.h.


Typedef Documentation

typedef struct FlashAvr FlashAvr

FlashAvr KFile context structure.

DEPREACTED STRUCTURE! Use Flash instead