at45xx.c File Reference
#include <app.h>
Include dependency graph for at45xx.c:

Go to the source code of this file.

Functions

BYTE DF_ReadStatus (void)
 
void DF_WriteBuffer1 (WORD Address, BYTE *Data, WORD size)
 
void DF_ReadBuffer1 (WORD Address, BYTE *data, WORD size)
 
void DF_Buffer12MainMemoryE (WORD PageNum)
 
void DF_Page2Buffer1 (WORD Pagenum)
 
void DF_AutoPageRewrite (WORD PageNum)
 
void DF_Compare (WORD Pagenum)
 

Function Documentation

◆ DF_AutoPageRewrite()

void DF_AutoPageRewrite ( WORD  PageNum)

Auto page rewrite command

Parameters
PageNum- Page to execute command.

Definition at line 170 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_Buffer12MainMemoryE()

void DF_Buffer12MainMemoryE ( WORD  PageNum)

Erase, sets to 1's, the selected page.

Parameters
PageNum- Page number to erase. Copy Buffer 1 to Main Memory, erase first.
PageNum- Page number to copy buffer contents.

Definition at line 127 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_Compare()

void DF_Compare ( WORD  Pagenum)

Compare buffer and page. Read Status value to see result.

Parameters
PageNum- Page to execute command.

Definition at line 192 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_Page2Buffer1()

void DF_Page2Buffer1 ( WORD  Pagenum)

Get Page to Buffer 1

Parameters
Pagenum- Page numbre to get.

Definition at line 149 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_ReadBuffer1()

void DF_ReadBuffer1 ( WORD  Address,
BYTE data,
WORD  size 
)

Reads contents from the buffer 1.

Parameters
Address- offset from the internal buffer. data - buffer to store data size - number of bytes to read

Definition at line 79 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_ReadStatus()

BYTE DF_ReadStatus ( void  )

Read the status byte from the device

Returns
the status byte.

Definition at line 30 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DF_WriteBuffer1()

void DF_WriteBuffer1 ( WORD  Address,
BYTE Data,
WORD  size 
)

Store a buffer to the internal Buffer 1.

Parameters
Address- offset from the internal buffer. Data - buffer to store data size - number of bytes to read

Definition at line 52 of file at45xx.c.

Here is the call graph for this function:
Here is the caller graph for this function: