Electronic Components Datasheet Search
  English  ▼

X  

SH7216 Datasheet(PDF) 16 Page - Renesas Technology Corp

Part # SH7216
Description  USB Mass Storage Class
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7216 Datasheet(HTML) 16 Page - Renesas Technology Corp

Back Button SH7216 Datasheet HTML 12Page - Renesas Technology Corp SH7216 Datasheet HTML 13Page - Renesas Technology Corp SH7216 Datasheet HTML 14Page - Renesas Technology Corp SH7216 Datasheet HTML 15Page - Renesas Technology Corp SH7216 Datasheet HTML 16Page - Renesas Technology Corp SH7216 Datasheet HTML 17Page - Renesas Technology Corp SH7216 Datasheet HTML 18Page - Renesas Technology Corp SH7216 Datasheet HTML 19Page - Renesas Technology Corp SH7216 Datasheet HTML 20Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 32 page
background image
SH7216 Group
USB Function Module: USB Mass Storage Class
REJ06B0897-0100/Rev.1.00
July 2009
Page 16 of 32
5.3
File Structure
This sample program consists of nine source files and eleven header files. The overall file structure is shown in table 8.
Each function is arranged in one file by transfer method or function type.
Table 8
File Structure
File Name
Principle Role
Startup.c
USB function default settings
UsbMain.c
Judging the causes of interrupts
Sending and receiving packets
DoRequest.c
Processing setup commands issued by the host
DoRequestBOT_StorageClass.c
Processing USB Mass Storage Class (Bulk-Only Transport) class
commands
DoControl.c
Executing control transfer
DoBulk.c
Executing bulk transport
DoBOTMSClass.c
Executing USB Mass Storage Class (Bulk-Only Transport) transport
DoSCSICommand.c
Analyzing and processing SCSI commands
sct.src
Transferring initial values of variables from the ROM to the RAM
CatBOTTypedef.h
Defining structures used for Bulk-Only Transport
CatProType.h
Prototype declarations
CatSCSITypedef.h
Defining structures used for SCSI, and defining macro to configure FAT
information
CatTypedef.h
Defining the basic structures used in USB firmware
SetBOTInfo.h
Default settings of variables needed to support Bulk-Only Transport
SetMacro.h
Defining macros
SetSCSIInfo.h
Default settings of variables needed to support SCSI commands
SetSystemSwitch.h
System operation settings
SetUsbInfo.h
Default settings of variables used in USB firmware
SysMemMap.h
Defining memory map addresses
iodefine.h
Defining SH7216 registers
5.4
Purposes of Functions
Table 9 to 16 shows functions contained in each file and their purposes.
• Startup.c
When a power-on reset or manual reset is carried out, the SetPowerOnSection of the Startup.c file is called. At this
point, the SH7216 default settings are entered and the RAM area used for bulk transport is cleared.
Table 9
Startup.c
File in which
Stored
Function Name
Purpose
SetPowerOnSection
Initializes module and memory, and shifts to the main loop
InitSDRAM
Makes initial settings for the SDRAM mounted on the SH7216 CPU
board
_INITSCT
Copies variables that have default settings to the RAM work area
InitMemory
Clears the RAM area used in bulk communication
InitSystem
Pull-up control of the USB bus
Startup.c
Set_EPInfoR
Writes endpoint information



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com