![]() |
LibDriver W25QXX
|
w25qxx advance driver modules More...
Functions | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| uint8_t | w25qxx_enable_write (w25qxx_handle_t *handle) |
| enable writing | |
| uint8_t | w25qxx_enable_volatile_sr_write (w25qxx_handle_t *handle) |
| enable volatile sr writing | |
| uint8_t | w25qxx_disable_write (w25qxx_handle_t *handle) |
| disable writing | |
| uint8_t | w25qxx_get_status1 (w25qxx_handle_t *handle, uint8_t *status) |
| get the status 1 | |
| uint8_t | w25qxx_get_status2 (w25qxx_handle_t *handle, uint8_t *status) |
| get the status 2 | |
| uint8_t | w25qxx_get_status3 (w25qxx_handle_t *handle, uint8_t *status) |
| get the status 3 | |
| uint8_t | w25qxx_set_status1 (w25qxx_handle_t *handle, uint8_t status) |
| set the status 1 | |
| uint8_t | w25qxx_set_status2 (w25qxx_handle_t *handle, uint8_t status) |
| set the status 2 | |
| uint8_t | w25qxx_set_status3 (w25qxx_handle_t *handle, uint8_t status) |
| set the status 3 | |
| uint8_t | w25qxx_erase_program_suspend (w25qxx_handle_t *handle) |
| suspend erase or program | |
| uint8_t | w25qxx_erase_program_resume (w25qxx_handle_t *handle) |
| resume erase or program | |
| 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 | |
| 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 | |
| uint8_t | w25qxx_get_jedec_id (w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t device_id[2]) |
| get the jedec id information | |
| uint8_t | w25qxx_global_block_lock (w25qxx_handle_t *handle) |
| lock the whole block | |
| uint8_t | w25qxx_global_block_unlock (w25qxx_handle_t *handle) |
| unlock the whole block | |
| 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 | |
| uint8_t | w25qxx_enter_qspi_mode (w25qxx_handle_t *handle) |
| enter the qspi mode | |
| uint8_t | w25qxx_exit_qspi_mode (w25qxx_handle_t *handle) |
| exit the qspi mode | |
| uint8_t | w25qxx_enable_reset (w25qxx_handle_t *handle) |
| enable the reset | |
| uint8_t | w25qxx_reset_device (w25qxx_handle_t *handle) |
| reset the device | |
| uint8_t | w25qxx_get_unique_id (w25qxx_handle_t *handle, uint8_t id[8]) |
| get the unique id | |
| uint8_t | w25qxx_get_sfdp (w25qxx_handle_t *handle, uint8_t sfdp[256]) |
| get the sfdp | |
| uint8_t | w25qxx_erase_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num) |
| erase the security register | |
| uint8_t | w25qxx_program_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256]) |
| program the security register | |
| uint8_t | w25qxx_read_security_register (w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256]) |
| read the security register | |
| uint8_t | w25qxx_individual_block_lock (w25qxx_handle_t *handle, uint32_t addr) |
| lock the individual block | |
| uint8_t | w25qxx_individual_block_unlock (w25qxx_handle_t *handle, uint32_t addr) |
| unlock the individual block | |
| uint8_t | w25qxx_read_block_lock (w25qxx_handle_t *handle, uint32_t addr, uint8_t *value) |
| read the block lock | |
| uint8_t | w25qxx_set_burst_with_wrap (w25qxx_handle_t *handle, w25qxx_burst_wrap_t wrap) |
| set the burst with wrap | |
w25qxx advance driver modules
| enum w25qxx_burst_wrap_t |
w25qxx burst wrap enumeration definition
Definition at line 203 of file driver_w25qxx.h.
w25qxx qspi read dummy enumeration definition
Definition at line 170 of file driver_w25qxx.h.
w25qxx qspi read wrap length enumeration definition
Definition at line 181 of file driver_w25qxx.h.
w25qxx security register enumeration definition
| Enumerator | |
|---|---|
| W25QXX_SECURITY_REGISTER_1 | security register 1 |
| W25QXX_SECURITY_REGISTER_2 | security register 2 |
| W25QXX_SECURITY_REGISTER_3 | security register 3 |
Definition at line 193 of file driver_w25qxx.h.
| enum w25qxx_status1_t |
w25qxx status 1 enumeration definition
Definition at line 215 of file driver_w25qxx.h.
| enum w25qxx_status2_t |
w25qxx status 2 enumeration definition
Definition at line 230 of file driver_w25qxx.h.
| enum w25qxx_status3_t |
w25qxx status 3 enumeration definition
Definition at line 244 of file driver_w25qxx.h.
| uint8_t w25qxx_disable_write | ( | w25qxx_handle_t * | handle | ) |
disable writing
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 572 of file driver_w25qxx.c.
| uint8_t w25qxx_enable_reset | ( | w25qxx_handle_t * | handle | ) |
enable the reset
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2619 of file driver_w25qxx.c.
| uint8_t w25qxx_enable_volatile_sr_write | ( | w25qxx_handle_t * | handle | ) |
enable volatile sr writing
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 501 of file driver_w25qxx.c.
| uint8_t w25qxx_enable_write | ( | w25qxx_handle_t * | handle | ) |
enable writing
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 431 of file driver_w25qxx.c.
| uint8_t w25qxx_enter_qspi_mode | ( | w25qxx_handle_t * | handle | ) |
enter the qspi mode
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2494 of file driver_w25qxx.c.
| uint8_t w25qxx_erase_program_resume | ( | w25qxx_handle_t * | handle | ) |
resume erase or program
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 1722 of file driver_w25qxx.c.
| uint8_t w25qxx_erase_program_suspend | ( | w25qxx_handle_t * | handle | ) |
suspend erase or program
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 1650 of file driver_w25qxx.c.
| uint8_t w25qxx_erase_security_register | ( | w25qxx_handle_t * | handle, |
| w25qxx_security_register_t | num ) |
erase the security register
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | num | security register number |
Definition at line 2952 of file driver_w25qxx.c.
| uint8_t w25qxx_exit_qspi_mode | ( | w25qxx_handle_t * | handle | ) |
exit the qspi mode
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2572 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 4076 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 3858 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 4184 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 3967 of file driver_w25qxx.c.
| uint8_t w25qxx_get_jedec_id | ( | w25qxx_handle_t * | handle, |
| uint8_t * | manufacturer, | ||
| uint8_t | device_id[2] ) |
get the jedec id information
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *manufacturer | pointer to a manufacturer buffer |
| [out] | *device_id | pointer to a device id buffer |
Definition at line 2203 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *manufacturer | pointer to a manufacturer buffer |
| [out] | *device_id | pointer to a device id buffer |
Definition at line 2038 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *manufacturer | pointer to a manufacturer buffer |
| [out] | *device_id | pointer to a device id buffer |
Definition at line 2122 of file driver_w25qxx.c.
| uint8_t w25qxx_get_sfdp | ( | w25qxx_handle_t * | handle, |
| uint8_t | sfdp[256] ) |
get the sfdp
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *sfdp | pointer to an sfdp buffer |
Definition at line 2880 of file driver_w25qxx.c.
| uint8_t w25qxx_get_status1 | ( | w25qxx_handle_t * | handle, |
| uint8_t * | status ) |
get the status 1
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 643 of file driver_w25qxx.c.
| uint8_t w25qxx_get_status2 | ( | w25qxx_handle_t * | handle, |
| uint8_t * | status ) |
get the status 2
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 716 of file driver_w25qxx.c.
| uint8_t w25qxx_get_status3 | ( | w25qxx_handle_t * | handle, |
| uint8_t * | status ) |
get the status 3
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 789 of file driver_w25qxx.c.
| uint8_t w25qxx_get_unique_id | ( | w25qxx_handle_t * | handle, |
| uint8_t | id[8] ) |
get the unique id
| [in] | *handle | pointer to a w25qxx handle structure |
| [out] | *id | pointer to an id buffer |
Definition at line 2764 of file driver_w25qxx.c.
| uint8_t w25qxx_global_block_lock | ( | w25qxx_handle_t * | handle | ) |
lock the whole block
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2284 of file driver_w25qxx.c.
| uint8_t w25qxx_global_block_unlock | ( | w25qxx_handle_t * | handle | ) |
unlock the whole block
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2354 of file driver_w25qxx.c.
| uint8_t w25qxx_individual_block_lock | ( | w25qxx_handle_t * | handle, |
| uint32_t | addr ) |
lock the individual block
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | block address |
Definition at line 6094 of file driver_w25qxx.c.
| uint8_t w25qxx_individual_block_unlock | ( | w25qxx_handle_t * | handle, |
| uint32_t | addr ) |
unlock the individual block
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | block address |
Definition at line 6311 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 4459 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | programming address |
| [in] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 4920 of file driver_w25qxx.c.
| uint8_t w25qxx_program_security_register | ( | w25qxx_handle_t * | handle, |
| w25qxx_security_register_t | num, | ||
| uint8_t | data[256] ) |
program the security register
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | num | security register number |
| [in] | *data | pointer to a data buffer |
Definition at line 3147 of file driver_w25qxx.c.
| uint8_t w25qxx_read_block_lock | ( | w25qxx_handle_t * | handle, |
| uint32_t | addr, | ||
| uint8_t * | value ) |
read the block lock
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | block address |
| [out] | *value | pointer to a value buffer |
Definition at line 6529 of file driver_w25qxx.c.
| uint8_t w25qxx_read_security_register | ( | w25qxx_handle_t * | handle, |
| w25qxx_security_register_t | num, | ||
| uint8_t | data[256] ) |
read the security register
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | num | security register number |
| [out] | *data | pointer to a data buffer |
Definition at line 3344 of file driver_w25qxx.c.
| uint8_t w25qxx_reset_device | ( | w25qxx_handle_t * | handle | ) |
reset the device
| [in] | *handle | pointer to a w25qxx handle structure |
Definition at line 2690 of file driver_w25qxx.c.
| uint8_t w25qxx_set_burst_with_wrap | ( | w25qxx_handle_t * | handle, |
| w25qxx_burst_wrap_t | wrap ) |
set the burst with wrap
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | wrap | burst wrap |
Definition at line 6746 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | dummy | qspi read dummy |
| [in] | length | qspi read wrap length |
Definition at line 2427 of file driver_w25qxx.c.
| uint8_t w25qxx_set_status1 | ( | w25qxx_handle_t * | handle, |
| uint8_t | status ) |
set the status 1
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | status | set status |
Definition at line 863 of file driver_w25qxx.c.
| uint8_t w25qxx_set_status2 | ( | w25qxx_handle_t * | handle, |
| uint8_t | status ) |
set the status 2
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | status | set status |
Definition at line 1062 of file driver_w25qxx.c.
| uint8_t w25qxx_set_status3 | ( | w25qxx_handle_t * | handle, |
| uint8_t | status ) |
set the status 3
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | status | set status |
Definition at line 1261 of file driver_w25qxx.c.
| 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
| [in] | *handle | pointer to a w25qxx handle structure |
| [in] | addr | read address |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 4350 of file driver_w25qxx.c.