Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/drivers/flash/flash.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int FLASH_init ()
 verify the presence of a flash rom in the system. More...

int FLASH_bcopy (void *s1, void *s2, size_t n)
 rewrites the flash with data. More...

int FLASH_CSInfo (unsigned short base_register, unsigned short option_register)
 print the contents of a 68332 SIM ChipSelect register set. More...


Variables

unsigned short FLASH_MID
unsigned short FLASH_DID


Function Documentation

int FLASH_bcopy void *    s1,
void *    s2,
size_t    n
 

rewrites the flash with data.

Parameters:
s1  is the source pointer
s2  is the destination pointer
n  is the number of bytes to write

Definition at line 108 of file flash.c.

int FLASH_CSInfo unsigned short    br,
unsigned short    or
 

print the contents of a 68332 SIM ChipSelect register set.

Parameters:
br  is the content of the base address register
or  is the content of the option register

Definition at line 209 of file flash.c.

Referenced by FLASH_init.

int FLASH_init  
 

verify the presence of a flash rom in the system.

Parameters:
none 

Definition at line 37 of file flash.c.


Variable Documentation

unsigned short FLASH_DID
 

Definition at line 17 of file flash.h.

unsigned short FLASH_MID
 

Definition at line 16 of file flash.h.


Generated on Thu Feb 20 15:38:48 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002