| 数据搜索系统,热门电子元器件搜索 |
|
USB5537B 数据表(PDF) 38 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
USB5537B 数据表(HTML) 38 Page - Microchip Technology |
|
38 / 79 page ![]() USB5537B DS00001682C-page 38 2012 - 2015 Microchip Technology Inc. 2. Execute the Configuration Register Access command: 5.6.1.2 Configuration Register Read Example The following example shows how to read the Charger Detection register to find out what type of charger the hub has connected to: 1. Write data to the memory of the hub. 2. Execute the Configuration Register Access command. 3. Read back data starting at memory offset 04h, which is where the Data byte starts. 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. TABLE 5-16: EXAMPLE SMBUS WRITE COMMAND Byte Value Comment 0 5Ah Address plus write bit. 1 00h Memory address 0000h. 2 00h Memory address 0000h. 3 04h Number of bytes to write to memory. 4 01h Read Configuration Register. 5 01h Reading one data bytes. 6 30h BC Detect is in register 30E2h. 7 E2h BC Detect is in register 30E2h. TABLE 5-17: 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. TABLE 5-18: EXAMPLE SMBUS READ COMMAND Byte Value Comments 0 5Ah Address plus Write bit. 1 00h Memory Address 0004h. 2 04h Memory Address 0004h. 3 59h Address plus Read bit. 4 80h Device sends 128 bytes of data. 5 56h Charging Downstream Port Detected. TABLE 5-14: EXAMPLE SMBUS WRITE COMMAND (CONTINUED) Byte Value Comment |
|
链接网址 |
| 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 |