Skip to content

Commit e85c15a

Browse files
masz-nordicjaz1-nordic
authored andcommitted
[nrf fromlist] drivers: flash: spi_nor: add define for Quad Enable bit
Quad Enable bit is used to enable/disable 4x line IO in SPI. Upstream PR #: 85520 Signed-off-by: Marcin Szymczyk <[email protected]>
1 parent 6147494 commit e85c15a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/flash/spi_nor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/* Status register bits */
1515
#define SPI_NOR_WIP_BIT BIT(0) /* Write in progress */
1616
#define SPI_NOR_WEL_BIT BIT(1) /* Write enable latch */
17+
#define SPI_NOR_QE_BIT BIT(6) /* Quad enable */
1718

1819
/* Flash opcodes */
1920
#define SPI_NOR_CMD_WRSR 0x01 /* Write status register */

0 commit comments

Comments
 (0)