You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Rmove "Breakout" prefix from class names (this information is included
through the BreakoutBoard MultiDeviceFactory when used in that
context)
- Lots of typo fixes
- Fixed the agruements to OutpuClockParameters such that floating point
arthmetic is used so we dont loose precision
gate.SubscribeSafe(observer, value =>device.WriteRegister(BreakoutOutputClock.CLOCK_GATE,value?1u:0u)),
163
+
gate.SubscribeSafe(observer, value =>device.WriteRegister(OutputClock.CLOCK_GATE,value?1u:0u)),
165
164
shutdown
166
165
);
167
166
});
168
167
}
169
168
}
170
169
171
-
staticclassBreakoutOutputClock
170
+
staticclassOutputClock
172
171
{
173
172
publicconstintID=20;
174
173
175
174
publicconstuintNULL=0;// No command
176
-
publicconstuintCLOCK_GATE=1;// Output enable. Bit 0 = 0 is disabled, Bit 0 = 1 is enabled.
175
+
publicconstuintCLOCK_GATE=1;// Output gate. Bit 0 = 0 is disabled, Bit 0 = 1 is enabled.
177
176
publicconstuintHIGH_CYCLES=2;// Number of input clock cycles output clock should be high. Valid values are 1 or greater.
178
177
publicconstuintLOW_CYCLES=3;// Number of input clock cycles output clock should be low. Valid values are 1 or greater.
179
-
publicconstuintDELAY_CYCLES=4;// Number of input clock cycles output clock should be low. Valid values are 1 or greater.
180
-
publicconstuintGATE_RUN=5;// Number of input clock cycles output clock should be low. Valid values are 1 or greater.
181
-
publicconstuintBASE_FREQ_HZ=6;// Number of input clock cycles output clock should be low. Valid values are 1 or greater.
178
+
publicconstuintDELAY_CYCLES=4;// Delay, in input clock cycles, following reset before clock becomes active.
179
+
publicconstuintGATE_RUN=5;// LSB sets the gate using run status. Bit 0 = 0: Clock runs whenever CLOCK_GATE(0) is 1. Bit 0 = 1: Clock runs only when acquisition is in RUNNING state.
180
+
publicconstuintBASE_FREQ_HZ=6;// Frequency of the input clock in Hz.
182
181
183
182
internalclassNameConverter:DeviceNameConverter
184
183
{
185
184
publicNameConverter()
186
-
:base(typeof(BreakoutOutputClock))
185
+
:base(typeof(OutputClock))
187
186
{
188
187
}
189
188
}
@@ -199,26 +198,26 @@ public NameConverter()
199
198
/// <param name="Delay">Gets the exact clock delay as actualized by the clock synthesizer in
200
199
/// seconds.</param>
201
200
/// <param name="PeriodTicks">Gets the exact clock period as actualized by the clock synthesizer in units
202
-
/// of ticks of the of the <see cref="ContextTask.AcquisitionClockHz">Acquisition Clock</see>.</param>
201
+
/// of ticks of the <see cref="ContextTask.AcquisitionClockHz">Acquisition Clock</see>.</param>
203
202
/// <param name="HighTicks">Gets the exact clock high time per period as actualized by the clock
204
-
/// synthesizer in units of ticks of the of the <see cref="ContextTask.AcquisitionClockHz">Acquisition
203
+
/// synthesizer in units of ticks of the <see cref="ContextTask.AcquisitionClockHz">Acquisition
205
204
/// Clock</see>.</param>
206
205
/// <param name="LowTicks">Gets the exact clock low time per period as actualized by the clock synthesizer
207
-
/// in units of ticks of the of the <see cref="ContextTask.AcquisitionClockHz">Acquisition
206
+
/// in units of ticks of the <see cref="ContextTask.AcquisitionClockHz">Acquisition
208
207
/// Clock</see>.</param>
209
208
/// <param name="DelayTicks">Gets the exact clock delay as actualized by the clock synthesizer in units of
210
-
/// ticks of the of the <see cref="ContextTask.AcquisitionClockHz">Acquisition Clock</see>.</param>
0 commit comments