rims-arduino-library  v3.1.1
Recirculation infusion mash system library for Arduino
Classes | Macros
w25qflash.h File Reference

W25QFlash class declaration and related macro. More...

#include "Arduino.h"

Go to the source code of this file.

Classes

class  W25QFlash
 Library to handle Windbond W25Q SPI flash memory. More...
 

Macros

#define W25Q_READID   0x90
 
#define W25Q_WEN   0x06
 
#define W25Q_WDI   0x04
 
#define W25Q_READ   0x03
 
#define W25Q_PROG_PAGE   0x02
 
#define W25Q_ERASE_SECTOR   0x20
 
#define W25Q_ERASE_BLOCK1   0x52
 
#define W25Q_ERASE_BLOCK2   0xD8
 
#define W25Q_ERASE_CHIP   0xC7
 
#define W25Q_SR_WEN   0x50
 
#define W25Q_SR_READ1   0x05
 
#define W25Q_SR_READ2   0x35
 
#define W25Q_SR_WRITE   0x01
 
#define W25Q_MASK_BSY   (0x01 << 0)
 
#define W25Q_MASK_WEL   (0x01 << 1)
 

Detailed Description

W25QFlash class declaration and related macro.