Searched refs:SR_WREN (Results 1 – 3 of 3) sorted by relevance
16 #define SR_WREN (1<<1) /* Status register write enable bit */ macro
336 *out_write_protect = ((status & SR_WREN) == 0); in spi_flash_chip_generic_get_write_protect()401 … if ((status & SR_WREN) != 0) { // The previous command is not accepted, leaving the WEL still set. in spi_flash_chip_generic_wait_idle()
164 *out_write_protected = ((status & SR_WREN) == 0); in spi_flash_chip_mxic_opi_get_write_protect()