Skip to content

Commit a038369

Browse files
committed
correct CW transmit fcns; add CESSB on/off fcn
1 parent ce3a933 commit a038369

2 files changed

Lines changed: 34 additions & 3 deletions

File tree

docs/index.html

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,7 +3573,7 @@ <h3>Functions</h3>
35733573
float32_t peak1; // Peak voltage at output
35743574
uint32_t countP; // Number of averaged samples for pwr0.
35753575
};
3576-
</pre></p>
3576+
</pre></p>
35773577

35783578
<p class=func><span class=keyword>levelDataCount</span>();</p>
35793579
<p class=desc>Returns an uint32_t with the number of averaged samples
@@ -3591,12 +3591,20 @@ <h3>Functions</h3>
35913591
overshoot. A value of 2.0 or slightly less is normally used. gainOut is
35923592
for convenience and sets the drive level to the next block. </p>
35933593

3594-
35953594
<p class=func><span class=keyword>setSideband</span>(<strong>bool</strong> sbReverse);</p>
35963595
<p class=desc>The LSB/USB selection depends on the processing of the
35973596
IQ outputs of this class. But, what we can do here is to reverse the
35983597
selection by reversing the phase of one of the Weaver LO's. </p>
35993598

3599+
<p class=func><span class=keyword>setProcessing</span>(<strong>bool</strong> cessbActive);</p>
3600+
<p class=desc>This function turns the CESSB on (if boolean cessbActive==true) or stops the CESSB (if false.
3601+
if boolean cessbActive==false). If cessbActive==false the SSB generation continues normally, but
3602+
without CESSB. The default is true.</p>
3603+
3604+
<p class=func><span class=keyword>getProcessing</span>();</p>
3605+
<p class=desc>This function returns boolean true if CESSB processing is running
3606+
and boolean false if it is not.</p>
3607+
36003608
<h3>Examples</h3>
36013609
<p class=exam>File &gt; Examples &gt; OpenAudio_ArduinoLibrary &gt; CESSB
36023610
</p>
@@ -3721,7 +3729,14 @@ <h3>Functions</h3>
37213729
IQ outputs of this class. But, what we can do here is to reverse the
37223730
selection by reversing the phase of the Q signal. </p>
37233731

3732+
<p class=func><span class=keyword>setProcessing</span>(<strong>bool</strong> cessbActive);</p>
3733+
<p class=desc>This function turns the CESSB on (if boolean cessbActive==true) or stops the CESSB
3734+
(if boolean cessbActive==false). If cessbActive==false the SSB generation continues normally, but
3735+
without CESSB. The default is true.</p>
37243736

3737+
<p class=func><span class=keyword>getProcessing</span>();</p>
3738+
<p class=desc>This function returns boolean true if CESSB processing is running
3739+
and boolean false if it is not.</p>
37253740
<p class=func><span class=keyword>setIQCorrections</span>
37263741
(<strong>bool</strong> useIQCorrection, <strong>float32_t</strong> gainI,
37273742
<strong>float32_t</strong> crossIQ,<strong>float32_t</strong> crossQI);</p>
@@ -4012,15 +4027,31 @@ <h3>Functions</h3>
40124027
Additionally, getTransmitEnable() will go false when all characters in the buffer have
40134028
been fully sent. This can be useful for control of Transmit/Receive.</p>
40144029

4030+
<p class=func><span class=keyword><strong>getBufferSpace</strong></span>();</p>
4031+
<p class=desc>Returns the number of places (of 512) left in the character buffer.</p>
4032+
40154033
<p class=func><span class=keyword>amplitude</span>(<strong>float32_t</strong> a);</p>
40164034
<p class=desc>Sets a, the zero-to-peak amplitude of the transmit signal. The default is 1.0.
40174035
No return value.</p>
40184036

4019-
<p class=func><span class=keyword>frequency</span>(<strong>float32_t</strong> f);</p>
4037+
<p class=func><span class=keyword>setFrequency</span>(<strong>float32_t</strong> f);</p>
40204038
<p class=desc>Sets the frequency of the CW waveform. The default is 600 Hz. Any value up to
40214039
half of the sample rate can be used.
40224040
No return value.</p>
40234041

4042+
<p class=func><span class=keyword>setCWSpeedWPM</span>(<strong>uint16_t</strong> speed);</p>
4043+
<p class=desc>Sets the speed ofCW sending. The default is 13 WPM. The speed is the highest of
4044+
the following that does not exceed the requested speed. There is no return value.
4045+
<pre>
4046+
5 11 17 23 29
4047+
6 12 18 24 30
4048+
7 13 19 25 35
4049+
8 14 20 26 40
4050+
9 15 21 27 50
4051+
10 16 22 28
4052+
</pre>
4053+
</p>
4054+
40244055
<p class=func><span class=keyword>setLongDashMs</span>(<strong>uint32_t</strong> longDashMs);</p>
40254056
<p class=desc>Sets the length, in milliseconds, of the long dash, longDashMs. This is sent by a
40264057
semi-colon in the CW buffer. The default is 1000 milliseconds. No return value.</p>

gui/DesignTool_F32.zip

337 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)