NameGet() - Device Driver

static const CPU_CHAR *FSDev_####_NameGet (void);

File

Called from

Code enabled by

fs_dev_####.c

various

N/A

Device drivers are identified by unique names, on which device names are based. For example, the unique name for the NAND flash driver is “nand”; the NAND devices will be named “nand:0:”, “nand:1:”, etc.

Arguments

None.

Returned Value

Pointer to the device driver name.

Notes/Warnings

  1. The name must not include the ‘:’ character.
  2. The name must be constant; each time this function is called, the same name must be returned.
  3. The device driver NameGet() function is called while the caller holds the FS lock.