...
void FSDev_SD_Card_BSP_Lock (FS_QTY unit_nbr);
...
void FSDev_SD_Card_BSP_Unlock (FS_QTY unit_nbr);
...
File |
---|
...
...
Called from |
---|
...
Code enabled by |
---|
...
|
...
SD/MMC cardmode driver |
...
N/A |
Anchor
Arguments
...
unit_nbr
Anchor
Unit number of SD/MMC card.
...
Returned Value
...
Notes/Warnings
...
...
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 toFSDev_SD_Card_BSP_Unlock()
has been made.
...
- 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 whenFSDev_SD_Card_BSP_Lock()
is called.