Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10468281046828 NOR SPI BSP Overview Anchor10468291046829An 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 on page 480. Anchor10520411052041  

...

...

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