DriveCheck/de

From MCS Wiki AVR
< DriveCheck(Difference between revisions)
Jump to: navigation, search
(Created page with "= <span class="f_Header">Action</span> = Checks the Drive, if it is ready for use <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </...")
 
m (1 revision)
 

Latest revision as of 21:14, 15 February 2013

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Checks the Drive, if it is ready for use

 

 

Syntax

bErrorCode = DRIVECHECK()

 

 

Remarks

bErrorCode

A Byte Variable, which is assigned with the return value of the function

 

This function checks the drive, if it is ready for use (for example, whether a compact flash card is inserted). The functions returns 0 if the drive can be used, otherwise an error code is returned. For Error code see section Error codes.

 

 

See also

DriveReset , DriveInit , DriveGetIdentity , DriveWriteSector , DriveReadSector

 

 

ASM

Calls

_DriveCheck

 

Input

none

 

Output

r25: Errorcode

C-Flag: Set on Error

 

 

 

Partial Example


Dim bError as Byte
bError = DriveCheck()

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language