Device Driver Interface(Ddi) Functions - Renesas X 600 Series Manual

Usb host mass storage class driver (hmsc)
Table of Contents

Advertisement

Renesas USB Device
5.

Device Driver Interface(DDI) Functions

5.1
Functions and Features
The DDI functions comprise the HMSCD start function, end function, check connected device function, and sample
storage command functions.
5.2
DDI Functions
Table 5.1 lists the DDI functions.
Table 5.1
DDI Functions
Function Name
1
R_usb_hmsc_Initialized()
2
R_usb_hmsc_ClassCheck()
3
R_usb_hmsc_TaskOpen()
4
R_usb_ hmsc_TaskClose()
5
R_usb_hmsc_Read10()
6
R_usb_hmsc_Write10()
7
R_usb_hmsc_PreventAllow()
8
R_usb_hmsc_TestUnit()
9
R_usb_hmsc_RequestSense()
10
R_usb_hmsc_Inquiry()
11
R_usb_hmsc_ReadCapacity()
12
R_usb_hmsc_ReadFormatCapacity()
13
R_usb_hmsc_ModeSense10()
14
R_usb_hmsc_ModeSelect6()
15
R_usb_hmsc_DriveSpeed()
16
R_usb_hmsc_Registration()
17
R_usb_hmsc_Release()
R01AN0513EJ0110 Rev.1.10
Aug 10, 2011
USB Host Mass Storage Class Driver(HMSC)
Description
Initializes an internal variable.
Either register this function in the MGR classinit call-back or
call it from a function registered in the classinit call-back.
Checks the descriptor table of the connected device to
determine whether or not HMSCD can operate. If operation
is possible, it updates the pipe information table with
information from the descriptor table.
Either register this function in the MGR classcheck call-
back or call it from a function registered in the classcheck
call-back.
Starts HMSCD.
This function is called by the R_usb_hmsc_StrgTaskOpen()
function of HMSDD.
Closes HMSCD.
This function is called by the R_usb_hmsc_StrgTaskClose()
function of HMSDD.
Issues the READ10 command.
Issues the WRITE10 command.
Issues the PREVENT_ALLOW command.
Issues the TEST_UNIT_READY command.
Issues the REQUEST_SENSE command.
Issues the INQUIRY command.
Issues the READ_CAPACITY command.
Issues the READ_FORMAT_CAPACITY command.
Issues the MODE_SENSE10 command.
Issues the MODE_SELECT6 command.
Returns the communication speed of the drive.
Registers HMSCD in HCD.
Releases HMSCD from HCD.
Page 26 of 55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx62n groupR8a66597

Table of Contents