![]() |
cueOS
2.4
cueOS - Universal Show Control OS for ARM
|
FatFs generic low level driver. More...
#include "ff_gen_drv.h"
Go to the source code of this file.
Functions | |
| uint8_t | FATFS_LinkDriverEx (const Diskio_drvTypeDef *drv, char *path, uint8_t lun) |
| Links a compatible diskio driver/lun id and increments the number of active linked drivers. More... | |
| uint8_t | FATFS_LinkDriver (const Diskio_drvTypeDef *drv, char *path) |
| Links a compatible diskio driver and increments the number of active linked drivers. More... | |
| uint8_t | FATFS_UnLinkDriverEx (char *path, uint8_t lun) |
| Unlinks a diskio driver and decrements the number of active linked drivers. More... | |
| uint8_t | FATFS_UnLinkDriver (char *path) |
| Unlinks a diskio driver and decrements the number of active linked drivers. More... | |
| uint8_t | FATFS_GetAttachedDriversNbr (void) |
| Gets number of linked drivers to the FatFs module. More... | |
Variables | |
| Disk_drvTypeDef | disk = {{0},{0},{0},0} |
FatFs generic low level driver.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file ff_gen_drv.c.
| uint8_t FATFS_GetAttachedDriversNbr | ( | void | ) |
Gets number of linked drivers to the FatFs module.
| None |
| Number | of attached drivers. |
Definition at line 116 of file ff_gen_drv.c.
| uint8_t FATFS_LinkDriver | ( | const Diskio_drvTypeDef * | drv, |
| char * | path | ||
| ) |
Links a compatible diskio driver and increments the number of active linked drivers.
| drv | pointer to the disk IO Driver structure |
| path | pointer to the logical drive path |
| Returns | 0 in case of success, otherwise 1. |
Definition at line 68 of file ff_gen_drv.c.
| uint8_t FATFS_LinkDriverEx | ( | const Diskio_drvTypeDef * | drv, |
| char * | path, | ||
| uint8_t | lun | ||
| ) |
Links a compatible diskio driver/lun id and increments the number of active linked drivers.
| drv | pointer to the disk IO Driver structure |
| path | pointer to the logical drive path |
| lun | : only used for USB Key Disk to add multi-lun management else the parameter must be equal to 0 |
| Returns | 0 in case of success, otherwise 1. |
Definition at line 39 of file ff_gen_drv.c.
| uint8_t FATFS_UnLinkDriver | ( | char * | path | ) |
Unlinks a diskio driver and decrements the number of active linked drivers.
| path | pointer to the logical drive path |
| Returns | 0 in case of success, otherwise 1. |
Definition at line 106 of file ff_gen_drv.c.
| uint8_t FATFS_UnLinkDriverEx | ( | char * | path, |
| uint8_t | lun | ||
| ) |
Unlinks a diskio driver and decrements the number of active linked drivers.
| path | pointer to the logical drive path |
| lun | : not used |
| Returns | 0 in case of success, otherwise 1. |
Definition at line 80 of file ff_gen_drv.c.
| Disk_drvTypeDef disk = {{0},{0},{0},0} |
Definition at line 24 of file ff_gen_drv.c.