Renesas USB Device
USB Host Mass Storage Class Driver(HMSC)
R01AN0513EJ0110 Rev.1.10
Page 30 of 55
Aug 10, 2011
Table 5.14 R_usb_hmsc_ModeSense10()
Name
MODE_SENSE10 command execution.
Call format
uint16_t R_usb_hmsc_ModeSense10(uint16_t side, uint8_t *buff)
uint16_t side
Drive
number
Arguments
uint8_t *buff
Receive
data
area
Return values
uint16_t
Error code
Description Creates
and
executes the MODE_SENSE10 command.
Notes
When a command error occurs, the REQUEST_SENSE command is executed to get error
information.
Table 5.15 R_usb_hmsc_ModeSelect6()
Name MODE_SELECT6
command
execution.
Call format
uint16_t R_usb_hmscModeSelect6(uint16_t side, uint8_t *buff)
uint16_t side
Drive
number
Arguments
uint8_t
*buff
Transmit data area
Return values
uint16_t
Error code
Description Creates
and
executes the MODE_SELECT6 command.
Notes
When a command error occurs, the REQUEST_SENSE command is executed to get error
information.
Table 5.16 R_usb_hmsc_DriveSpeed()
Name
Check Drive Communication Speed
Call format
uint16_t R_usb_hmsc_DriveSpeed(uint16_t side)
Arguments uint16_t
side
Drive
number
Return values
uint16_t
Communication speed
Description
Returns the communication speed of the drive.
Notes
Table 5.17 R_usb_hmsc_Registration()
Name Register
HMSCD
Call format
void R_usb_hmsc_Registration(void)
Arguments void
Return values
void
Description
Registers HMSCD in HCD.
Notes
Table 5.18 R_usb_hmsc_Release()
Name Release
HMSCD
Call format
void R_usb_hmsc_Release(void)
Arguments void
Return values
void
Description
Releases HMSCD from HCD.
Notes
Summary of Contents for R8A66597
Page 56: ......