Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
at25xxx_constants.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 ML!PA Consulting GmbH
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#define CMD_WREN (0x6)
27
#define CMD_WRDI (0x4)
28
#define CMD_RDSR (0x5)
29
#define CMD_WRSR (0x1)
30
#define CMD_READ (0x3)
31
#define CMD_WRITE (0x2)
33
#define SR_WIP (0x01)
34
#define SR_WEL (0x02)
35
#define SR_BP0 (0x04)
36
#define SR_BP1 (0x08)
37
#define SR_SRWD (0x80)
39
#ifdef __cplusplus
40
}
41
#endif
Generated on Fri Jun 20 2025 21:02:36 by
1.9.1