Loading...
Searching...
No Matches
at25xxx_constants.h File Reference

Commands for the AT25xxx family of SPI-EEPROMs. More...

Detailed Description

Commands for the AT25xxx family of SPI-EEPROMs.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file at25xxx_constants.h.

Go to the source code of this file.

Macros

#define CMD_WREN   (0x6)
 Write Enable

 
#define CMD_WRDI   (0x4)
 Write Disable

 
#define CMD_RDSR   (0x5)
 Read Status Register

 
#define CMD_WRSR   (0x1)
 Write Status Register

 
#define CMD_READ   (0x3)
 Read from Memory Array

 
#define CMD_WRITE   (0x2)
 Write to Memory Array

 
#define SR_WIP   (0x01)
 Write In Progress

 
#define SR_WEL   (0x02)
 Write Enable Latch

 
#define SR_BP0   (0x04)
 Block Protect 0

 
#define SR_BP1   (0x08)
 Block Protect 1

 
#define SR_SRWD   (0x80)
 Status Register Write Disable.
 

Macro Definition Documentation

◆ CMD_RDSR

#define CMD_RDSR   (0x5)

Read Status Register

Definition at line 29 of file at25xxx_constants.h.

◆ CMD_READ

#define CMD_READ   (0x3)

Read from Memory Array

Definition at line 31 of file at25xxx_constants.h.

◆ CMD_WRDI

#define CMD_WRDI   (0x4)

Write Disable

Definition at line 28 of file at25xxx_constants.h.

◆ CMD_WREN

#define CMD_WREN   (0x6)

Write Enable

Definition at line 27 of file at25xxx_constants.h.

◆ CMD_WRITE

#define CMD_WRITE   (0x2)

Write to Memory Array

Definition at line 32 of file at25xxx_constants.h.

◆ CMD_WRSR

#define CMD_WRSR   (0x1)

Write Status Register

Definition at line 30 of file at25xxx_constants.h.

◆ SR_BP0

#define SR_BP0   (0x04)

Block Protect 0

Definition at line 36 of file at25xxx_constants.h.

◆ SR_BP1

#define SR_BP1   (0x08)

Block Protect 1

Definition at line 37 of file at25xxx_constants.h.

◆ SR_SRWD

#define SR_SRWD   (0x80)

Status Register Write Disable.

Definition at line 38 of file at25xxx_constants.h.

◆ SR_WEL

#define SR_WEL   (0x02)

Write Enable Latch

Definition at line 35 of file at25xxx_constants.h.

◆ SR_WIP

#define SR_WIP   (0x01)

Write In Progress

Definition at line 34 of file at25xxx_constants.h.