Difference between revisions of "83Plus:Ports:86"
From WikiTI
Thepenguin77 (Talk | contribs) |
(Added information gleaned from HDRC driver) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:83Plus:Ports:By Address|86 - USB Miscellaneous Events]] [[Category:83Plus:Ports:By Name|USB Miscellaneous Events]] | [[Category:83Plus:Ports:By Address|86 - USB Miscellaneous Events]] [[Category:83Plus:Ports:By Name|USB Miscellaneous Events]] | ||
+ | {{84P-Only Port|06}} | ||
== Synopsis == | == Synopsis == | ||
'''Port Number:''' 86h | '''Port Number:''' 86h | ||
+ | |||
+ | '''Equivalent HDRC port:''' MGC_O_HDRC_INTRUSB (0x0A) | ||
'''Function:''' USB Miscellaneous Events | '''Function:''' USB Miscellaneous Events | ||
This port reports when various device-level USB events occur. | This port reports when various device-level USB events occur. | ||
− | |||
− | |||
=== Read Values === | === Read Values === | ||
'''Reading from this port also clears it. Remember the value you read, because you can't go back and read it again.''' | '''Reading from this port also clears it. Remember the value you read, because you can't go back and read it again.''' | ||
− | * Bit 0: | + | * Bit 0 |
− | * Bit 1: | + | ** Equivalent HDRC name: MGC_M_INTR_SUSPEND, also MGC_M_INTR_EP0 |
− | * Bit 2: Set if a bus reset has occurred (both D+ and D | + | ** Set if the bus has been suspended (no activity for some length of time.) |
− | * Bit 3: | + | ** According to the HDRC driver, this bit is also set for endpoint 0 interrupts |
− | * Bit 4: | + | * Bit 1: |
− | * Bit 5: This usually indicates that something was unplugged. | + | ** Equivalent HDRC name: MGC_M_INTR_RESUME |
− | * Bit 6: | + | ** (Previous text here: "Probably related to HNP and/or SRP.") |
− | * Bit 7: | + | * Bit 2: |
+ | ** Equivalent HDRC name: MGC_M_INTR_RESET, also MGC_M_INTR_BABBLE | ||
+ | ** Set if a bus reset has occurred (both D+ and D- pulled low for some length of time.) | ||
+ | ** May also fire at other times | ||
+ | * Bit 3: | ||
+ | ** Equivalent HDRC name: MGC_M_INTR_SOF | ||
+ | * Bit 4: | ||
+ | ** Equivalent HDRC name: MGC_M_INTR_CONNECT | ||
+ | ** Set if a device has been connected (D+, or maybe D?, pulled high for some length of time.) | ||
+ | * Bit 5: | ||
+ | ** Equivalent HDRC name: MGC_M_INTR_DISCONNECT | ||
+ | ** This usually indicates that something was unplugged. | ||
+ | * Bit 6: | ||
+ | ** Equivalent HDRC name: MGC_M_INTR_SESSREQ | ||
+ | ** (Previous text here: "Probably related to HNP.") | ||
+ | * Bit 7: | ||
+ | ** Equivalent HDRC name: MGC_M_INTR_VBUSERROR | ||
+ | ** In host mode, this generally means the calculator cannot provide sufficient power. Usually caused by low batteries, although, some devices cause this every time. | ||
+ | ** Presumably, this could also happen in peripheral mode if the host's power supply sucks, or there is too much voltage drop along the cable. | ||
=== Write Values === | === Write Values === |
Latest revision as of 13:58, 14 August 2013
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 06. On the TI-83 Plus Silver Edition, this port has no effect. |
Synopsis
Port Number: 86h
Equivalent HDRC port: MGC_O_HDRC_INTRUSB (0x0A)
Function: USB Miscellaneous Events
This port reports when various device-level USB events occur.
Read Values
Reading from this port also clears it. Remember the value you read, because you can't go back and read it again.
- Bit 0
- Equivalent HDRC name: MGC_M_INTR_SUSPEND, also MGC_M_INTR_EP0
- Set if the bus has been suspended (no activity for some length of time.)
- According to the HDRC driver, this bit is also set for endpoint 0 interrupts
- Bit 1:
- Equivalent HDRC name: MGC_M_INTR_RESUME
- (Previous text here: "Probably related to HNP and/or SRP.")
- Bit 2:
- Equivalent HDRC name: MGC_M_INTR_RESET, also MGC_M_INTR_BABBLE
- Set if a bus reset has occurred (both D+ and D- pulled low for some length of time.)
- May also fire at other times
- Bit 3:
- Equivalent HDRC name: MGC_M_INTR_SOF
- Bit 4:
- Equivalent HDRC name: MGC_M_INTR_CONNECT
- Set if a device has been connected (D+, or maybe D?, pulled high for some length of time.)
- Bit 5:
- Equivalent HDRC name: MGC_M_INTR_DISCONNECT
- This usually indicates that something was unplugged.
- Bit 6:
- Equivalent HDRC name: MGC_M_INTR_SESSREQ
- (Previous text here: "Probably related to HNP.")
- Bit 7:
- Equivalent HDRC name: MGC_M_INTR_VBUSERROR
- In host mode, this generally means the calculator cannot provide sufficient power. Usually caused by low batteries, although, some devices cause this every time.
- Presumably, this could also happen in peripheral mode if the host's power supply sucks, or there is too much voltage drop along the cable.
Write Values
- No effect
Comments
This port is used to report various bus events, which are not associated with any particular endpoint. Note that this port (probably) only works if port 5B bit 0 is set. Port 8B might also act as a mask for this port (note that that port is normally set to A1h in host mode, and 05h in peripheral mode.)