flash_at91.h File Reference

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

#include <cpu/types.h>
#include <kern/kfile.h>
#include <io/arm.h>

Go to the source code of this file.

Data Structures

struct  FlashAt91
 FlashAt91 KFile context structure. More...

Defines

#define KFT_FLASHAT91   MAKE_ID('F', 'A', '9', '1')
 ID for FlashAt91.

Typedefs

typedef uint32_t arm_page_t
 Define data type to manage page and memory address.

Functions

FlashAt91FLASHAT91_CAST (KFile *fd)
 Convert + ASSERT from generic KFile to FlashAt91.
void flash_at91_init (FlashAt91 *fd)
 Init module to perform write and read operation on internal flash memory.

Detailed Description

At91sam7 Internal flash read/write driver.

Author:
Daniele Basile <asterix@develer.com>

Definition in file flash_at91.h.