DriveReset

From MCS Wiki AVR
Revision as of 22:31, 8 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

Resets the Drive.

 

 

Syntax

bErrorCode = DRIVERESET()

 

 

Remarks

BErrorCode

A Byte Variable, which is assigned with the error code of the function

 

This function resets the drive and brings it to an initial state. The functions returns 0 if no error occurred. For Error code see section Error codes.

 

 

See also

DriveCheck , DriveInit , DriveGetIdentity , DriveWriteSector , DriveReadSector

 

 

ASM

Calls

_DriveReset

 

Input

none

 

Output

r25: Errorcode

C-Flag: Set on Error

 

 

 

Partial Example


Dim bError as Byte
bError = DriveReset()

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