><span class="p">,</span> <span class="n">name</span><span class="p">:</span><span class="nb">str</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">'r'</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">JLinkDataStream</span><span class="p">:</span>
<span class="w">        </span><span class="sd">"""Open a data stream to the embedded device"""</span>

        <span class="k">with</span> <span class="bp">self</span><span class="o">.</s