void FSDev_GetDevName (FS_QTY dev_nbr,
CPU_CHAR *name_dev);
File |
Called from |
Code enabled by |
|
Application |
N/A |
Get name of the nth open device. dev_nbr
should be between 0 and the return value of FSDev_GetNbrDevs()
(inclusive).
Arguments
dev_nbr
Device number.
name_dev
String buffer that will receive the device name (see Note #2).
Returned Value
None.
Notes/Warnings
name_dev
must point to a character array of FS_CFG_MAX_DEV_NAME_LEN
characters.name_dev
will receive an empty string.