Synergy Software Package User's Manual
qspi_instance_ctrl_t Struct Reference

#include <r_qspi.h>

Data Fields

R_QSPI_Type * p_reg
 Pointer to QSPI base register.
 
uint32_t max_eraseable_size
 
uint32_t num_address_bytes
 Number of bytes used to represent the address.
 
uint32_t spi_mode
 SPI mode - 0 = Extended, 1 = Dual, 2 = Quad.
 
uint32_t page_size
 Number of bytes in a programmable page.
 
uint8_t data_lines
 data lines - 0 = 1 line, 1 = 2 lines, 2 = 4 lines
 
uint8_t manufacturer_id
 Manufacturer ID.
 
uint8_t memory_type
 Memory type.
 
uint8_t memory_capacity
 Memory capacity (in MByte)
 
bool xip_mode
 0 = run in read mode, 1 = run in XIP mode
 
uint32_t total_size_bytes
 Total size of the flash in bytes.
 
uint32_t open
 Flag to determine if the device is open.
 

Detailed Description

Instance control block. DO NOT INITIALIZE. Initialization occurs when qspi_api_t::open is called

Field Documentation

◆ max_eraseable_size

uint32_t qspi_instance_ctrl_t::max_eraseable_size

Largest eraseable sector size in kbytes. Used to determine buffer size for partial sector erases.


The documentation for this struct was generated from the following file: