| 数据搜索系统,热门电子元器件搜索 |
|
USB5534B 数据表(PDF) 32 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
USB5534B 数据表(HTML) 32 Page - Microchip Technology |
|
32 / 73 page ![]() USB5534B DS00001681C-page 32 2012 - 2015 Microchip Technology Inc. 5.5.4.1 Special Command 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. First write data to the memory of the hub . 2. After the data is written, execute the Configuration Register Access command . 3. Finally, read back data starting at memory offset 04h, which is where the Data byte starts . Although the device can send out 128 bytes of memory data, it isn’t necessary to read the entire set, the SMBus Master can send a stop at any time. TABLE 5-4: EXAMPLE SMBUS WRITE COMMAND Byte Value Comment 0 5Ah Address plus write bit. 1 00h Memory address 0000h. 2 00h Memory address 0000h. 3 03h Number of bytes to write to memory. 4 80h Get Port Device Status. 5 00h Reading one data bytes. 6 1Fh Read all ports. TABLE 5-5: CONFIGURATION REGISTER ACCESS COMMAND Byte Value Comment 0 5Ah Address plus write bit. 1 99h Command 993Eh. 2 3Eh Command 993Eh. 3 00h Command Completion. TABLE 5-6: EXAMPLE SMBUS READ COMMAND Byte Value Comments 0 5Ah Address plus Write bit. 1 00h Memory Address 0004h. 2 03h Memory Address 0004h. 0 59h Address plus Read bit. 1 80h Device sends 128 bytes of data. 2 03h Upstream Connection Status. (SS and HS) 3 02h Port 1 Connection Status. (HS/FS/LS Only) 4 01h Port 2 Connection Status. (SS Only) 5 02h Port 3 Connection Status.(HS/FS/LS Only) 6 02h Port 4 Connection Status.(HS/FS/LS Only) |
|
链接网址 |
| 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 |