![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Header for ff_gen_drv.c module. More...
Go to the source code of this file.
Data Structures | |
struct | Diskio_drvTypeDef |
Disk IO Driver structure definition. More... | |
struct | Disk_drvTypeDef |
Global Disk IO Drivers structure definition. More... | |
Functions | |
uint8_t | FATFS_LinkDriverEx (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 (Diskio_drvTypeDef *drv, char *path) |
Links a compatible diskio driver and increments 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_LinkDriverEx (Diskio_drvTypeDef *drv, char *path, BYTE lun) |
uint8_t | FATFS_UnLinkDriverEx (char *path, BYTE lun) |
uint8_t | FATFS_GetAttachedDriversNbr (void) |
Gets number of linked drivers to the FatFs module. More... | |
Header for ff_gen_drv.c module.
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.h.
uint8_t FATFS_GetAttachedDriversNbr | ( | void | ) |
Gets number of linked drivers to the FatFs module.
None |
Number | of attached drivers. |
Definition at line 126 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.
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 78 of file ff_gen_drv.c.
uint8_t FATFS_LinkDriverEx | ( | 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 paramter must be equal to 0 |
Returns | 0 in case of success, otherwise 1. |
Definition at line 49 of file ff_gen_drv.c.
uint8_t FATFS_LinkDriverEx | ( | Diskio_drvTypeDef * | drv, |
char * | path, | ||
BYTE | lun | ||
) |
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 116 of file ff_gen_drv.c.
uint8_t FATFS_UnLinkDriverEx | ( | char * | path, |
BYTE | lun | ||
) |