Versions Compared

Key

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

...

Anchor10470571047057 SD/MMC SPI BSP Overview Anchor10470581047058An SPI BSP is required so that the SD/MMC SPI driver will work on a particular system. For more information about these functions, see section C-7 “SPI BSP” on page 453. Anchor10543641054364  

...

...

Function

...

Description

...

...

FSDev_SD_SPI_BSP_SPI_Open()

...

...

Open (initialize) SPI

...

FSDev_SD_SPI_BSP_SPI_Close()

...

Close (uninitialize) SPI

...

...

FSDev_SD_SPI_BSP_SPI_Lock()

...

...

Acquire SPI lock

...

FSDev_SD_SPI_BSP_SPI_Unlock()

...

Release SPI lock

...

...

FSDev_SD_SPI_BSP_SPI_Rd()

...

...

Read from SPI

...

FSDev_SD_SPI_BSP_SPI_Wr()

...

...

Write to SPI

...

...

FSDev_SD_SPI_BSP_SPI_ChipSelEn()

...

...

Enable chip select

...

...

FSDev_SD_SPI_BSP_SPI_ChipSelDis()

...

...

Disable chip select

...

...

FSDev_SD_SPI_BSP_SPI_SetClkFreq()

...

Set SPI clock frequency

...

Table 14-5 SD/MMC SPI BSP functions

...

Anchor10424001042400