| LibDriver W25QXX 1.0.0 W25QXX full function driver

Macros | Functions
driver_w25qxx.c File Reference

driver w25qxx source file More...

`#include "driver_w25qxx.h"`

Go to the source code of this file.

## Macros
#define | CHIP_NAME "Winbond W25QXX"
| chip information definition More...
#define | MANUFACTURER_NAME "Winbond"
#define | SUPPLY_VOLTAGE_MIN 2.7f
#define | SUPPLY_VOLTAGE_MAX 3.6f
#define | MAX_CURRENT 25.0f
#define | TEMPERATURE_MIN -40.0f
#define | TEMPERATURE_MAX 85.0f
#define | DRIVER_VERSION 1000
#define | W25QXX_COMMAND_WRITE_ENABLE 0x06
| chip command definition More...
#define | W25QXX_COMMAND_VOLATILE_SR_WRITE_ENABLE 0x50
#define | W25QXX_COMMAND_WRITE_DISABLE 0x04
#define | W25QXX_COMMAND_READ_STATUS_REG1 0x05
#define | W25QXX_COMMAND_READ_STATUS_REG2 0x35
#define | W25QXX_COMMAND_READ_STATUS_REG3 0x15
#define | W25QXX_COMMAND_WRITE_STATUS_REG1 0x01
#define | W25QXX_COMMAND_WRITE_STATUS_REG2 0x31
#define | W25QXX_COMMAND_WRITE_STATUS_REG3 0x11
#define | W25QXX_COMMAND_CHIP_ERASE 0xC7
#define | W25QXX_COMMAND_ERASE_PROGRAM_SUSPEND 0x75
#define | W25QXX_COMMAND_ERASE_PROGRAM_RESUME 0x7A
#define | W25QXX_COMMAND_POWER_DOWN 0xB9
#define | W25QXX_COMMAND_RELEASE_POWER_DOWN 0xAB
#define | W25QXX_COMMAND_READ_MANUFACTURER 0x90
#define | W25QXX_COMMAND_JEDEC_ID 0x9F
#define | W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_LOCK 0x7E
#define | W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_UNLOCK 0x98
#define | W25QXX_COMMAND_ENTER_QSPI_MODE 0x38
#define | W25QXX_COMMAND_ENABLE_RESET 0x66
#define | W25QXX_COMMAND_RESET_DEVICE 0x99
#define | W25QXX_COMMAND_READ_UNIQUE_ID 0x4B
#define | W25QXX_COMMAND_PAGE_PROGRAM 0x02
#define | W25QXX_COMMAND_QUAD_PAGE_PROGRAM 0x32
#define | W25QXX_COMMAND_SECTOR_ERASE_4K 0x20
#define | W25QXX_COMMAND_BLOCK_ERASE_32K 0x52
#define | W25QXX_COMMAND_BLOCK_ERASE_64K 0xD8
#define | W25QXX_COMMAND_READ_DATA 0x03
#define | W25QXX_COMMAND_FAST_READ 0x0B
#define | W25QXX_COMMAND_FAST_READ_DUAL_OUTPUT 0x3B
#define | W25QXX_COMMAND_FAST_READ_QUAD_OUTPUT 0x6B
#define | W25QXX_COMMAND_READ_SFDP_REGISTER 0x5A
#define | W25QXX_COMMAND_ERASE_SECURITY_REGISTER 0x44
#define | W25QXX_COMMAND_PROGRAM_SECURITY_REGISTER 0x42
#define | W25QXX_COMMAND_READ_SECURITY_REGISTER 0x48
#define | W25QXX_COMMAND_INDIVIDUAL_BLOCK_LOCK 0x36
#define | W25QXX_COMMAND_INDIVIDUAL_BLOCK_UNLOCK 0x39
#define | W25QXX_COMMAND_READ_BLOCK_LOCK 0x3D
#define | W25QXX_COMMAND_FAST_READ_DUAL_IO 0xBB
#define | W25QXX_COMMAND_DEVICE_ID_DUAL_IO 0x92
#define | W25QXX_COMMAND_SET_BURST_WITH_WRAP 0x77
#define | W25QXX_COMMAND_FAST_READ_QUAD_IO 0xEB
#define | W25QXX_COMMAND_WORD_READ_QUAD_IO 0xE7
#define | W25QXX_COMMAND_OCTAL_WORD_READ_QUAD_IO 0xE3
#define | W25QXX_COMMAND_DEVICE_ID_QUAD_IO 0x94

