rtic/dev/api/nrf52840_pac/p0/latch/struct.W.html

46 lines
46 KiB
HTML
Raw Permalink 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 `LATCH` writer"><title>W in nrf52840_pac::p0::latch - 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="nrf52840_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="../../../nrf52840_pac/index.html">nrf52840_<wbr>pac</a><span class="version">0.12.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">W</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.bits" title="bits">bits</a></li><li><a href="#method.pin0" title="pin0">pin0</a></li><li><a href="#method.pin1" title="pin1">pin1</a></li><li><a href="#method.pin10" title="pin10">pin10</a></li><li><a href="#method.pin11" title="pin11">pin11</a></li><li><a href="#method.pin12" title="pin12">pin12</a></li><li><a href="#method.pin13" title="pin13">pin13</a></li><li><a href="#method.pin14" title="pin14">pin14</a></li><li><a href="#method.pin15" title="pin15">pin15</a></li><li><a href="#method.pin16" title="pin16">pin16</a></li><li><a href="#method.pin17" title="pin17">pin17</a></li><li><a href="#method.pin18" title="pin18">pin18</a></li><li><a href="#method.pin19" title="pin19">pin19</a></li><li><a href="#method.pin2" title="pin2">pin2</a></li><li><a href="#method.pin20" title="pin20">pin20</a></li><li><a href="#method.pin21" title="pin21">pin21</a></li><li><a href="#method.pin22" title="pin22">pin22</a></li><li><a href="#method.pin23" title="pin23">pin23</a></li><li><a href="#method.pin24" title="pin24">pin24</a></li><li><a href="#method.pin25" title="pin25">pin25</a></li><li><a href="#method.pin26" title="pin26">pin26</a></li><li><a href="#method.pin27" title="pin27">pin27</a></li><li><a href="#method.pin28" title="pin28">pin28</a></li><li><a href="#method.pin29" title="pin29">pin29</a></li><li><a href="#method.pin3" title="pin3">pin3</a></li><li><a href="#method.pin30" title="pin30">pin30</a></li><li><a href="#method.pin31" title="pin31">pin31</a></li><li><a href="#method.pin4" title="pin4">pin4</a></li><li><a href="#method.pin5" title="pin5">pin5</a></li><li><a href="#method.pin6" title="pin6">pin6</a></li><li><a href="#method.pin7" title="pin7">pin7</a></li><li><a href="#method.pin8" title="pin8">pin8</a></
</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-W" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#1799-1966">source</a><a href="#impl-W" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.W.html" title="struct nrf52840_pac::p0::latch::W">W</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/latch.rs.html#1802-1804">source</a><h4 class="code-header">pub fn <a href="#method.pin0" class="fn">pin0</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN0_W.html" title="type nrf52840_pac::p0::latch::PIN0_W">PIN0_W</a>&lt;'_, 0&gt;</h4></section></summary><div class="docblock"><p>Bit 0 - Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write 1 to clear.</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/latch.rs.html#1807-1809">source</a><h4 class="code-header">pub fn <a href="#method.pin1" class="fn">pin1</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN1_W.html" title="type nrf52840_pac::p0::latch::PIN1_W">PIN1_W</a>&lt;'_, 1&gt;</h4></section></summary><div class="docblock"><p>Bit 1 - Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write 1 to clear.</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/latch.rs.html#1812-1814">source</a><h4 class="code-header">pub fn <a href="#method.pin2" class="fn">pin2</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN2_W.html" title="type nrf52840_pac::p0::latch::PIN2_W">PIN2_W</a>&lt;'_, 2&gt;</h4></section></summary><div class="docblock"><p>Bit 2 - Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write 1 to clear.</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/latch.rs.html#1817-1819">source</a><h4 class="code-header">pub fn <a href="#method.pin3" class="fn">pin3</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN3_W.html" title="type nrf52840_pac::p0::latch::PIN3_W">PIN3_W</a>&lt;'_, 3&gt;</h4></section></summary><div class="docblock"><p>Bit 3 - Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write 1 to clear.</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/latch.rs.html#1822-1824">source</a><h4 class="code-header">pub fn <a href="#method.pin4" class="fn">pin4</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN4_W.html" title="type nrf52840_pac::p0::latch::PIN4_W">PIN4_W</a>&lt;'_, 4&gt;</h4></section></summary><div class="docblock"><p>Bit 4 - Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write 1 to clear.</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/latch.rs.html#1827-1829">source</a><h4 class="code-header">pub fn <a href="#method.pin5" class="fn">pin5</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN5_W.html" title="type nrf52840_pac::p0::latch::PIN5_W">PIN5_W</a>&lt;'_, 5&gt;</h4></section></summary><div class="docblock"><p>Bit 5 - Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write 1 to clear.</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/latch.rs.html#1832-1834">source</a><h4 class="code-header">pub fn <a href="#method.pin6" class="fn">pin6</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN6_W.html" title="type nrf52840_pac::p0::latch::PIN6_W">PIN6_W</a>&lt;'_, 6&gt;</h4></section></summary><div class="docblock"><p>Bit 6 - Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write 1 to clear.</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/latch.rs.html#1837-1839">source</a><h4 class="code-header">pub fn <a href="#method.pin7" class="fn">pin7</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN7_W.html" title="type nrf52840_pac::p0::latch::PIN7_W">PIN7_W</a>&lt;'_, 7&gt;</h4></section></summary><div class="docblock"><p>Bit 7 - Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write 1 to clear.</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/latch.rs.html#1842-1844">source</a><h4 class="code-header">pub fn <a href="#method.pin8" class="fn">pin8</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN8_W.html" title="type nrf52840_pac::p0::latch::PIN8_W">PIN8_W</a>&lt;'_, 8&gt;</h4></section></summary><div class="docblock"><p>Bit 8 - Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write 1 to clear.</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/latch.rs.html#1847-1849">source</a><h4 class="code-header">pub fn <a href="#method.pin9" class="fn">pin9</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN9_W.html" title="type nrf52840_pac::p0::latch::PIN9_W">PIN9_W</a>&lt;'_, 9&gt;</h4></section></summary><div class="docblock"><p>Bit 9 - Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write 1 to clear.</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/latch.rs.html#1852-1854">source</a><h4 class="code-header">pub fn <a href="#method.pin10" class="fn">pin10</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN10_W.html" title="type nrf52840_pac::p0::latch::PIN10_W">PIN10_W</a>&lt;'_, 10&gt;</h4></section></summary><div class="docblock"><p>Bit 10 - Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write 1 to clear.</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/latch.rs.html#1857-1859">source</a><h4 class="code-header">pub fn <a href="#method.pin11" class="fn">pin11</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN11_W.html" title="type nrf52840_pac::p0::latch::PIN11_W">PIN11_W</a>&lt;'_, 11&gt;</h4></section></summary><div class="docblock"><p>Bit 11 - Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write 1 to clear.</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/latch.rs.html#1862-1864">source</a><h4 class="code-header">pub fn <a href="#method.pin12" class="fn">pin12</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN12_W.html" title="type nrf52840_pac::p0::latch::PIN12_W">PIN12_W</a>&lt;'_, 12&gt;</h4></section></summary><div class="docblock"><p>Bit 12 - Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write 1 to clear.</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/latch.rs.html#1867-1869">source</a><h4 class="code-header">pub fn <a href="#method.pin13" class="fn">pin13</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN13_W.html" title="type nrf52840_pac::p0::latch::PIN13_W">PIN13_W</a>&lt;'_, 13&gt;</h4></section></summary><div class="docblock"><p>Bit 13 - Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write 1 to clear.</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/latch.rs.html#1872-1874">source</a><h4 class="code-header">pub fn <a href="#method.pin14" class="fn">pin14</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN14_W.html" title="type nrf52840_pac::p0::latch::PIN14_W">PIN14_W</a>&lt;'_, 14&gt;</h4></section></summary><div class="docblock"><p>Bit 14 - Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write 1 to clear.</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/latch.rs.html#1877-1879">source</a><h4 class="code-header">pub fn <a href="#method.pin15" class="fn">pin15</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN15_W.html" title="type nrf52840_pac::p0::latch::PIN15_W">PIN15_W</a>&lt;'_, 15&gt;</h4></section></summary><div class="docblock"><p>Bit 15 - Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write 1 to clear.</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/latch.rs.html#1882-1884">source</a><h4 class="code-header">pub fn <a href="#method.pin16" class="fn">pin16</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN16_W.html" title="type nrf52840_pac::p0::latch::PIN16_W">PIN16_W</a>&lt;'_, 16&gt;</h4></section></summary><div class="docblock"><p>Bit 16 - Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write 1 to clear.</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/latch.rs.html#1887-1889">source</a><h4 class="code-header">pub fn <a href="#method.pin17" class="fn">pin17</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN17_W.html" title="type nrf52840_pac::p0::latch::PIN17_W">PIN17_W</a>&lt;'_, 17&gt;</h4></section></summary><div class="docblock"><p>Bit 17 - Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write 1 to clear.</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/latch.rs.html#1892-1894">source</a><h4 class="code-header">pub fn <a href="#method.pin18" class="fn">pin18</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN18_W.html" title="type nrf52840_pac::p0::latch::PIN18_W">PIN18_W</a>&lt;'_, 18&gt;</h4></section></summary><div class="docblock"><p>Bit 18 - Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write 1 to clear.</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/latch.rs.html#1897-1899">source</a><h4 class="code-header">pub fn <a href="#method.pin19" class="fn">pin19</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN19_W.html" title="type nrf52840_pac::p0::latch::PIN19_W">PIN19_W</a>&lt;'_, 19&gt;</h4></section></summary><div class="docblock"><p>Bit 19 - Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write 1 to clear.</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/latch.rs.html#1902-1904">source</a><h4 class="code-header">pub fn <a href="#method.pin20" class="fn">pin20</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN20_W.html" title="type nrf52840_pac::p0::latch::PIN20_W">PIN20_W</a>&lt;'_, 20&gt;</h4></section></summary><div class="docblock"><p>Bit 20 - Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write 1 to clear.</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/latch.rs.html#1907-1909">source</a><h4 class="code-header">pub fn <a href="#method.pin21" class="fn">pin21</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN21_W.html" title="type nrf52840_pac::p0::latch::PIN21_W">PIN21_W</a>&lt;'_, 21&gt;</h4></section></summary><div class="docblock"><p>Bit 21 - Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write 1 to clear.</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/latch.rs.html#1912-1914">source</a><h4 class="code-header">pub fn <a href="#method.pin22" class="fn">pin22</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN22_W.html" title="type nrf52840_pac::p0::latch::PIN22_W">PIN22_W</a>&lt;'_, 22&gt;</h4></section></summary><div class="docblock"><p>Bit 22 - Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write 1 to clear.</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/latch.rs.html#1917-1919">source</a><h4 class="code-header">pub fn <a href="#method.pin23" class="fn">pin23</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN23_W.html" title="type nrf52840_pac::p0::latch::PIN23_W">PIN23_W</a>&lt;'_, 23&gt;</h4></section></summary><div class="docblock"><p>Bit 23 - Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write 1 to clear.</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/latch.rs.html#1922-1924">source</a><h4 class="code-header">pub fn <a href="#method.pin24" class="fn">pin24</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN24_W.html" title="type nrf52840_pac::p0::latch::PIN24_W">PIN24_W</a>&lt;'_, 24&gt;</h4></section></summary><div class="docblock"><p>Bit 24 - Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write 1 to clear.</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/latch.rs.html#1927-1929">source</a><h4 class="code-header">pub fn <a href="#method.pin25" class="fn">pin25</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN25_W.html" title="type nrf52840_pac::p0::latch::PIN25_W">PIN25_W</a>&lt;'_, 25&gt;</h4></section></summary><div class="docblock"><p>Bit 25 - Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write 1 to clear.</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/latch.rs.html#1932-1934">source</a><h4 class="code-header">pub fn <a href="#method.pin26" class="fn">pin26</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN26_W.html" title="type nrf52840_pac::p0::latch::PIN26_W">PIN26_W</a>&lt;'_, 26&gt;</h4></section></summary><div class="docblock"><p>Bit 26 - Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write 1 to clear.</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/latch.rs.html#1937-1939">source</a><h4 class="code-header">pub fn <a href="#method.pin27" class="fn">pin27</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN27_W.html" title="type nrf52840_pac::p0::latch::PIN27_W">PIN27_W</a>&lt;'_, 27&gt;</h4></section></summary><div class="docblock"><p>Bit 27 - Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write 1 to clear.</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/latch.rs.html#1942-1944">source</a><h4 class="code-header">pub fn <a href="#method.pin28" class="fn">pin28</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN28_W.html" title="type nrf52840_pac::p0::latch::PIN28_W">PIN28_W</a>&lt;'_, 28&gt;</h4></section></summary><div class="docblock"><p>Bit 28 - Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write 1 to clear.</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/latch.rs.html#1947-1949">source</a><h4 class="code-header">pub fn <a href="#method.pin29" class="fn">pin29</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN29_W.html" title="type nrf52840_pac::p0::latch::PIN29_W">PIN29_W</a>&lt;'_, 29&gt;</h4></section></summary><div class="docblock"><p>Bit 29 - Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write 1 to clear.</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/latch.rs.html#1952-1954">source</a><h4 class="code-header">pub fn <a href="#method.pin30" class="fn">pin30</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN30_W.html" title="type nrf52840_pac::p0::latch::PIN30_W">PIN30_W</a>&lt;'_, 30&gt;</h4></section></summary><div class="docblock"><p>Bit 30 - Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write 1 to clear.</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/latch.rs.html#1957-1959">source</a><h4 class="code-header">pub fn <a href="#method.pin31" class="fn">pin31</a>(&amp;mut self) -&gt; <a class="type" href="type.PIN31_W.html" title="type nrf52840_pac::p0::latch::PIN31_W">PIN31_W</a>&lt;'_, 31&gt;</h4></section></summary><div class="docblock"><p>Bit 31 - Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write 1 to clear.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.bits" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#1962-1965">source</a><h4 class="code-header">pub unsafe fn <a href="#method.bits" class="fn">bits</a>(&amp;mut self, bits: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.u32.html">u32</a>) -&gt; &amp;mut Self</h4></section></summary><div class="docblock"><p>Writes raw bits to the register.</p>
</div></details></div></details></div><details class="toggle big-toggle" open><summary><h2 id="deref-methods-W%3CLATCH_SPEC%3E" 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="../../generic/struct.W.html" title="struct nrf52840_pac::generic::W">W</a>&lt;<a class="struct" href="struct.LATCH_SPEC.html" title="struct nrf52840_pac::p0::latch::LATCH_SPEC">LATCH_SPEC</a>&gt;&gt;</span><a href="#deref-methods-W%3CLATCH_SPEC%3E" class="anchor">§</a></h2></summary><div id="deref-methods-W%3CLATCH_SPEC%3E-1" class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bits-1" class="method"><a class="src rightside" href="../../../src/nrf52840_pac/generic.rs.html#219-222">source</a><h4 class="code-header">pub unsafe fn <a href="#method.bits-1" class="fn">bits</a>(&amp;mut self, bits: REG::<a class="associatedtype" href="../../generic/trait.RegisterSpec.html#associatedtype.Ux" title="type nrf52840_pac::generic::RegisterSpec::Ux">Ux</a>) -&gt; &amp;mut Self</h4></section></summary><div class="docblock"><p>Writes raw bits to the 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-Deref-for-W" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#18-24">source</a><a href="#impl-Deref-for-W" 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.W.html" title="struct nrf52840_pac::p0::latch::W">W</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/latch.rs.html#19">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="../../generic/struct.W.html" title="struct nrf52840_pac::generic::W">W</a>&lt;<a class="struct" href="struct.LATCH_SPEC.html" title="struct nrf52840_pac::p0::latch::LATCH_SPEC">LATCH_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/latch.rs.html#21-23">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><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-W" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#25-30">source</a><a href="#impl-DerefMut-for-W" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.W.html" title="struct nrf52840_pac::p0::latch::W">W</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#27-29">source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&amp;mut self) -&gt; &amp;mut 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'>Mutably dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CW%3CLATCH_SPEC%3E%3E-for-W" class="impl"><a class="src rightside" href="../../../src/nrf52840_pac/p0/latch.rs.html#31-36">source</a><a href="#impl-From%3CW%3CLATCH_SPEC%3E%3E-for-W" class="anchor">§</a><h3 class="code-header">impl <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;<a class="struct" href="../../generic/struct.W.html" title="struct nrf52840_pac::generic::W">W</a>&lt;<a class="struct" href="struct.LATCH_SPEC.html" title="struct nrf52840_pac::p0::latch::LATCH_SPEC"
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-1" 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-1" 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>