Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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

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