| 数据搜索系统,热门电子元器件搜索 |
|
USB5533B 数据表(PDF) 37 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
USB5533B 数据表(HTML) 37 Page - Microchip Technology |
|
37 / 71 page ![]() 2012 - 2015 Microchip Technology Inc. DS00001680C-page 37 USB5533B 5.6.1 ACCESSING RUNTIME REGISTERS The Configuration Register Access operation allows the SMBus Master to read or write to the internal registers of the hub. When the Configuration Register Access command is sent the hub will interpret the memory starting at offset 00h as follows: 5.6.1.1 Configuration Register Write Example The following example shows how the SMBus messages will be formatted to set the VID of the hub to a custom value, AA55h. 1. Write data to the memory of the hub: 2. Execute the Configuration Register Access command: TABLE 5-13: MEMORY FORMAT FOR CONFIGURATION REGISTER ACCESS RAM Address Description Notes 0000h Direction 0 = Register Write, 1 = Register Read. 0001h Data Length Number of bytes to Read/Write when executing the command. 0002h Configuration Address MSB The upper byte of the 16-bit configuration register address. 0003h Configuration Address LSB The lower byte of the 16-bit configuration register address. 0004h Data1 The first byte of data to write to or read from the Configuration Address. ... ... ... 0004h+N DataN The Nth byte of data to write to or read from the Configuration Address, N is equal to the Data Length. TABLE 5-14: EXAMPLE SMBUS WRITE COMMAND Byte Value Comment 0 5Ah Address plus write bit. 1 00h Memory address 0000h. 2 00h Memory address 0000h. 3 06h Number of bytes to write to memory. 4 00h Write Configuration Register. 5 02h Writing two data bytes. 6 30h VID is in register 3000h. 7 00h VID is in register 3000h. 8 55h LSB of Vendor ID AA55h. 9 AAh MSB of Vendor ID AA55h. TABLE 5-15: CONFIGURATION REGISTER ACCESS COMMAND Byte Value Comment 0 5Ah Address plus write bit. 1 99h Command 9937h. 2 37h Command 9937h. 3 00h Command Completion. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |