NOR SPI BSP Overview

An NOR BSP is required so that a physical-layer driver for a serial flash will work on a particular system. For more information about these functions, see NOR Flash SPI BSP.

Table - NOR SPI BSP functions

Function

Description

FSDev_NOR_BSP_SPI_Open()

Open (initialize) SPI.

FSDev_NOR_BSP_SPI_Close()

Close (uninitialize) SPI.

FSDev_NOR_BSP_SPI_Lock()

Acquire SPI lock.

FSDev_NOR_BSP_SPI_Unlock()

Release SPI lock.

FSDev_NOR_BSP_SPI_Rd()

Read from SPI.

FSDev_NOR_BSP_SPI_Wr()

Write to SPI.

FSDev_NOR_BSP_SPI_ChipSelEn()

Enable chip select.

FSDev_NOR_BSP_SPI_ChipSelDis()

Disable chip select.

FSDev_NOR_BSP_SPI_SetClkFreq()

Set SPI clock frequency.