Public Member Functions | Public Attributes

DataFlash_Class Class Reference

#include <DataFlash.h>

List of all members.

Public Member Functions

 DataFlash_Class ()
void Init ()
void ReadManufacturerID ()
int GetPage ()
int GetWritePage ()
void PageErase (unsigned int PageAdr)
void StartWrite (int PageAdr)
void WriteByte (unsigned char data)
void WriteInt (int data)
void WriteLong (long data)
void StartRead (int PageAdr)
unsigned char ReadByte ()
int ReadInt ()
long ReadLong ()

Public Attributes

unsigned char df_manufacturer
unsigned char df_device_0
unsigned char df_device_1

Detailed Description

Definition at line 41 of file DataFlash.h.


Constructor & Destructor Documentation

DataFlash_Class::DataFlash_Class (  ) 

Definition at line 64 of file DataFlash.cpp.


Member Function Documentation

int DataFlash_Class::GetPage (  ) 

Definition at line 285 of file DataFlash.cpp.

int DataFlash_Class::GetWritePage (  ) 

Definition at line 279 of file DataFlash.cpp.

void DataFlash_Class::Init ( void   ) 

Definition at line 69 of file DataFlash.cpp.

void DataFlash_Class::PageErase ( unsigned int  PageAdr  ) 

Definition at line 211 of file DataFlash.cpp.

byte DataFlash_Class::ReadByte (  ) 

Definition at line 300 of file DataFlash.cpp.

int DataFlash_Class::ReadInt (  ) 

Definition at line 321 of file DataFlash.cpp.

long DataFlash_Class::ReadLong (  ) 

Definition at line 330 of file DataFlash.cpp.

void DataFlash_Class::ReadManufacturerID (  ) 

Definition at line 100 of file DataFlash.cpp.

void DataFlash_Class::StartRead ( int  PageAdr  ) 

Definition at line 290 of file DataFlash.cpp.

void DataFlash_Class::StartWrite ( int  PageAdr  ) 

Definition at line 225 of file DataFlash.cpp.

void DataFlash_Class::WriteByte ( unsigned char  data  ) 
void DataFlash_Class::WriteInt ( int  data  ) 

Definition at line 264 of file DataFlash.cpp.

void DataFlash_Class::WriteLong ( long  data  ) 

Definition at line 270 of file DataFlash.cpp.


Member Data Documentation

Definition at line 63 of file DataFlash.h.

Definition at line 64 of file DataFlash.h.

Definition at line 62 of file DataFlash.h.


The documentation for this class was generated from the following files: