S32 SDK
quadspi_driver.c File Reference
#include "quadspi_driver.h"
#include "quadspi_hw_access.h"
#include "edma_driver.h"
#include "osif.h"
#include "interrupt_manager.h"

Go to the source code of this file.

Functions

status_t QSPI_DRV_Init (uint32_t instance, const qspi_user_config_t *userConfigPtr, qspi_state_t *state)
 Initializes the qspi driver. More...
 
status_t QSPI_DRV_Deinit (uint32_t instance)
 De-initialize the qspi driver. More...
 
status_t QSPI_DRV_AhbSetup (uint32_t instance, const qspi_ahb_config_t *config)
 Sets up AHB accesses to the serial flash. More...
 
status_t QSPI_DRV_IpCommand (uint32_t instance, uint8_t lut, uint32_t timeout)
 Launches a simple IP command. More...
 
status_t QSPI_DRV_IpRead (uint32_t instance, uint8_t lut, uint32_t addr, uint8_t *dataRead, const uint8_t *dataCmp, uint32_t size, qspi_transfer_type_t transferType, uint32_t timeout)
 Launches an IP read command. More...
 
status_t QSPI_DRV_IpWrite (uint32_t instance, uint8_t lut, uint32_t addr, uint8_t *data, uint32_t size, qspi_transfer_type_t transferType, uint32_t timeout)
 Launches an IP write command. More...
 
status_t QSPI_DRV_IpErase (uint32_t instance, uint8_t lut, uint32_t addr)
 Launches an IP erase command. More...
 
status_t QSPI_DRV_IpGetStatus (uint32_t instance)
 Checks the status of the currently running IP command. More...
 
status_t QSPI_DRV_GetDefaultConfig (qspi_user_config_t *userConfigPtr)
 Returns default configuration structure for QuadSPI. More...