Electronic Components Datasheet Search
  English  ▼

X  

SH7216 Datasheet(PDF) 14 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) 14 Page - Renesas Technology Corp

Back Button SH7216 Datasheet HTML 10Page - Renesas Technology Corp SH7216 Datasheet HTML 11Page - Renesas Technology Corp 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 32 page
background image
SH7216 Group
USB Function Module: USB Mass Storage Class
REJ06B0897-0100/Rev.1.00
July 2009
Page 14 of 32
5.
Overview of the Sample Program
In this section, features of the sample program and its structure are explained. This sample program runs on the SH7216
CPU Board, which works as a RAM disk, and initiates USB transfers by means of interrupts from the USB function
module. Of the interrupts from modules in the SH7216, there are six interrupts related to the USB function module:
USI0, USI1, USBRXI0, USBTXI0, USBRXI1 and USBTXI1, but in this sample program, USI0 and USI1 are used.
5.1
State Transition Diagram
Figure 5 shows a state transition diagram for this sample program. In this sample program, as shown in figure 5, there
are transitions between three states.
Immediately after the power supply has been turned on,
the system is in reset state. After the initial settings have been
completed, it returns to the stationary state.
Initial settings completed
USB communication
completed
Interrupt generated
(USBFI0)
Control transfer
Bulk transport
USB communication state
Reset state
Stationary state
Figure 5 State Transition Diagram
• Reset state
Upon power-on reset and manual reset, this state is entered. In the reset state, the SH7216 mainly performs initial
settings.
• Stationary state
When initial settings are completed, a stationary state is entered in the main loop.
• USB communication state
In the stationary state, when an interrupt from the USB module occurs, this state is entered. In the USB
communication state, data transfer is performed by a transfer method according to the type of interrupt. The
interrupts used in this sample program are indicated by interrupt flag register 0, 1, 2, 3 and 4 (USBIFR0, 1, 2, 3 and
4). When an interrupt factor occurs, the corresponding bits in USBIFR0, 1, 2, 3 and 4 are set.



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