M480 BSP V3.05.006
The Board Support Package for M480 Series
Functions
qspi.c File Reference

M480 series QSPI driver source file. More...

#include "NuMicro.h"

Go to the source code of this file.

Functions

uint32_t QSPI_Open (QSPI_T *qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock)
 This function make QSPI module be ready to transfer. More...
 
void QSPI_Close (QSPI_T *qspi)
 Disable QSPI controller. More...
 
void QSPI_ClearRxFIFO (QSPI_T *qspi)
 Clear RX FIFO buffer. More...
 
void QSPI_ClearTxFIFO (QSPI_T *qspi)
 Clear TX FIFO buffer. More...
 
void QSPI_DisableAutoSS (QSPI_T *qspi)
 Disable the automatic slave selection function. More...
 
void QSPI_EnableAutoSS (QSPI_T *qspi, uint32_t u32SSPinMask, uint32_t u32ActiveLevel)
 Enable the automatic slave selection function. More...
 
uint32_t QSPI_SetBusClock (QSPI_T *qspi, uint32_t u32BusClock)
 Set the QSPI bus clock. More...
 
void QSPI_SetFIFO (QSPI_T *qspi, uint32_t u32TxThreshold, uint32_t u32RxThreshold)
 Configure FIFO threshold setting. More...
 
uint32_t QSPI_GetBusClock (QSPI_T *qspi)
 Get the actual frequency of QSPI bus clock. Only available in Master mode. More...
 
void QSPI_EnableInt (QSPI_T *qspi, uint32_t u32Mask)
 Enable interrupt function. More...
 
void QSPI_DisableInt (QSPI_T *qspi, uint32_t u32Mask)
 Disable interrupt function. More...
 
uint32_t QSPI_GetIntFlag (QSPI_T *qspi, uint32_t u32Mask)
 Get interrupt flag. More...
 
void QSPI_ClearIntFlag (QSPI_T *qspi, uint32_t u32Mask)
 Clear interrupt flag. More...
 
uint32_t QSPI_GetStatus (QSPI_T *qspi, uint32_t u32Mask)
 Get QSPI status. More...
 

Detailed Description

M480 series QSPI driver source file.

Version
V3.00

SPDX-License-Identifier: Apache-2.0

Definition in file qspi.c.