Renesas USB Device
USB Host Mass Storage Class Driver(HMSC)
R01AN0513EJ0110 Rev.1.10
Page 47 of 55
Aug 10, 2011
Table 8.8 usb_hmsc_SetTaskPri
Name
Task Priority Setting Processing (Only non-OS version)
Call format
usb_hmsc_SetTaskPri
Arguments void
⎯
⎯
Return
values
void
⎯
⎯
Description
Sets the priority of a task.
Notes
Table 8.9 usb_hmsc_sample
Name
Application Task (Only uITRON version)
Call format
usb_hmsc_sample
Arguments void
⎯
⎯
Return
values
void
⎯
⎯
Description
The processing is as follows.
1. Wait for a MSC device to attach
2. Wait for the file operation switch to push after the MSC device attaches
3. After the file operation switch is pushed, "MSC DEMO START" is displayed in LCD.
4. The ‘a' data of 512 bytes is written in " hmscdemo.txt" file.
5. "hmscdemo.txt" file is read until the file operation switch is pushed.
6. During the Read process, each time the device is read 100 times, LED0~3 on USB
evaluation board light up in sequence.
Notes
Table 8.10 usb_hmsc_SampleAplTask
Name
Application Task (Only non-OS version)
Call format
usb_hmsc_SampleAplTask
Arguments void
⎯
⎯
Return
values
void
⎯
⎯
Description
The processing is as follows.
1. Wait for a MSC device to attach
2. Wait for the file operation switch to push after the MSC device attaches
3. After the file operation switch is pushed, "MSC DEMO START" is displayed in LCD.
4. The ‘a' data of 512 bytes is written in " hmscdemo.txt" file.
5. "hmscdemo.txt" file is read until the file operation switch is pushed.
6. During the Read process, each time the device is read 100 times, LED0~3 on USB
evaluation board light up in sequence.
Notes
Summary of Contents for R8A66597
Page 56: ......