Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ff_gen_drv.c File Reference
FatFs generic low level driver. More...
Go to the source code of this file.
Functions | |
uint8_t | FATFS_LinkDriver (Diskio_drvTypeDef *drv, char *path) |
Links a compatible diskio driver and increments the number of active linked drivers. | |
uint8_t | FATFS_UnLinkDriver (char *path) |
Unlinks a diskio driver and decrements the number of active linked drivers. | |
uint8_t | FATFS_GetAttachedDriversNbr (void) |
Gets number of linked drivers to the FatFs module. |
Detailed Description
FatFs generic low level driver.
- Version:
- V1.1.0
- Date:
- 22-April-2014
- Attention:
© COPYRIGHT 2014 STMicroelectronics
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file ff_gen_drv.c.
Function Documentation
uint8_t FATFS_GetAttachedDriversNbr | ( | void | ) |
Gets number of linked drivers to the FatFs module.
- Parameters:
-
None
- Return values:
-
Number of attached drivers.
Definition at line 94 of file ff_gen_drv.c.
uint8_t FATFS_LinkDriver | ( | Diskio_drvTypeDef * | drv, |
char * | path | ||
) |
Links a compatible diskio driver and increments the number of active linked drivers.
- Note:
- The number of linked drivers (volumes) is up to 10 due to FatFs limits
- Parameters:
-
drv,: pointer to the disk IO Driver structure path,: pointer to the logical drive path
- Return values:
-
Returns 0 in case of success, otherwise 1.
Definition at line 47 of file ff_gen_drv.c.
uint8_t FATFS_UnLinkDriver | ( | char * | path ) |
Unlinks a diskio driver and decrements the number of active linked drivers.
- Parameters:
-
path,: pointer to the logical drive path
- Return values:
-
Returns 0 in case of success, otherwise 1.
Definition at line 71 of file ff_gen_drv.c.
Generated on Tue Jul 12 2022 20:10:41 by
