Renesas USB Device
USB Host Mass Storage Class Driver(HMSC)
R01AN0513EJ0110 Rev.1.10
Page 8 of 55
Aug 10, 2011
2.4.2 File
Structure
Table 2.2 File Structure
Folder Name
File Name
Description
Note
APL r_usb_HMSC_apl.c
Sample
application
Sample
MSCFW
r_usb_HMSCfsi.c
FSL interface functions
Sample
MSCFW
r_usb_hStorageDriver.c
Device driver (HMSDD)
Sample
MSCFW
r_usb_HMSCddi.c
HMSDD interface functions (DDI)
MSCFW r_usb_HMSCdriver.c
USB class driver (host mass storage
class)
MSCFW r_usb_HMSChci.c
HCD
interface functions (HCI)
include
r_usb_cATAPIdefine.h
MSDD common header file
include
r_usb_cMSCdefine.h
MSDCD common header file
include
r_usb_hMSCdefine.h
HMSCD header file
include
r_usb_hMSCextern.h
External reference header file
TFAT/lib_src r_tfat_drv_if.c
TFAT interface functions
Sample
* skip USB1
2.5 System
Resources
2.5.1
System Resource Definitions when Running µITRON Version
The uITRON resources used by HDCD are listed below. They are defined in the r_usb_cKernelId.h header file.
Table 2.3 uITRON Resources
Name
Description
usb_hstd_MainTask
Application task
(Files can be manipulated by relevant task.)
Task_ID: USB_HSMP_TSK
Task priority: USB_HSMP_PRI
Task stack size: USB_TSK_STK
(0x0600)
Main_Task Main
task
Task_ID: USB_SMP_TSK
Task priority: USB_SMP_PRI
USB_HMSCD_MBX2
HMSCD mailbox ID
Mailbox max. priority: 1
Waiting task queue: FIFO order
Message queue: FIFO order
USB_HSMP_MBX
Application mailbox ID
USB_HMSCD_MPL
HMSCD memory pool ID
Fixed length memory pool block
count: 10
Block size: 64
Waiting task queue: FIFO order
USB_HSMP_MPL
Application memory pool ID
OS base timer
Hardware timer
1 ms
Содержание R8A66597
Страница 56: ......