1.2.7.4.61 SYS_FS_MEDIA_MANAGER_CommandStatusGet Function
1.2.7.4.61 C
SYS_FS_MEDIA_COMMAND_STATUS SYS_FS_MEDIA_MANAGER_CommandStatusGet
(
uint16_t diskNo,
SYS_FS_MEDIA_BLOCK_COMMAND_HANDLE bufferHandle
)
1.2.7.4.61 Summary
Gets the command status.
1.2.7.4.61 Description
This function gets the command status. The sector read and sector write are non-blocking functions. Therefore, this interface is provided where the code should periodically poll for the buffer status. If status is completed, the read/write operation is considered to be complete.
1.2.7.4.61 Precondition
None.
1.2.7.4.61 Parameters
| Parameters | Description |
|---|---|
| diskNo | Media number |
| bufferHandle | The command handle which was obtained during sector read/write |
1.2.7.4.61 Returns
Command status of type SYS_FS_MEDIA_COMMAND_STATUS.
