/*
 * at45db041e.h
 *
 *  Created on: Oct 11, 2021
 *      Author: radioman
 */

#ifndef AT45DB041E_AT45DB041E_H_
#define AT45DB041E_AT45DB041E_H_

#define AT45CMD_MEM_PAGE_READ		0xD2
#define AT45CMD_CONT_ARRAY_READ_LP	0x01
#define AT45CMD_CONT_ARRAY_READ_LF	0x03
#define AT45CMD_CONT_ARRAY_READ_HF	0x0B
#define AT45CMD_BUF1_READ_LF		0xD1
#define AT45CMD_BUF2_READ_LF		0xD3
#define AT45CMD_BUF1_READ_HF		0xD4
#define AT45CMD_BUF2_READ_HF		0xD6

#define AT45CMD_BUF1_WRITE		0x84
#define AT45CMD_BUF2_WRITE		0x87

#define AT45CMD_STATREG_READ		0xD7
#define AT45CMD_DEVID_READ		0x9F

#endif /* AT45DB041E_AT45DB041E_H_ */
