DriveReset

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Resets the Drive. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> = <span class="f...")

Latest revision as of 22:31, 8 February 2013

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