Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
at25xxx_constants.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 ML!PA Consulting GmbH
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#define CMD_WREN (0x6)
24
#define CMD_WRDI (0x4)
25
#define CMD_RDSR (0x5)
26
#define CMD_WRSR (0x1)
27
#define CMD_READ (0x3)
28
#define CMD_WRITE (0x2)
29
30
#define SR_WIP (0x01)
31
#define SR_WEL (0x02)
32
#define SR_BP0 (0x04)
33
#define SR_BP1 (0x08)
34
#define SR_SRWD (0x80)
35
36
#ifdef __cplusplus
37
}
38
#endif
Generated on Wed Apr 15 2026 03:46:09 by
1.13.2