LibDriver W25QXX  1.0.0
W25QXX full-featured driver
driver_w25qxx_advance.h File Reference

driver w25qxx advance header file More...

Go to the source code of this file.

Functions

uint8_t w25qxx_advance_init (w25qxx_type_t type, w25qxx_interface_t interface, w25qxx_bool_t dual_quad_spi_enable)
 advance example init More...
 
uint8_t w25qxx_advance_deinit (void)
 advance example deinit More...
 
uint8_t w25qxx_advance_power_down (void)
 advance example power down More...
 
uint8_t w25qxx_advance_wake_up (void)
 advance example wake up More...
 
uint8_t w25qxx_advance_chip_erase (void)
 advance example chip erase More...
 
uint8_t w25qxx_advance_get_id (uint8_t *manufacturer, uint8_t *device_id)
 advance example get the manufacturer && device id information More...
 
uint8_t w25qxx_advance_write (uint32_t addr, uint8_t *data, uint32_t len)
 advance example write More...
 
uint8_t w25qxx_advance_read (uint32_t addr, uint8_t *data, uint32_t len)
 advance example read More...
 
uint8_t w25qxx_advance_page_program (uint32_t addr, uint8_t *data, uint16_t len)
 advance example page program More...
 
uint8_t w25qxx_advance_sector_erase_4k (uint32_t addr)
 advance example erase the 4k sector More...
 
uint8_t w25qxx_advance_block_erase_32k (uint32_t addr)
 advance example erase the 32k block More...
 
uint8_t w25qxx_advance_block_erase_64k (uint32_t addr)
 advance example erase the 64k block More...
 
uint8_t w25qxx_advance_fast_read (uint32_t addr, uint8_t *data, uint32_t len)
 advance example read in the fast mode More...
 
uint8_t w25qxx_advance_get_status1 (uint8_t *status)
 advance example get the status 1 More...
 
uint8_t w25qxx_advance_get_status2 (uint8_t *status)
 advance example get the status 2 More...
 
uint8_t w25qxx_advance_get_status3 (uint8_t *status)
 advance example get the status 3 More...
 
uint8_t w25qxx_advance_set_status1 (uint8_t status)
 advance example set the status 1 More...
 
uint8_t w25qxx_advance_set_status2 (uint8_t status)
 advance example set the status 2 More...
 
uint8_t w25qxx_advance_set_status3 (uint8_t status)
 advance example set the status 3 More...
 
uint8_t w25qxx_advance_get_get_jedec_id (uint8_t *manufacturer, uint8_t device_id[2])
 advance example get the jedec id information More...
 
uint8_t w25qxx_advance_global_block_lock (void)
 advance example global block lock More...
 
uint8_t w25qxx_advance_global_block_unlock (void)
 advance example global block unlock More...
 
uint8_t w25qxx_advance_individual_block_lock (uint32_t addr)
 advance example lock the individual block More...
 
uint8_t w25qxx_advance_individual_block_unlock (uint32_t addr)
 advance example unlock the individual block More...
 
uint8_t w25qxx_advance_read_block_lock (uint32_t addr, uint8_t *value)
 advance example read the block lock More...
 
uint8_t w25qxx_advance_reset (void)
 advance example reset More...
 
uint8_t w25qxx_advance_only_spi_read (uint32_t addr, uint8_t *data, uint32_t len)
 advance example read only in the spi interface More...
 
uint8_t w25qxx_advance_only_spi_fast_read_dual_output (uint32_t addr, uint8_t *data, uint32_t len)
 advance example fast read only in the spi dual output interface More...
 
uint8_t w25qxx_advance_only_spi_fast_read_quad_output (uint32_t addr, uint8_t *data, uint32_t len)
 advance example fast read only in the spi quad output interface More...
 
uint8_t w25qxx_advance_only_spi_fast_read_dual_io (uint32_t addr, uint8_t *data, uint32_t len)
 advance example fast read only in the spi dual io interface More...
 
uint8_t w25qxx_advance_only_spi_fast_read_quad_io (uint32_t addr, uint8_t *data, uint32_t len)
 advance example fast read only in the spi quad io interface More...
 
uint8_t w25qxx_advance_only_spi_word_read_quad_io (uint32_t addr, uint8_t *data, uint32_t len)
 advance example word read only in the spi quad io interface More...
 
uint8_t w25qxx_advance_only_spi_octal_word_read_quad_io (uint32_t addr, uint8_t *data, uint32_t len)
 advance example octal word read only in the spi quad io interface More...
 
uint8_t w25qxx_advance_only_spi_page_program_quad_input (uint32_t addr, uint8_t *data, uint16_t len)
 advance example quad page program only in the spi quad input interface More...
 
uint8_t w25qxx_advance_only_spi_get_manufacturer_device_id_dual_io (uint8_t *manufacturer, uint8_t *device_id)
 advance example get the manufacturer && device id information only in the spi dual io interface More...
 
uint8_t w25qxx_advance_only_spi_get_manufacturer_device_id_quad_io (uint8_t *manufacturer, uint8_t *device_id)
 advance example get the manufacturer && device id information only in the spi quad io interface More...
 
uint8_t w25qxx_advance_only_spi_get_unique_id (uint8_t id[8])
 advance example get the unique id only in the spi interface More...
 
uint8_t w25qxx_advance_only_spi_get_sfdp (uint8_t sfdp[256])
 advance example get the sfdp only in the spi interface More...
 
uint8_t w25qxx_advance_only_spi_write_security_register (w25qxx_security_register_t num, uint8_t data[256])
 advance example write the security register only in the spi interface More...
 
uint8_t w25qxx_advance_only_spi_read_security_register (w25qxx_security_register_t num, uint8_t data[256])
 advance example read the security register only in the spi interface More...
 
uint8_t w25qxx_advance_only_spi_set_burst_with_wrap (w25qxx_burst_wrap_t wrap)
 advance example set the burst with wrap only in the spi interface More...
 
uint8_t w25qxx_advance_only_qspi_set_read_parameters (w25qxx_qspi_read_dummy_t dummy, w25qxx_qspi_read_wrap_length_t length)
 advance example set the read parameters only in the qspi interface More...
 

Detailed Description

driver w25qxx advance header 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_advance.h.