rtic/dev/api/nrf52840_pac/p0/dir/struct.R.html

45 lines
39 KiB
HTML
Raw Normal View History

<!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="Register `DIR` reader"><title>R in nrf52840_pac::p0::dir - 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-492a78a4a87dcc01.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="nrf52840_pac" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0 (f6e511eec 2024-10-15)" data-channel="1.82.0" data-search-js="search-a99f1315e7cc5121.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-921df33f47b8780c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-3b12f09e550e0385.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="../../../nrf52840_pac/index.html">nrf52840_<wbr>pac</a><span class="version">0.12.2</span></h2></div><h2 class="location"><a href="#">R</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.pin0">pin0</a></li><li><a href="#method.pin1">pin1</a></li><li><a href="#method.pin10">pin10</a></li><li><a href="#method.pin11">pin11</a></li><li><a href="#method.pin12">pin12</a></li><li><a href="#method.pin13">pin13</a></li><li><a href="#method.pin14">pin14</a></li><li><a href="#method.pin15">pin15</a></li><li><a href="#method.pin16">pin16</a></li><li><a href="#method.pin17">pin17</a></li><li><a href="#method.pin18">pin18</a></li><li><a href="#method.pin19">pin19</a></li><li><a href="#method.pin2">pin2</a></li><li><a href="#method.pin20">pin20</a></li><li><a href="#method.pin21">pin21</a></li><li><a href="#method.pin22">pin22</a></li><li><a href="#method.pin23">pin23</a></li><li><a href="#method.pin24">pin24</a></li><li><a href="#method.pin25">pin25</a></li><li><a href="#method.pin26">pin26</a></li><li><a href="#method.pin27">pin27</a></li><li><a href="#method.pin28">pin28</a></li><li><a href="#method.pin29">pin29</a></li><li><a href="#method.pin3">pin3</a></li><li><a href="#method.pin30">pin30</a></li><li><a href="#method.pin31">pin31</a></li><li><a href="#method.pin4">pin4</a></li><li><a href="#method.pin5">pin5</a></li><li><a href="#method.pin6">pin6</a></li><li><a href="#method.pin7">pin7</a></li><li><a href="#method.pin8">pin8</a></li><li><a href="#method.pin9">pin9</a></li></ul><h3><a href="#deref-methods-R%3CDIR_SPEC%3E">Methods from Deref&lt;<wbr>Target=<wbr>R&lt;DI<wbr>R_<wbr>SPEC&gt;&gt;</a></h3><ul class="block deref-methods"><li><a href="#method.bits">bits</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Deref-for-R">Deref</a></li><li><a href="#impl-From%3CR%3CDIR_SPEC%3E%3E-for-R">From&#60;R&#60;DIR_SPEC&#62;&#62;</a></li></ul
</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-R" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1637-1798">source</a><a href="#impl-R" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.R.html" title="struct nrf52840_pac::p0::dir::R">R</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pin0" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1640-1642">source</a><h4 class="code-header">pub fn <a href="#method.pin0" class="fn">pin0</a>(&amp;self) -&gt; <a class="type" href="type.PIN0_R.html" title="type nrf52840_pac::p0::dir::PIN0_R">PIN0_R</a></h4></section></summary><div class="docblock"><p>Bit 0 - Pin 0</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin1" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1645-1647">source</a><h4 class="code-header">pub fn <a href="#method.pin1" class="fn">pin1</a>(&amp;self) -&gt; <a class="type" href="type.PIN1_R.html" title="type nrf52840_pac::p0::dir::PIN1_R">PIN1_R</a></h4></section></summary><div class="docblock"><p>Bit 1 - Pin 1</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin2" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1650-1652">source</a><h4 class="code-header">pub fn <a href="#method.pin2" class="fn">pin2</a>(&amp;self) -&gt; <a class="type" href="type.PIN2_R.html" title="type nrf52840_pac::p0::dir::PIN2_R">PIN2_R</a></h4></section></summary><div class="docblock"><p>Bit 2 - Pin 2</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin3" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1655-1657">source</a><h4 class="code-header">pub fn <a href="#method.pin3" class="fn">pin3</a>(&amp;self) -&gt; <a class="type" href="type.PIN3_R.html" title="type nrf52840_pac::p0::dir::PIN3_R">PIN3_R</a></h4></section></summary><div class="docblock"><p>Bit 3 - Pin 3</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin4" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1660-1662">source</a><h4 class="code-header">pub fn <a href="#method.pin4" class="fn">pin4</a>(&amp;self) -&gt; <a class="type" href="type.PIN4_R.html" title="type nrf52840_pac::p0::dir::PIN4_R">PIN4_R</a></h4></section></summary><div class="docblock"><p>Bit 4 - Pin 4</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin5" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1665-1667">source</a><h4 class="code-header">pub fn <a href="#method.pin5" class="fn">pin5</a>(&amp;self) -&gt; <a class="type" href="type.PIN5_R.html" title="type nrf52840_pac::p0::dir::PIN5_R">PIN5_R</a></h4></section></summary><div class="docblock"><p>Bit 5 - Pin 5</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin6" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1670-1672">source</a><h4 class="code-header">pub fn <a href="#method.pin6" class="fn">pin6</a>(&amp;self) -&gt; <a class="type" href="type.PIN6_R.html" title="type nrf52840_pac::p0::dir::PIN6_R">PIN6_R</a></h4></section></summary><div class="docblock"><p>Bit 6 - Pin 6</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin7" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1675-1677">source</a><h4 class="code-header">pub fn <a href="#method.pin7" class="fn">pin7</a>(&amp;self) -&gt; <a class="type" href="type.PIN7_R.html" title="type nrf52840_pac::p0::dir::PIN7_R">PIN7_R</a></h4></section></summary><div class="docblock"><p>Bit 7 - Pin 7</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin8" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1680-1682">source</a><h4 class="code-header">pub fn <a href="#method.pin8" class="fn">pin8</a>(&amp;self) -&gt; <a class="type" href="type.PIN8_R.html" title="type nrf52840_pac::p0::dir::PIN8_R">PIN8_R</a></h4></section></summary><div class="docblock"><p>Bit 8 - Pin 8</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin9" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1685-1687">source</a><h4 class="code-header">pub fn <a href="#method.pin9" class="fn">pin9</a>(&amp;self) -&gt; <a class="type" href="type.PIN9_R.html" title="type nrf52840_pac::p0::dir::PIN9_R">PIN9_R</a></h4></section></summary><div class="docblock"><p>Bit 9 - Pin 9</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin10" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1690-1692">source</a><h4 class="code-header">pub fn <a href="#method.pin10" class="fn">pin10</a>(&amp;self) -&gt; <a class="type" href="type.PIN10_R.html" title="type nrf52840_pac::p0::dir::PIN10_R">PIN10_R</a></h4></section></summary><div class="docblock"><p>Bit 10 - Pin 10</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin11" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1695-1697">source</a><h4 class="code-header">pub fn <a href="#method.pin11" class="fn">pin11</a>(&amp;self) -&gt; <a class="type" href="type.PIN11_R.html" title="type nrf52840_pac::p0::dir::PIN11_R">PIN11_R</a></h4></section></summary><div class="docblock"><p>Bit 11 - Pin 11</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin12" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1700-1702">source</a><h4 class="code-header">pub fn <a href="#method.pin12" class="fn">pin12</a>(&amp;self) -&gt; <a class="type" href="type.PIN12_R.html" title="type nrf52840_pac::p0::dir::PIN12_R">PIN12_R</a></h4></section></summary><div class="docblock"><p>Bit 12 - Pin 12</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin13" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1705-1707">source</a><h4 class="code-header">pub fn <a href="#method.pin13" class="fn">pin13</a>(&amp;self) -&gt; <a class="type" href="type.PIN13_R.html" title="type nrf52840_pac::p0::dir::PIN13_R">PIN13_R</a></h4></section></summary><div class="docblock"><p>Bit 13 - Pin 13</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin14" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1710-1712">source</a><h4 class="code-header">pub fn <a href="#method.pin14" class="fn">pin14</a>(&amp;self) -&gt; <a class="type" href="type.PIN14_R.html" title="type nrf52840_pac::p0::dir::PIN14_R">PIN14_R</a></h4></section></summary><div class="docblock"><p>Bit 14 - Pin 14</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin15" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1715-1717">source</a><h4 class="code-header">pub fn <a href="#method.pin15" class="fn">pin15</a>(&amp;self) -&gt; <a class="type" href="type.PIN15_R.html" title="type nrf52840_pac::p0::dir::PIN15_R">PIN15_R</a></h4></section></summary><div class="docblock"><p>Bit 15 - Pin 15</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin16" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1720-1722">source</a><h4 class="code-header">pub fn <a href="#method.pin16" class="fn">pin16</a>(&amp;self) -&gt; <a class="type" href="type.PIN16_R.html" title="type nrf52840_pac::p0::dir::PIN16_R">PIN16_R</a></h4></section></summary><div class="docblock"><p>Bit 16 - Pin 16</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin17" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1725-1727">source</a><h4 class="code-header">pub fn <a href="#method.pin17" class="fn">pin17</a>(&amp;self) -&gt; <a class="type" href="type.PIN17_R.html" title="type nrf52840_pac::p0::dir::PIN17_R">PIN17_R</a></h4></section></summary><div class="docblock"><p>Bit 17 - Pin 17</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin18" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1730-1732">source</a><h4 class="code-header">pub fn <a href="#method.pin18" class="fn">pin18</a>(&amp;self) -&gt; <a class="type" href="type.PIN18_R.html" title="type nrf52840_pac::p0::dir::PIN18_R">PIN18_R</a></h4></section></summary><div class="docblock"><p>Bit 18 - Pin 18</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin19" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1735-1737">source</a><h4 class="code-header">pub fn <a href="#method.pin19" class="fn">pin19</a>(&amp;self) -&gt; <a class="type" href="type.PIN19_R.html" title="type nrf52840_pac::p0::dir::PIN19_R">PIN19_R</a></h4></section></summary><div class="docblock"><p>Bit 19 - Pin 19</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin20" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1740-1742">source</a><h4 class="code-header">pub fn <a href="#method.pin20" class="fn">pin20</a>(&amp;self) -&gt; <a class="type" href="type.PIN20_R.html" title="type nrf52840_pac::p0::dir::PIN20_R">PIN20_R</a></h4></section></summary><div class="docblock"><p>Bit 20 - Pin 20</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin21" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1745-1747">source</a><h4 class="code-header">pub fn <a href="#method.pin21" class="fn">pin21</a>(&amp;self) -&gt; <a class="type" href="type.PIN21_R.html" title="type nrf52840_pac::p0::dir::PIN21_R">PIN21_R</a></h4></section></summary><div class="docblock"><p>Bit 21 - Pin 21</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin22" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1750-1752">source</a><h4 class="code-header">pub fn <a href="#method.pin22" class="fn">pin22</a>(&amp;self) -&gt; <a class="type" href="type.PIN22_R.html" title="type nrf52840_pac::p0::dir::PIN22_R">PIN22_R</a></h4></section></summary><div class="docblock"><p>Bit 22 - Pin 22</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin23" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1755-1757">source</a><h4 class="code-header">pub fn <a href="#method.pin23" class="fn">pin23</a>(&amp;self) -&gt; <a class="type" href="type.PIN23_R.html" title="type nrf52840_pac::p0::dir::PIN23_R">PIN23_R</a></h4></section></summary><div class="docblock"><p>Bit 23 - Pin 23</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin24" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1760-1762">source</a><h4 class="code-header">pub fn <a href="#method.pin24" class="fn">pin24</a>(&amp;self) -&gt; <a class="type" href="type.PIN24_R.html" title="type nrf52840_pac::p0::dir::PIN24_R">PIN24_R</a></h4></section></summary><div class="docblock"><p>Bit 24 - Pin 24</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin25" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1765-1767">source</a><h4 class="code-header">pub fn <a href="#method.pin25" class="fn">pin25</a>(&amp;self) -&gt; <a class="type" href="type.PIN25_R.html" title="type nrf52840_pac::p0::dir::PIN25_R">PIN25_R</a></h4></section></summary><div class="docblock"><p>Bit 25 - Pin 25</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin26" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1770-1772">source</a><h4 class="code-header">pub fn <a href="#method.pin26" class="fn">pin26</a>(&amp;self) -&gt; <a class="type" href="type.PIN26_R.html" title="type nrf52840_pac::p0::dir::PIN26_R">PIN26_R</a></h4></section></summary><div class="docblock"><p>Bit 26 - Pin 26</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin27" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1775-1777">source</a><h4 class="code-header">pub fn <a href="#method.pin27" class="fn">pin27</a>(&amp;self) -&gt; <a class="type" href="type.PIN27_R.html" title="type nrf52840_pac::p0::dir::PIN27_R">PIN27_R</a></h4></section></summary><div class="docblock"><p>Bit 27 - Pin 27</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin28" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1780-1782">source</a><h4 class="code-header">pub fn <a href="#method.pin28" class="fn">pin28</a>(&amp;self) -&gt; <a class="type" href="type.PIN28_R.html" title="type nrf52840_pac::p0::dir::PIN28_R">PIN28_R</a></h4></section></summary><div class="docblock"><p>Bit 28 - Pin 28</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin29" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1785-1787">source</a><h4 class="code-header">pub fn <a href="#method.pin29" class="fn">pin29</a>(&amp;self) -&gt; <a class="type" href="type.PIN29_R.html" title="type nrf52840_pac::p0::dir::PIN29_R">PIN29_R</a></h4></section></summary><div class="docblock"><p>Bit 29 - Pin 29</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin30" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1790-1792">source</a><h4 class="code-header">pub fn <a href="#method.pin30" class="fn">pin30</a>(&amp;self) -&gt; <a class="type" href="type.PIN30_R.html" title="type nrf52840_pac::p0::dir::PIN30_R">PIN30_R</a></h4></section></summary><div class="docblock"><p>Bit 30 - Pin 30</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pin31" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#1795-1797">source</a><h4 class="code-header">pub fn <a href="#method.pin31" class="fn">pin31</a>(&amp;self) -&gt; <a class="type" href="type.PIN31_R.html" title="type nrf52840_pac::p0::dir::PIN31_R">PIN31_R</a></h4></section></summary><div class="docblock"><p>Bit 31 - Pin 31</p>
</div></details></div></details></div><h2 id="deref-methods-R%3CDIR_SPEC%3E" class="section-header"><span>Methods from <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="../../generic/struct.R.html" title="struct nrf52840_pac::generic::R">R</a>&lt;<a class="struct" href="struct.DIR_SPEC.html" title="struct nrf52840_pac::p0::dir::DIR_SPEC">DIR_SPEC</a>&gt;&gt;</span><a href="#deref-methods-R%3CDIR_SPEC%3E" class="anchor">§</a></h2><div id="deref-methods-R%3CDIR_SPEC%3E-1" class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bits" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/generic.rs.html#194-196">source</a><h4 class="code-header">pub fn <a href="#method.bits" class="fn">bits</a>(&amp;self) -&gt; REG::<a class="associatedtype" href="../../generic/trait.RegisterSpec.html#associatedtype.Ux" title="type nrf52840_pac::generic::RegisterSpec::Ux">Ux</a></h4></section></summary><div class="docblock"><p>Reads raw bits from register.</p>
</div></details></div><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-Deref-for-R" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#3-9">source</a><a href="#impl-Deref-for-R" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.R.html" title="struct nrf52840_pac::p0::dir::R">R</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/nrf52840_pac/p0/dir.rs.html#4">source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.82.0/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../../generic/struct.R.html" title="struct nrf52840_pac::generic::R">R</a>&lt;<a class="struct" href="struct.DIR_SPEC.html" title="struct nrf52840_pac::p0::dir::DIR_SPEC">DIR_SPEC</a>&gt;</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/nrf52840_pac/p0/dir.rs.html#6-8">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.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.82.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><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CR%3CDIR_SPEC%3E%3E-for-R" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/dir.rs.html#10-15">source</a><a href="#impl-From%3CR%3CDIR_SPEC%3E%3E-for-R" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../generic/struct.R.html" title="struct nrf52840_pac::generic::R">R</a>&lt;<a class="struct" href="struct.DIR_SPEC.html" title="struct nrf52840_pac::p0::dir::DIR_SPEC">DIR_SPEC</a>&gt;&gt; for <a class="struct" href="struct.R.html" title="struct nrf52840_pac::p0::dir::R">R</a></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="../../../src/nrf52840_pac/p0/dir.rs.html#12-14">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(reader: <a class="struct" href="../../generic/struct.R.html" title="struct nrf52840_pac::generic::R">R</a>&lt;<a class="struct" href="struct.DIR_SPEC.html" title="struct nrf52840_pac::p0::dir::DIR_SPEC">DIR_SPEC</a>&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></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-R" class="impl"><a href="#impl-Freeze-for-R" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Fre
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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.82.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>