Difference between revisions of "83Plus:Ports:09"

From WikiTI
Jump to: navigation, search
m
 
(Added information on what writing does.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Note:''' Do not take the information on this template page as actual documentation!
+
[[Category:83Plus:Ports:By_Address|09 - Link Assist Status/CPU Speed 0 Signaling Rate]] [[Category:83Plus:Ports:By_Name|Link Assist Status/CPU Speed 0 Signaling Rate]]
 
+
The Ports are named by their number, in hexadecimal. An example is [[83Plus:Ports:00]].
+
 
+
You also must put a variation on the following code into your page to have it categorized:
+
NaodW29-nowiki524ead3d48187e5400000001
+
 
+
----
+
 
+
 
== Synopsis ==
 
== Synopsis ==
'''Port Number:''' 06h
+
'''Port Number:''' 09h
  
'''Function:''' Flash Memory Paging
+
'''Function:''' Link Assist Status/CPU Speed 0 Signaling Rate
  
This port controls what page is swapped into the 4000h to 7FFFh range. ('''DO NOT''' take this template page as real documentation on port 6!)
+
This port gives information on the status of the hardware link assist.
  
 
=== Read Values ===
 
=== Read Values ===
* [00h - FFh]: The current port mapped to the memory range 4000h through 7FFFh.
+
* Bit 0: Set if an interrupt was generated by receiving a byte.
 +
* Bit 1: Set if an interrupt was generated when a byte can be sent.
 +
* Bit 2: Set if an interrupt was generated due to an error in transmission.
 +
* Bit 3: Set if the assist is currently receiving data
 +
* Bit 4: Set if the assist has read a complete byte (which can be read from [[83Plus:Ports:0A|port 0A]])
 +
* Bit 5: Set if the assist is ready to write data (via [[83Plus:Ports:0D|port 0D]])
 +
* Bit 6: Set if there was an error during transmission
 +
* Bit 7: Set if the link assist is currently sending a byte.
  
 
=== Write Values ===
 
=== Write Values ===
* [00h - FFh]: The new page to swap in to the memory range 4000h through 7FFFh
+
Writing to this port sets the signaling rate of the link assist in CPU speed mode 0 (6 MHz); the link assist uses the same clock as the CPU. Bits 5 through 7 control a divisor to the clock before it reaches the link assist, affecting how fast the link assist can detect changes in the signal states. It will divide by 2^n, allowing you to divide by 1, 2, 4 ... 64. Value 111b (7) will halt the link assist. Bits 0 through 4 control how much time to wait between bits. TI desires a minimum time between bits of 2 microseconds.
 
+
''Note: if you would have bitwise flags for your port, label them "bit X".''
+
  
 
== Comments ==
 
== Comments ==
The behavior of this port changes in different memory map modes.
+
This port only exists on the 83+ SE and the 84+.
 
+
== Example ==
+
NaodW29-nowiki524ead3d48187e5400000002
+
  
 
== Credits and Contributions ==
 
== Credits and Contributions ==
* '''/dev/urandom:''' Because of your randomness, this project is possible.
+
* '''Michael Vincent:''' Original documentation of the link assist

Latest revision as of 19:41, 11 August 2013

Synopsis

Port Number: 09h

Function: Link Assist Status/CPU Speed 0 Signaling Rate

This port gives information on the status of the hardware link assist.

Read Values

  • Bit 0: Set if an interrupt was generated by receiving a byte.
  • Bit 1: Set if an interrupt was generated when a byte can be sent.
  • Bit 2: Set if an interrupt was generated due to an error in transmission.
  • Bit 3: Set if the assist is currently receiving data
  • Bit 4: Set if the assist has read a complete byte (which can be read from port 0A)
  • Bit 5: Set if the assist is ready to write data (via port 0D)
  • Bit 6: Set if there was an error during transmission
  • Bit 7: Set if the link assist is currently sending a byte.

Write Values

Writing to this port sets the signaling rate of the link assist in CPU speed mode 0 (6 MHz); the link assist uses the same clock as the CPU. Bits 5 through 7 control a divisor to the clock before it reaches the link assist, affecting how fast the link assist can detect changes in the signal states. It will divide by 2^n, allowing you to divide by 1, 2, 4 ... 64. Value 111b (7) will halt the link assist. Bits 0 through 4 control how much time to wait between bits. TI desires a minimum time between bits of 2 microseconds.

Comments

This port only exists on the 83+ SE and the 84+.

Credits and Contributions

  • Michael Vincent: Original documentation of the link assist