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 10 Next »

static void FSDev_####_Close (FS_DEV *p_dev);

File

Called from

Code enabled by

fs_dev_####.c

FSDev_Close()

N/A

The device driver Close() function should uninitialize the hardware and release or free any resources acquired in the Open() function.

Arguments

p_dev

Pointer to device to close.

Returned Value

None.

Notes/Warnings

  • Tracking whether a device is open is not necessary, because this should ONLY be called when a device is open.
  • This will be called EVERY time the device is closed.
  • The device driver Close() function is called while the caller holds the device lock.
  • No labels