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 ofFS_CFG_MAX_DEV_NAME_LEN
characters.- If the device does not exist,
name_dev
will receive an empty string.