nt">hal</span>;
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">nb</span>;

<span class="comment">// device crate</span>
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">stm32f30x</span>;

<span class="kw">use</span> <span class="ident">stm32f30x</span>::<span class="ident">USART1</span>;

<span class="doccomment">/// A serial interface</span>
<span class="comment">// NOTE generic over the USART peripheral</span>
<span class="kw">pub</span> <s