Download uC/GUI user manual
Transcript
242
CHAPTER 5
Device drivers
5.5.6.3 FS_IDE_HW_IsPresent()
Description
Checks if the device is connected.
Prototype
U8 FS_IDE_HW_IsPresent (U8 Unit);
Parameter
Unit
Meaning
Unit number (0…N).
Table 5.78: FS_IDE_HW_IsPresent() parameter list
Return value
== 1: Device is connected.
== 0: Device is not connected.
Example
int FS_IDE_HW_IsPresent(U8 Unit) {
FS_USE_PARA(Unit);
return 1;
}
User's & reference manual for μC/FS
© 2004-2007 Micrium