Versions Compared

Key

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

...

Acquire/release SD/MMC card bus lock.

Arguments

unit_nbr

Unit number of SD/MMC card.

Returned Value

None.

Notes/Warnings

  1. FSDev_SD_Card_BSP_Lock() will be called before the driver begins to access the SD/MMC card bus. The application should not use the same bus to access another device until the matching call to FSDev_SD_Card_BSP_Unlock() has been made.
  2. The clock frequency, bus width and timeouts set by the FSDev_SD_Card_BSP_Set####() functions are parameters of the card, not the bus. If multiple cards are located on the same bus, those parameters must be saved (in memory) when set and restored when FSDev_SD_Card_BSP_Lock() is called.