<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=KW11-P_Programmable_Real-Time_Clock</id>
		<title>KW11-P Programmable Real-Time Clock - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=KW11-P_Programmable_Real-Time_Clock"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=KW11-P_Programmable_Real-Time_Clock&amp;action=history"/>
		<updated>2026-05-01T09:06:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=KW11-P_Programmable_Real-Time_Clock&amp;diff=25207&amp;oldid=prev</id>
		<title>Jnc: Fairly complete</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=KW11-P_Programmable_Real-Time_Clock&amp;diff=25207&amp;oldid=prev"/>
				<updated>2022-02-10T12:22:41Z</updated>
		
		<summary type="html">&lt;p&gt;Fairly complete&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- [[Image:M787-KW11-P.jpg|300px|thumb|right|KW11-P card]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
The '''KW11-P Programmable Real-Time Clock''' is a [[UNIBUS]] [[peripheral|device]] option which can either provide interval counting, or produce either single or repeated [[interrupt]]s at a programmed rate (at a multiple of the base rate). Four different base clock rates are available:&lt;br /&gt;
&lt;br /&gt;
* 100 KHz&lt;br /&gt;
* 10 KHz&lt;br /&gt;
* line rate from the [[alternating current|AC]] power provided to the [[power supply]]&lt;br /&gt;
* external&lt;br /&gt;
&lt;br /&gt;
The programming interface is fairly simple; there are three [[register]]s:&lt;br /&gt;
&lt;br /&gt;
* control/status&lt;br /&gt;
* count set&lt;br /&gt;
* counter&lt;br /&gt;
&lt;br /&gt;
The counter register can be set to count up or down, governed by the selected rate; an interrupt can be triggered when it reaches 0 (on overflow or underflow). It can then optionally be automatically reloaded from the count set register.&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
&lt;br /&gt;
Physically, the KW11-P is an [[DEC card form factor|quad]]-height board ('''M7228'''), which plugs into a [[Small Peripheral Controller|SPC]] slot in a [[backplane]].&lt;br /&gt;
&lt;br /&gt;
==Control and Status Register (CSR)==&lt;br /&gt;
{{16bit-header}}&lt;br /&gt;
| ERR || colspan=7 | Unused || DONE || INTENB || FIX || UP/DN || MODE || colspan=2 | RATE || RUN&lt;br /&gt;
{{16bitoctal-bitout}}&lt;br /&gt;
&lt;br /&gt;
*ERR - Overflow/underflow before previous interrupt completed&lt;br /&gt;
*DONE - Set on overflow/underflow (causes an interrupt when that happens, if the INTENB bit is set)&lt;br /&gt;
*INTENB - Interrupt enable&lt;br /&gt;
*FIX - Diagnostic count&lt;br /&gt;
*MODE - Count up/down&lt;br /&gt;
*MODE - Single/repeat interrupt&lt;br /&gt;
*RATE&lt;br /&gt;
**00 - 100 KHz&lt;br /&gt;
**01 - 10 KHz&lt;br /&gt;
**10 - line&lt;br /&gt;
**11 - external&lt;br /&gt;
&lt;br /&gt;
All [[bit]]s are read/write, except FIX (write-only), and DONE and ERR (read-only).&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bitsavers.org/pdf/dec/unibus/DEC-11-HPWB-D_KW11P_Oct72.pdf KW11-P programmable real-time clock manual] (DEC-11-HPWB-D)&lt;br /&gt;
* [http://www.bitsavers.org/pdf/dec/unibus/KW11-P_Schem_Aug73.pdf KW11-P programmable real-time clock engineering drawings]&lt;br /&gt;
&lt;br /&gt;
[[Category: UNIBUS Peripherals]]&lt;/div&gt;</summary>
		<author><name>Jnc</name></author>	</entry>

	</feed>