#include <DataFlash.h>
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 |
Definition at line 41 of file DataFlash.h.
DataFlash_Class::DataFlash_Class | ( | ) |
Definition at line 64 of file DataFlash.cpp.
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.
unsigned char DataFlash_Class::df_device_0 |
Definition at line 63 of file DataFlash.h.
unsigned char DataFlash_Class::df_device_1 |
Definition at line 64 of file DataFlash.h.
unsigned char DataFlash_Class::df_manufacturer |
Definition at line 62 of file DataFlash.h.