Difference between revisions of "83Plus:Ports:80"
From WikiTI
(More USB port documentation. Port 80: device address) |
Thepenguin77 (Talk | contribs) |
||
Line 1: | Line 1: | ||
[[Category:83Plus:Ports:By Address|80 - USB Device Address]] [[Category:83Plus:Ports:By Name|USB Device Address]] | [[Category:83Plus:Ports:By Address|80 - USB Device Address]] [[Category:83Plus:Ports:By Name|USB Device Address]] | ||
+ | {{84P-Only Port|00}} | ||
== Synopsis == | == Synopsis == | ||
'''Port Number:''' 80h | '''Port Number:''' 80h | ||
Line 6: | Line 7: | ||
This port controls the current USB device address. | This port controls the current USB device address. | ||
− | |||
− | |||
=== Read Values === | === Read Values === |
Latest revision as of 20:17, 27 October 2011
This port only exists on the the TI-84 Plus and the TI-84 Plus Silver Edition. On the standard TI-83 Plus, it acts as a shadow of port 00. On the TI-83 Plus Silver Edition, this port has no effect. |
Synopsis
Port Number: 80h
Function: USB Device Address
This port controls the current USB device address.
Read Values
- Bits 0-6: Current address
- Bit 7: Always 0
Write Values
- Bits 0-6: New USB device address
- Bit 7: Not used
Comments
Since a USB system may have many devices sharing the same data lines, every peripheral device is assigned a unique 7-bit address to identify it. This port is used both to set the calculator's own address (when acting as a peripheral), and to set the address that the calculator is currently "speaking" to (when acting as a host.)
Remember that when you send or receive a Set Address request, the status stage still uses the old address (see section 9.4.6 of the USB specification), so you shouldn't change this port until after the status stage is finished.