| Electronic Components Datasheet Search |
|
SH7721 Datasheet(PDF) 860 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7721 Datasheet(HTML) 860 Page - Renesas Technology Corp |
|
860 / 1524 page ![]() Section 24 USB Host Controller (USBH) Rev. 3.00 Jan. 18, 2008 Page 798 of 1458 REJ09B0033-0300 24.4 Data Storage Format which Required by USB Host Controller 24.4.1 Storage Format of the Transferred Data USB Host Controller expects that data is compiled from lower address to upper address regardless endian setting of the CPU. Below figure shows data read operation, which is done by USB Host Controller. Program Memory (Area 3) USB host DATA.L H'11223344 DATA.L H'55667788 DATA.L H'00000099 LW read H'11223344 LW read H'55667788 LW read H'00000099 +3 11 +7 55 +11 00 +2 22 +6 66 +10 00 +1 33 +5 77 +9 00 +0 44 +4 88 8 99 The correspondence between data in memory and data read by USB Host Controller must be equal. When USB Host Controller reads data from external memory, USB Host Controller reads data by long word read operation every time regardless of endian. USB Host Controller uses data in byte from lower address in long word which it reads regardless the endian mode. Even endian mode is set as big or little, set the data from down addresses. Below program flow is the example of failure. • In program, set transfer address A to register R0 at big endian In program, "MOV.B #H'12,@R0" • In program, set transfer start address A to USB Host Controller, and set 1byte as transfer size. Memory Data expected to be transferred Actually transferred data LW read H'12000000 +3 12 +2 00 +1 00 +0 00 This example shows above operation transfers expected data #H'12. Data is filled from the lower bits of the memory in writing so that the data is read/written in bi- direction consistently regardless of the endian type. That is, the data is always aligned with the little endian specification. |
|
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 |
| 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 |