## Functions
uint8_t | w25qxx_set_dual_quad_spi (w25qxx_handle_t *handle, w25qxx_bool_t enable)
| enable or disable the dual quad spi More...
uint8_t | w25qxx_get_dual_quad_spi (w25qxx_handle_t *handle, w25qxx_bool_t *enable)
| get the dual quad spi status More...
uint8_t | w25qxx_set_type (w25qxx_handle_t *handle, w25qxx_type_t type)
| set the chip type More...
uint8_t | w25qxx_get_type (w25qxx_handle_t *handle, w25qxx_type_t *type)
| get the chip type More...
uint8_t | w25qxx_set_interface (w25qxx_handle_t *handle, w25qxx_interface_t interface)
| set the chip interface More...
uint8_t | w25qxx_get_interface (w25qxx_handle_t *handle, w25qxx_interface_t *interface)
| get the chip interface More...
uint8_t | w25qxx_set_address_mode (w25qxx_handle_t *handle, w25qxx_address_mode_t mode)
| set the chip address mode More...
uint8_t | w25qxx_get_address_mode (w25qxx_handle_t *handle, w25qxx_address_mode_t *mode)
| get the chip address mode More...
uint8_t | w25qxx_enable_write (w25qxx_handle_t *handle)
| enable writing More...
uint8_t | w25qxx_enable_volatile_sr_write (w25qxx_handle_t *handle)
| enable volatile sr writing More...
uint8_t | w25qxx_disable_write (w25qxx_handle_t *handle)
| disable writing More...
uint8_t | w25qxx_get_status1 (w25qxx_handle_t *handle, uint8_t *status)
| get the status 1 More...
uint8_t | w25qxx_get_status2 (w25qxx_handle_t *handle, uint8_t *status)
| get the status 2 More...
uint8_t | w25qxx_get_status3 (w25qxx_handle_t *handle, uint8_t *status)
| get the status 3 More...
uint8_t | w25qxx_set_status1 (w25qxx_handle_t *handle, uint8_t status)
| set the status 1 More...
uint8_t | w25qxx_set_status2 (w25qxx_handle_t *handle, uint8_t status)
| set the status 2 More...
uint8_t | w25qxx_set_status3 (w25qxx_handle_t *handle, uint8_t status)
| set the status 3 More...
uint8_t | w25qxx_chip_erase (w25qxx_handle_t *handle)
| erase the chip More...
uint8_t | w25qxx_erase_program_suspend (w25qxx_handle_t *handle)
| suspend erase or program More...
uint8_t | w25qxx_erase_program_resume (w25qxx_handle_t *handle)
| resume erase or program More...
uint8_t | w25qxx_power_down (w25qxx_handle_t *handle)
| power down More...
uint8_t | w25qxx_release_power_down (w25qxx_handle_t *handle)
| release power down More...
uint8_t | w25qxx_get_manufacturer_device_id (w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)
| get the manufacturer && device id information More...
uint8_t | w25qxx_get_manufacturer_device_id_dual_io (w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)
| get the manufacturer && device id information with dual io More...
uint8_t | w25qxx_get_manufacturer_device_id_quad_io (w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)
| get the manufacturer && device id information with quad io More...
uint8_t | w25qxx_get_jedec_id (w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t device_id[2])
| get the jedec id information More...
uint8_t | w25qxx_global_block_lock (w25qxx_handle_t *handle)
| lock the whole block More...
uint8_t | w25qxx_global_block_unlock (w25qxx_handle_t *handle)
| unlock the whole block More...
uint8_t | w25qxx_set_read_parameters (w25qxx_handle_t *handle, w25qxx_qspi_read_dummy_t dummy, w25qxx_qspi_read_wrap_length_t length)
| set the read parameters More...
uint8_t | w25qxx_enter_qspi_mode (w25qxx_handle_t *handle)
| enter the qspi mode More...
uint8_t | w25qxx_exit_qspi_mode (w25qxx_handle_t *handle)
| exit the qspi mode More...
uint8_t | w25qxx_enable_reset (w25qxx_handle_t *handle)
| enable the reset More...
uint8_t | w25qxx_reset_device (w25qxx_handle_t *handle)
| reset the device More...
uint8_t | w25qxx_get_unique_id (w25qxx_handle_t *handle, uint8_t id[8])
| get the unique id More...
uint8_t | w25qxx_get_sfdp (w25qxx_handle_t *handle, uint8_t sfdp[256])
| get the sfdp More...
uint8_t | w25qxx_erase_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num)
| erase the security register More...
uint8_t | w25qxx_program_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256])
| program the security register More...
uint8_t | w25qxx_read_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256])
| read the security register More...
uint8_t | w25qxx_only_spi_read (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read only in the spi interface More...
uint8_t | w25qxx_fast_read (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read in the fast mode More...
uint8_t | w25qxx_fast_read_dual_output (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read with dual output in the fast mode More...
uint8_t | w25qxx_fast_read_quad_output (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read with quad output in the fast mode More...
uint8_t | w25qxx_fast_read_dual_io (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read with dual io in the fast mode More...
uint8_t | w25qxx_fast_read_quad_io (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read with quad io in the fast mode More...
uint8_t | w25qxx_word_read_quad_io (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| word read with quad io More...
uint8_t | w25qxx_octal_word_read_quad_io (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| octal word read with quad io More...
uint8_t | w25qxx_page_program (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint16_t len)
| page program More...
uint8_t | w25qxx_page_program_quad_input (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint16_t len)
| quad page program with quad input More...
uint8_t | w25qxx_sector_erase_4k (w25qxx_handle_t *handle, uint32_t addr)
| erase the 4k sector More...
uint8_t | w25qxx_block_erase_32k (w25qxx_handle_t *handle, uint32_t addr)
| erase the 32k block More...
uint8_t | w25qxx_block_erase_64k (w25qxx_handle_t *handle, uint32_t addr)
| erase the 64k block More...
uint8_t | w25qxx_individual_block_lock (w25qxx_handle_t *handle, uint32_t addr)
| lock the individual block More...
uint8_t | w25qxx_individual_block_unlock (w25qxx_handle_t *handle, uint32_t addr)
| unlock the individual block More...
uint8_t | w25qxx_read_block_lock (w25qxx_handle_t *handle, uint32_t addr, uint8_t *value)
| read the block lock More...
uint8_t | w25qxx_set_burst_with_wrap (w25qxx_handle_t *handle, w25qxx_burst_wrap_t wrap)
| set the burst with wrap More...
uint8_t | w25qxx_init (w25qxx_handle_t *handle)
| initialize the chip More...
uint8_t | w25qxx_deinit (w25qxx_handle_t *handle)
| close the chip More...
uint8_t | w25qxx_read (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| read data More...
uint8_t | w25qxx_write (w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)
| write data More...
uint8_t | w25qxx_write_read_reg (w25qxx_handle_t *handle, uint8_t instruction, uint8_t instruction_line, uint32_t address, uint8_t address_line, uint8_t address_len, uint32_t alternate, uint8_t alternate_line, uint8_t alternate_len, uint8_t dummy, uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len, uint8_t data_line)
| write and read register More...
uint8_t | w25qxx_info (w25qxx_info_t *info)
| get chip's information More...

## Detailed Description

driver w25qxx source file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
  1.0.0

Author
  Shifeng Li

Date
  2021-07-15

### history

Date | Version | Author | Description
--- | --- | --- | ---
2021/07/15 | 1.0 | Shifeng Li | first upload

Definition in file driver_w25qxx.c.

## Macro Definition Documentation

## ◆ CHIP_NAME

#define CHIP_NAME "Winbond W25QXX"

chip information definition

chip name

Definition at line 42 of file driver_w25qxx.c.

## ◆ DRIVER_VERSION

#define DRIVER_VERSION 1000

driver version

Definition at line 49 of file driver_w25qxx.c.

## ◆ MANUFACTURER_NAME

#define MANUFACTURER_NAME "Winbond"

manufacturer name

Definition at line 43 of file driver_w25qxx.c.

## ◆ MAX_CURRENT

#define MAX_CURRENT 25.0f

chip max current

Definition at line 46 of file driver_w25qxx.c.

## ◆ SUPPLY_VOLTAGE_MAX

#define SUPPLY_VOLTAGE_MAX 3.6f

chip max supply voltage

Definition at line 45 of file driver_w25qxx.c.

## ◆ SUPPLY_VOLTAGE_MIN

#define SUPPLY_VOLTAGE_MIN 2.7f

chip min supply voltage

Definition at line 44 of file driver_w25qxx.c.

## ◆ TEMPERATURE_MAX

#define TEMPERATURE_MAX 85.0f

chip max operating temperature

Definition at line 48 of file driver_w25qxx.c.

## ◆ TEMPERATURE_MIN

#define TEMPERATURE_MIN -40.0f

chip min operating temperature

Definition at line 47 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_BLOCK_ERASE_32K

#define W25QXX_COMMAND_BLOCK_ERASE_32K 0x52

block erase

Definition at line 79 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_BLOCK_ERASE_64K

#define W25QXX_COMMAND_BLOCK_ERASE_64K 0xD8

block erase

Definition at line 80 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_CHIP_ERASE

#define W25QXX_COMMAND_CHIP_ERASE 0xC7

chip erase

Definition at line 63 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_DEVICE_ID_DUAL_IO

#define W25QXX_COMMAND_DEVICE_ID_DUAL_IO 0x92

device id dual I/O

Definition at line 93 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_DEVICE_ID_QUAD_IO

#define W25QXX_COMMAND_DEVICE_ID_QUAD_IO 0x94

device id quad I/O

Definition at line 98 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_ENABLE_RESET

#define W25QXX_COMMAND_ENABLE_RESET 0x66

enable reset

Definition at line 73 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_ENTER_QSPI_MODE

#define W25QXX_COMMAND_ENTER_QSPI_MODE 0x38

enter spi mode

Definition at line 72 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_ERASE_PROGRAM_RESUME

#define W25QXX_COMMAND_ERASE_PROGRAM_RESUME 0x7A

erase resume

Definition at line 65 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_ERASE_PROGRAM_SUSPEND

#define W25QXX_COMMAND_ERASE_PROGRAM_SUSPEND 0x75

erase suspend

Definition at line 64 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_ERASE_SECURITY_REGISTER

#define W25QXX_COMMAND_ERASE_SECURITY_REGISTER 0x44

erase security register

Definition at line 86 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_FAST_READ

#define W25QXX_COMMAND_FAST_READ 0x0B

fast read

Definition at line 82 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_FAST_READ_DUAL_IO

#define W25QXX_COMMAND_FAST_READ_DUAL_IO 0xBB

fast read dual I/O

Definition at line 92 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_FAST_READ_DUAL_OUTPUT

#define W25QXX_COMMAND_FAST_READ_DUAL_OUTPUT 0x3B

fast read dual output

Definition at line 83 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_FAST_READ_QUAD_IO

#define W25QXX_COMMAND_FAST_READ_QUAD_IO 0xEB

fast read quad I/O

Definition at line 95 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_FAST_READ_QUAD_OUTPUT

#define W25QXX_COMMAND_FAST_READ_QUAD_OUTPUT 0x6B

fast read quad output

Definition at line 84 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_LOCK

#define W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_LOCK 0x7E

global block lock

Definition at line 70 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_UNLOCK

#define W25QXX_COMMAND_GLOBAL_BLOCK_SECTOR_UNLOCK 0x98

global block unlock

Definition at line 71 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_INDIVIDUAL_BLOCK_LOCK

#define W25QXX_COMMAND_INDIVIDUAL_BLOCK_LOCK 0x36

individual block lock

Definition at line 89 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_INDIVIDUAL_BLOCK_UNLOCK

#define W25QXX_COMMAND_INDIVIDUAL_BLOCK_UNLOCK 0x39

individual block unlock

Definition at line 90 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_JEDEC_ID

#define W25QXX_COMMAND_JEDEC_ID 0x9F

jedec id

Definition at line 69 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_OCTAL_WORD_READ_QUAD_IO

#define W25QXX_COMMAND_OCTAL_WORD_READ_QUAD_IO 0xE3

octal word read quad I/O

Definition at line 97 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_PAGE_PROGRAM

#define W25QXX_COMMAND_PAGE_PROGRAM 0x02

page program

Definition at line 76 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_POWER_DOWN

#define W25QXX_COMMAND_POWER_DOWN 0xB9

power down

Definition at line 66 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_PROGRAM_SECURITY_REGISTER

#define W25QXX_COMMAND_PROGRAM_SECURITY_REGISTER 0x42

program security register

Definition at line 87 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_QUAD_PAGE_PROGRAM

#define W25QXX_COMMAND_QUAD_PAGE_PROGRAM 0x32

quad page program

Definition at line 77 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_BLOCK_LOCK

#define W25QXX_COMMAND_READ_BLOCK_LOCK 0x3D

read block lock

Definition at line 91 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_DATA

#define W25QXX_COMMAND_READ_DATA 0x03

read data

Definition at line 81 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_MANUFACTURER

#define W25QXX_COMMAND_READ_MANUFACTURER 0x90

manufacturer

Definition at line 68 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_SECURITY_REGISTER

#define W25QXX_COMMAND_READ_SECURITY_REGISTER 0x48

read security register

Definition at line 88 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_SFDP_REGISTER

#define W25QXX_COMMAND_READ_SFDP_REGISTER 0x5A

read SFDP register

Definition at line 85 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_STATUS_REG1

#define W25QXX_COMMAND_READ_STATUS_REG1 0x05

read status register-1

Definition at line 57 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_STATUS_REG2

#define W25QXX_COMMAND_READ_STATUS_REG2 0x35

read status register-2

Definition at line 58 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_STATUS_REG3

#define W25QXX_COMMAND_READ_STATUS_REG3 0x15

read status register-3

Definition at line 59 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_READ_UNIQUE_ID

#define W25QXX_COMMAND_READ_UNIQUE_ID 0x4B

read unique id

Definition at line 75 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_RELEASE_POWER_DOWN

#define W25QXX_COMMAND_RELEASE_POWER_DOWN 0xAB

release power down

Definition at line 67 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_RESET_DEVICE

#define W25QXX_COMMAND_RESET_DEVICE 0x99

reset device

Definition at line 74 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_SECTOR_ERASE_4K

#define W25QXX_COMMAND_SECTOR_ERASE_4K 0x20

sector erase

Definition at line 78 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_SET_BURST_WITH_WRAP

#define W25QXX_COMMAND_SET_BURST_WITH_WRAP 0x77

set burst with wrap

Definition at line 94 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_VOLATILE_SR_WRITE_ENABLE

#define W25QXX_COMMAND_VOLATILE_SR_WRITE_ENABLE 0x50

sr write enable

Definition at line 55 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WORD_READ_QUAD_IO

#define W25QXX_COMMAND_WORD_READ_QUAD_IO 0xE7

word read quad I/O

Definition at line 96 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WRITE_DISABLE

#define W25QXX_COMMAND_WRITE_DISABLE 0x04

write disable

Definition at line 56 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WRITE_ENABLE

#define W25QXX_COMMAND_WRITE_ENABLE 0x06

chip command definition

write enable

Definition at line 54 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WRITE_STATUS_REG1

#define W25QXX_COMMAND_WRITE_STATUS_REG1 0x01

write status register-1

Definition at line 60 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WRITE_STATUS_REG2

#define W25QXX_COMMAND_WRITE_STATUS_REG2 0x31

write status register-2

Definition at line 61 of file driver_w25qxx.c.

## ◆ W25QXX_COMMAND_WRITE_STATUS_REG3

#define W25QXX_COMMAND_WRITE_STATUS_REG3 0x11

write status register-3

Definition at line 62 of file driver_w25qxx.c.