Renesas USB Device
USB Host Mass Storage Class Driver(HMSC)
R01AN0513EJ0110 Rev.1.10
Page 33 of 55
Aug 10, 2011
Table 6.6
usb_hmsc_SmpFsiSectorInitialized()
Name
Initialize Global Variables
Call format
void usb_hmsc_SmpFsiSectorInitialized(uint16_t side, uint32_t offset, uint16_t size)
uint16_t side
Drive
number
uint32_t offset
Offset
sector
number
Arguments
uint16_t size
Sector
size
Return values
void
Description
Initializes the global variables of FSL.
Notes
Table 6.7
usb_hmsc_SmpFsiOffsetSectorRead()
Name
Read Offset Sector
Call format
uint32_t usb_hmsc_SmpFsiOffsetSectorRead(uint16_t side)
Arguments uint16_t
side
Drive
number
Return values
uint32_t
Offset sector number
Description
Returns the offset sector count.
Notes
Table 6.8
usb_hmsc_SmpFsiFileSystemInitialized()
Name
Set Drive Information in FSL
Call format
uint16_t usb_hmsc_SmpFsiFileSystemInitialized(uint16_t side, uint8_t *Data, uint32_t
Offset)
uint16_t side
Drive
number
uint8_t *Data
PBR
data
Arguments
uint32_t Offset
Offset
sector
number
Return values
uint16_t
USBC_DONE
success
Description
The drive information is set in FSL global variables.
Notes
Summary of Contents for R8A66597
Page 56: ......