mx25lreg.h (eb69ed7f87055a3d8b303b4ef223a208103d6d88) mx25lreg.h (2de9b4d3476945e773d19d3eb152ef0382f07963)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009, Oleksandr Tymoshenko <gonzo@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 28 unchanged lines hidden (view full) ---

37 */
38#define CMD_WRITE_ENABLE 0x06
39#define CMD_WRITE_DISABLE 0x04
40#define CMD_READ_IDENT 0x9F
41#define CMD_READ_STATUS 0x05
42#define CMD_WRITE_STATUS 0x01
43#define CMD_READ 0x03
44#define CMD_FAST_READ 0x0B
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009, Oleksandr Tymoshenko <gonzo@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 28 unchanged lines hidden (view full) ---

37 */
38#define CMD_WRITE_ENABLE 0x06
39#define CMD_WRITE_DISABLE 0x04
40#define CMD_READ_IDENT 0x9F
41#define CMD_READ_STATUS 0x05
42#define CMD_WRITE_STATUS 0x01
43#define CMD_READ 0x03
44#define CMD_FAST_READ 0x0B
45#define CMD_READ_DUAL_IO 0xBB
46#define CMD_READ_QUAD_OUTPUT 0x6B
45#define CMD_PAGE_PROGRAM 0x02
46#define CMD_SECTOR_ERASE 0xD8
47#define CMD_BULK_ERASE 0xC7
48#define CMD_BLOCK_4K_ERASE 0x20
49#define CMD_BLOCK_32K_ERASE 0x52
50#define CMD_ENTER_4B_MODE 0xB7
51#define CMD_EXIT_4B_MODE 0xE9
52

--- 19 unchanged lines hidden ---
47#define CMD_PAGE_PROGRAM 0x02
48#define CMD_SECTOR_ERASE 0xD8
49#define CMD_BULK_ERASE 0xC7
50#define CMD_BLOCK_4K_ERASE 0x20
51#define CMD_BLOCK_32K_ERASE 0x52
52#define CMD_ENTER_4B_MODE 0xB7
53#define CMD_EXIT_4B_MODE 0xE9
54

--- 19 unchanged lines hidden ---