rtic/stable/api/rp2040_pac/struct.UART1.html
2024-12-06 13:35:18 +00:00

46 lines
No EOL
38 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="UART1"><title>UART1 in rp2040_pac - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="rp2040_pac" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../rp2040_pac/index.html">rp2040_<wbr>pac</a><span class="version">0.6.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">UART1</a></h2><h3><a href="#implementations">Associated Constants</a></h3><ul class="block associatedconstant"><li><a href="#associatedconstant.PTR" title="PTR">PTR</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.ptr" title="ptr">ptr</a></li><li><a href="#method.steal" title="steal">steal</a></li></ul><h3><a href="#deref-methods-RegisterBlock">Methods from Deref&lt;<wbr>Target=<wbr>Register<wbr>Block&gt;</a></h3><ul class="block deref-methods"><li><a href="#method.uartcr" title="uartcr">uartcr</a></li><li><a href="#method.uartdmacr" title="uartdmacr">uartdmacr</a></li><li><a href="#method.uartdr" title="uartdr">uartdr</a></li><li><a href="#method.uartfbrd" title="uartfbrd">uartfbrd</a></li><li><a href="#method.uartfr" title="uartfr">uartfr</a></li><li><a href="#method.uartibrd" title="uartibrd">uartibrd</a></li><li><a href="#method.uarticr" title="uarticr">uarticr</a></li><li><a href="#method.uartifls" title="uartifls">uartifls</a></li><li><a href="#method.uartilpr" title="uartilpr">uartilpr</a></li><li><a href="#method.uartimsc" title="uartimsc">uartimsc</a></li><li><a href="#method.uartlcr_h" title="uartlcr_h">uartlcr_h</a></li><li><a href="#method.uartmis" title="uartmis">uartmis</a></li><li><a href="#method.uartpcellid0" title="uartpcellid0">uartpcellid0</a></li><li><a href="#method.uartpcellid1" title="uartpcellid1">uartpcellid1</a></li><li><a href="#method.uartpcellid2" title="uartpcellid2">uartpcellid2</a></li><li><a href="#method.uartpcellid3" title="uartpcellid3">uartpcellid3</a></li><li><a href="#method.uartperiphid0" title="uartperiphid0">uartperiphid0</a></li><li><a href="#method.uartperiphid1" title="uartperiphid1">uartperiphid1</a></li><li><a href="#method.uartperiphid2" title="uartperiphid2">uartperiphid2</a></li><li><a href="#method.uartperiphid3" title="uartperiphid3">uartperiphid3</a></li><li><a href="#method.uartris" title="uartris">uartris</a></li><li><a href="#method.uartrsr" title="uartrsr">uartrsr</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-UART1" title="Debug">Debug</a></li><li><a href="#impl-Deref-for-UART1" title="Deref">Deref</a></li><li><a href="#impl-Send-for-UART1" title="Send">Send</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Sync-for-UART1" title="!Sync">!Sync</a></li><li><a href="#impl-Freeze-for-UART1" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-UART1" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Unpin-for-UART1" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-UART1" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate rp2040_<wbr>pac</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">rp2040_pac</a></span><h1>Struct <span class="struct">UART1</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/rp2040_pac/lib.rs.html#1009-1011">source</a> </span></div><pre class="rust item-decl"><code>pub struct UART1 { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>UART1</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-UART1" class="impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1013-1039">source</a><a href="#impl-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.PTR" class="associatedconstant"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1015">source</a><h4 class="code-header">pub const <a href="#associatedconstant.PTR" class="constant">PTR</a>: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.pointer.html">*const </a><a class="struct" href="uart0/struct.RegisterBlock.html" title="struct rp2040_pac::uart0::RegisterBlock">RegisterBlock</a> = {0x40038000 as *const uart0::RegisterBlock}</h4></section></summary><div class="docblock"><p>Pointer to the register block</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.ptr" class="method"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1018-1020">source</a><h4 class="code-header">pub const fn <a href="#method.ptr" class="fn">ptr</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.pointer.html">*const </a><a class="struct" href="uart0/struct.RegisterBlock.html" title="struct rp2040_pac::uart0::RegisterBlock">RegisterBlock</a></h4></section></summary><div class="docblock"><p>Return the pointer to the register block</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.steal" class="method"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1034-1038">source</a><h4 class="code-header">pub unsafe fn <a href="#method.steal" class="fn">steal</a>() -&gt; Self</h4></section></summary><div class="docblock"><p>Steal an instance of this peripheral</p>
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
<p>Ensure that the new instance of the peripheral cannot be used in a way
that may race with any existing instances, for example by only
accessing read-only or write-only registers, or by consuming the
original peripheral and using critical sections to coordinate
access between multiple new instances.</p>
<p>Additionally, other software such as HALs may rely on only one
peripheral instance existing to ensure memory safety; ensure
no stolen instances are passed to such software.</p>
</div></details></div></details></div><details class="toggle big-toggle" open><summary><h2 id="deref-methods-RegisterBlock" class="section-header"><span>Methods from <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="uart0/struct.RegisterBlock.html" title="struct rp2040_pac::uart0::RegisterBlock">RegisterBlock</a>&gt;</span><a href="#deref-methods-RegisterBlock" class="anchor">§</a></h2></summary><div id="deref-methods-RegisterBlock-1" class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.uartdr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#33-35">source</a><h4 class="code-header">pub fn <a href="#method.uartdr" class="fn">uartdr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTDR.html" title="type rp2040_pac::uart0::UARTDR">UARTDR</a></h4></section></summary><div class="docblock"><p>0x00 - Data Register, UARTDR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartrsr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#38-40">source</a><h4 class="code-header">pub fn <a href="#method.uartrsr" class="fn">uartrsr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTRSR.html" title="type rp2040_pac::uart0::UARTRSR">UARTRSR</a></h4></section></summary><div class="docblock"><p>0x04 - Receive Status Register/Error Clear Register, UARTRSR/UARTECR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartfr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#43-45">source</a><h4 class="code-header">pub fn <a href="#method.uartfr" class="fn">uartfr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTFR.html" title="type rp2040_pac::uart0::UARTFR">UARTFR</a></h4></section></summary><div class="docblock"><p>0x18 - Flag Register, UARTFR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartilpr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#48-50">source</a><h4 class="code-header">pub fn <a href="#method.uartilpr" class="fn">uartilpr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTILPR.html" title="type rp2040_pac::uart0::UARTILPR">UARTILPR</a></h4></section></summary><div class="docblock"><p>0x20 - IrDA Low-Power Counter Register, UARTILPR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartibrd" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#53-55">source</a><h4 class="code-header">pub fn <a href="#method.uartibrd" class="fn">uartibrd</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTIBRD.html" title="type rp2040_pac::uart0::UARTIBRD">UARTIBRD</a></h4></section></summary><div class="docblock"><p>0x24 - Integer Baud Rate Register, UARTIBRD</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartfbrd" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#58-60">source</a><h4 class="code-header">pub fn <a href="#method.uartfbrd" class="fn">uartfbrd</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTFBRD.html" title="type rp2040_pac::uart0::UARTFBRD">UARTFBRD</a></h4></section></summary><div class="docblock"><p>0x28 - Fractional Baud Rate Register, UARTFBRD</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartlcr_h" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#63-65">source</a><h4 class="code-header">pub fn <a href="#method.uartlcr_h" class="fn">uartlcr_h</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTLCR_H.html" title="type rp2040_pac::uart0::UARTLCR_H">UARTLCR_H</a></h4></section></summary><div class="docblock"><p>0x2c - Line Control Register, UARTLCR_H</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartcr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#68-70">source</a><h4 class="code-header">pub fn <a href="#method.uartcr" class="fn">uartcr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTCR.html" title="type rp2040_pac::uart0::UARTCR">UARTCR</a></h4></section></summary><div class="docblock"><p>0x30 - Control Register, UARTCR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartifls" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#73-75">source</a><h4 class="code-header">pub fn <a href="#method.uartifls" class="fn">uartifls</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTIFLS.html" title="type rp2040_pac::uart0::UARTIFLS">UARTIFLS</a></h4></section></summary><div class="docblock"><p>0x34 - Interrupt FIFO Level Select Register, UARTIFLS</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartimsc" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#78-80">source</a><h4 class="code-header">pub fn <a href="#method.uartimsc" class="fn">uartimsc</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTIMSC.html" title="type rp2040_pac::uart0::UARTIMSC">UARTIMSC</a></h4></section></summary><div class="docblock"><p>0x38 - Interrupt Mask Set/Clear Register, UARTIMSC</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartris" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#83-85">source</a><h4 class="code-header">pub fn <a href="#method.uartris" class="fn">uartris</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTRIS.html" title="type rp2040_pac::uart0::UARTRIS">UARTRIS</a></h4></section></summary><div class="docblock"><p>0x3c - Raw Interrupt Status Register, UARTRIS</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartmis" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#88-90">source</a><h4 class="code-header">pub fn <a href="#method.uartmis" class="fn">uartmis</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTMIS.html" title="type rp2040_pac::uart0::UARTMIS">UARTMIS</a></h4></section></summary><div class="docblock"><p>0x40 - Masked Interrupt Status Register, UARTMIS</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uarticr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#93-95">source</a><h4 class="code-header">pub fn <a href="#method.uarticr" class="fn">uarticr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTICR.html" title="type rp2040_pac::uart0::UARTICR">UARTICR</a></h4></section></summary><div class="docblock"><p>0x44 - Interrupt Clear Register, UARTICR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartdmacr" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#98-100">source</a><h4 class="code-header">pub fn <a href="#method.uartdmacr" class="fn">uartdmacr</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTDMACR.html" title="type rp2040_pac::uart0::UARTDMACR">UARTDMACR</a></h4></section></summary><div class="docblock"><p>0x48 - DMA Control Register, UARTDMACR</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartperiphid0" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#103-105">source</a><h4 class="code-header">pub fn <a href="#method.uartperiphid0" class="fn">uartperiphid0</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPERIPHID0.html" title="type rp2040_pac::uart0::UARTPERIPHID0">UARTPERIPHID0</a></h4></section></summary><div class="docblock"><p>0xfe0 - UARTPeriphID0 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartperiphid1" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#108-110">source</a><h4 class="code-header">pub fn <a href="#method.uartperiphid1" class="fn">uartperiphid1</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPERIPHID1.html" title="type rp2040_pac::uart0::UARTPERIPHID1">UARTPERIPHID1</a></h4></section></summary><div class="docblock"><p>0xfe4 - UARTPeriphID1 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartperiphid2" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#113-115">source</a><h4 class="code-header">pub fn <a href="#method.uartperiphid2" class="fn">uartperiphid2</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPERIPHID2.html" title="type rp2040_pac::uart0::UARTPERIPHID2">UARTPERIPHID2</a></h4></section></summary><div class="docblock"><p>0xfe8 - UARTPeriphID2 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartperiphid3" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#118-120">source</a><h4 class="code-header">pub fn <a href="#method.uartperiphid3" class="fn">uartperiphid3</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPERIPHID3.html" title="type rp2040_pac::uart0::UARTPERIPHID3">UARTPERIPHID3</a></h4></section></summary><div class="docblock"><p>0xfec - UARTPeriphID3 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartpcellid0" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#123-125">source</a><h4 class="code-header">pub fn <a href="#method.uartpcellid0" class="fn">uartpcellid0</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPCELLID0.html" title="type rp2040_pac::uart0::UARTPCELLID0">UARTPCELLID0</a></h4></section></summary><div class="docblock"><p>0xff0 - UARTPCellID0 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartpcellid1" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#128-130">source</a><h4 class="code-header">pub fn <a href="#method.uartpcellid1" class="fn">uartpcellid1</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPCELLID1.html" title="type rp2040_pac::uart0::UARTPCELLID1">UARTPCELLID1</a></h4></section></summary><div class="docblock"><p>0xff4 - UARTPCellID1 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartpcellid2" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#133-135">source</a><h4 class="code-header">pub fn <a href="#method.uartpcellid2" class="fn">uartpcellid2</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPCELLID2.html" title="type rp2040_pac::uart0::UARTPCELLID2">UARTPCELLID2</a></h4></section></summary><div class="docblock"><p>0xff8 - UARTPCellID2 Register</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.uartpcellid3" class="method"><a class="src rightside" href="../src/rp2040_pac/uart0.rs.html#138-140">source</a><h4 class="code-header">pub fn <a href="#method.uartpcellid3" class="fn">uartpcellid3</a>(&amp;self) -&gt; &amp;<a class="type" href="uart0/type.UARTPCELLID3.html" title="type rp2040_pac::uart0::UARTPCELLID3">UARTPCELLID3</a></h4></section></summary><div class="docblock"><p>0xffc - UARTPCellID3 Register</p>
</div></details></div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-UART1" class="impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1047-1051">source</a><a href="#impl-Debug-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1048-1050">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.83.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.83.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-UART1" class="impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1040-1046">source</a><a href="#impl-Deref-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1041">source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="uart0/struct.RegisterBlock.html" title="struct rp2040_pac::uart0::RegisterBlock">RegisterBlock</a></h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1043-1045">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><section id="impl-Send-for-UART1" class="impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#1012">source</a><a href="#impl-Send-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-UART1" class="impl"><a href="#impl-Freeze-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section><section id="impl-RefUnwindSafe-for-UART1" class="impl"><a href="#impl-RefUnwindSafe-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section><section id="impl-Sync-for-UART1" class="impl"><a href="#impl-Sync-for-UART1" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section><section id="impl-Unpin-for-UART1" class="impl"><a href="#impl-Unpin-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section><section id="impl-UnwindSafe-for-UART1" class="impl"><a href="#impl-UnwindSafe-for-UART1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#748-750">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#758">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#805-807">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#809">source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#812">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#790-792">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#794">source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#797">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>