Jump to main content

##

# 2.115 Serial Quad Interface (SQI)

This Plib implements software abstraction for SQI Peripheral.

## Library Interface

SQI peripheral library provides the following interfaces:

Functions

Name | Description
--- | ---
SQIx_Initialize | Initializes given instance of the SQI peripheral
SQIx_DMASetup | Sets up SQI peripheral to DMA mode
SQIx_DMATransfer | Starts a DMA transfer to the SQI slave device
SQIx_XIPSetup | Sets up SQI peripheral to XIP mode
SQIx_RegisterCallback | Sets the pointer to the function (and it's context) to be called when the operation is complete

Data types and constants

Name | Type | Description
--- | --- | ---
SQI_EVENT_HANDLER | Typedef | Defines the data type and function signature for the SQI peripheral event handler function
SQI_LANE_MODE | Enum | Defines the data type to specify the type of lane
SQI_XIP_ADDR_BYTES | Enum | Defines the data type to specify the number of address bytes
SQI_XIP_DEV_SELECT | Enum | Defines the data type to specify the device to be used
sqi_dma_desc_t | Struct | Defines the data type for the SQI DMA based transfer

Note: Not all APIs maybe implemented. See the specific device family section for available APIs.