|
SmartSnippets DA1459x SDK
|
QSPI memory configuration structure. More...
#include <qspi_common_v2.h>
QSPI memory configuration structure.
This struct is used to define a driver for a specific QSPI memory.
| HW_QSPI_ADDR_SIZE qspi_flash_config_t::address_size |
Device address size (24bits or 32-bit)
| qspi_callback_t qspi_flash_config_t::callback |
Callbacks struct
| HW_QSPI_CLK_MODE qspi_flash_config_t::clk_mode |
Clock Mode
| qspi_delay_t qspi_flash_config_t::delay |
QSPI memory delays struct
| hw_qspi_erase_instr_config_t qspi_flash_config_t::erase_instr_cfg |
Erase instruction configuration struct
| jedec_id_t qspi_flash_config_t::jedec |
JEDEC ID structure
| hw_qspi_page_program_instr_config_t qspi_flash_config_t::page_program_instr_cfg |
Page program instruction configuration struct
| hw_qspi_read_instr_config_t qspi_flash_config_t::read_instr_cfg |
Read instruction configuration struct
| hw_qspi_read_status_instr_config_t qspi_flash_config_t::read_status_instr_cfg |
Read status register instruction configuration struct
| bool qspi_flash_config_t::resume_before_writing_regs |
Resume the flash memory before writing the status register or any other configuration registers. Some flash memories reject these commands while being in erase suspend mode, thus a flash erase resume command must be issued in advance. This setting is in scope only when the background flash operations are enabled. Check the manufacturer datasheet and set this flag accordingly. If the implementation of the sys_clk_cfg_cb() doesn't make use of the aforementioned commands this flag must be false
| uint32_t qspi_flash_config_t::size_bits |
Memory size (bits)
| hw_qspi_suspend_resume_instr_config_t qspi_flash_config_t::suspend_resume_instr_cfg |
Program and erase suspend/resume instruction configuration struct
| hw_qspi_write_enable_instr_config_t qspi_flash_config_t::write_enable_instr_cfg |
Write enable instruction configuration struct
1.8.16