Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 section C-11.

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.

Table 16-5 NOR SPI BSP functions

  • No labels