Difference between revisions of "84PCE:Ports:0006"
From WikiTI
(→Bit [0]) |
(Updated effect of bits 0 & 1 on port access (oops)) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
=== Bit [0] === | === Bit [0] === | ||
− | Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does ''something.'' | + | Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does ''something.'' When reset, the [[84PCE:Ports:3000|USB controller ports]] cannot be accessed. |
=== Bit [1] === | === Bit [1] === | ||
− | Reset this bit to disable display upadates. | + | Reset this bit to disable display upadates. When reset, the [[84PCE:Ports:4000|LCD controller ports]] also cannot be accessed. |
=== Bit [2] === | === Bit [2] === |
Latest revision as of 21:52, 20 February 2021
Contents
Synopsis
Port Number: 0006
Function: Unknown
Details
This port seems to affect the display refresh.
Bit [0]
Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does something. When reset, the USB controller ports cannot be accessed.
Bit [1]
Reset this bit to disable display upadates. When reset, the LCD controller ports also cannot be accessed.
Bit [2]
Set this bit to enable display updates if bit 1 is ever reset. ???
This bit is known to unlock protected ports, such as SHA256, and enables the flash unlock sequence. It is cleared every time the boot code interrupt handler runs.
Bit [3]
Writes do not latch; no apparent effect.
Used by OS on Python Edition.
Bit [4]
Flash lock status.
Bits [7:3]
Writes do not latch; no apparent effect.