rtic/2/api/nrf52840_pac/qspi/index.html

6 lines
15 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="External flash interface"><title>nrf52840_pac::qspi - 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 mod"><!--[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="#">Module qspi</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate nrf52840_<wbr>pac</a></h2></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"><h1>Module <a href="../index.html">nrf52840_pac</a>::<wbr><a class="mod" href="#">qspi</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/nrf52840_pac/qspi.rs.html#1-159">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>External flash interface</p>
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name" id="reexport.READ"><code>pub use read::<a class="struct" href="read/struct.READ.html" title="struct nrf52840_pac::qspi::read::READ">READ</a>;</code></div></li><li><div class="item-name" id="reexport.WRITE"><code>pub use write::<a class="struct" href="write/struct.WRITE.html" title="struct nrf52840_pac::qspi::write::WRITE">WRITE</a>;</code></div></li><li><div class="item-name" id="reexport.ERASE"><code>pub use erase::<a class="struct" href="erase/struct.ERASE.html" title="struct nrf52840_pac::qspi::erase::ERASE">ERASE</a>;</code></div></li><li><div class="item-name" id="reexport.PSEL"><code>pub use psel::<a class="struct" href="psel/struct.PSEL.html" title="struct nrf52840_pac::qspi::psel::PSEL">PSEL</a>;</code></div></li></ul><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="addrconf/index.html" title="mod nrf52840_pac::qspi::addrconf">addrconf</a></div><div class="desc docblock-short">Extended address configuration.</div></li><li><div class="item-name"><a class="mod" href="cinstrconf/index.html" title="mod nrf52840_pac::qspi::cinstrconf">cinstrconf</a></div><div class="desc docblock-short">Custom instruction configuration register.</div></li><li><div class="item-name"><a class="mod" href="cinstrdat0/index.html" title="mod nrf52840_pac::qspi::cinstrdat0">cinstrdat0</a></div><div class="desc docblock-short">Custom instruction data register 0.</div></li><li><div class="item-name"><a class="mod" href="cinstrdat1/index.html" title="mod nrf52840_pac::qspi::cinstrdat1">cinstrdat1</a></div><div class="desc docblock-short">Custom instruction data register 1.</div></li><li><div class="item-name"><a class="mod" href="dpmdur/index.html" title="mod nrf52840_pac::qspi::dpmdur">dpmdur</a></div><div class="desc docblock-short">Set the duration required to enter/exit deep power-down mode (DPM).</div></li><li><div class="item-name"><a class="mod" href="enable/index.html" title="mod nrf52840_pac::qspi::enable">enable</a></div><div class="desc docblock-short">Enable QSPI peripheral and acquire the pins selected in PSELn registers</div></li><li><div class="item-name"><a class="mod" href="erase/index.html" title="mod nrf52840_pac::qspi::erase">erase</a></div><div class="desc docblock-short">Cluster
Unspecified</div></li><li><div class="item-name"><a class="mod" href="events_ready/index.html" title="mod nrf52840_pac::qspi::events_ready">events_<wbr>ready</a></div><div class="desc docblock-short">QSPI peripheral is ready. This event will be generated as a response to any QSPI task.</div></li><li><div class="item-name"><a class="mod" href="ifconfig0/index.html" title="mod nrf52840_pac::qspi::ifconfig0">ifconfig0</a></div><div class="desc docblock-short">Interface configuration.</div></li><li><div class="item-name"><a class="mod" href="ifconfig1/index.html" title="mod nrf52840_pac::qspi::ifconfig1">ifconfig1</a></div><div class="desc docblock-short">Interface configuration.</div></li><li><div class="item-name"><a class="mod" href="iftiming/index.html" title="mod nrf52840_pac::qspi::iftiming">iftiming</a></div><div class="desc docblock-short">SPI interface timing.</div></li><li><div class="item-name"><a class="mod" href="inten/index.html" title="mod nrf52840_pac::qspi::inten">inten</a></div><div class="desc docblock-short">Enable or disable interrupt</div></li><li><div class="item-name"><a class="mod" href="intenclr/index.html" title="mod nrf52840_pac::qspi::intenclr">intenclr</a></div><div class="desc docblock-short">Disable interrupt</div></li><li><div class="item-name"><a class="mod" href="intenset/index.html" title="mod nrf52840_pac::qspi::intenset">intenset</a></div><div class="desc docblock-short">Enable interrupt</div></li><li><div class="item-name"><a class="mod" href="psel/index.html" title="mod nrf52840_pac::qspi::psel">psel</a></div><div class="desc docblock-short">Cluster
Unspecified</div></li><li><div class="item-name"><a class="mod" href="read/index.html" title="mod nrf52840_pac::qspi::read">read</a></div><div class="desc docblock-short">Cluster
Unspecified</div></li><li><div class="item-name"><a class="mod" href="status/index.html" title="mod nrf52840_pac::qspi::status">status</a></div><div class="desc docblock-short">Status register.</div></li><li><div class="item-name"><a class="mod" href="tasks_activate/index.html" title="mod nrf52840_pac::qspi::tasks_activate">tasks_<wbr>activate</a></div><div class="desc docblock-short">Activate QSPI interface</div></li><li><div class="item-name"><a class="mod" href="tasks_deactivate/index.html" title="mod nrf52840_pac::qspi::tasks_deactivate">tasks_<wbr>deactivate</a></div><div class="desc docblock-short">Deactivate QSPI interface</div></li><li><div class="item-name"><a class="mod" href="tasks_erasestart/index.html" title="mod nrf52840_pac::qspi::tasks_erasestart">tasks_<wbr>erasestart</a></div><div class="desc docblock-short">Start external flash memory erase operation</div></li><li><div class="item-name"><a class="mod" href="tasks_readstart/index.html" title="mod nrf52840_pac::qspi::tasks_readstart">tasks_<wbr>readstart</a></div><div class="desc docblock-short">Start transfer from external flash memory to internal RAM</div></li><li><div class="item-name"><a class="mod" href="tasks_writestart/index.html" title="mod nrf52840_pac::qspi::tasks_writestart">tasks_<wbr>writestart</a></div><div class="desc docblock-short">Start transfer from internal RAM to external flash memory</div></li><li><div class="item-name"><a class="mod" href="write/index.html" title="mod nrf52840_pac::qspi::write">write</a></div><div class="desc docblock-short">Cluster
Unspecified</div></li><li><div class="item-name"><a class="mod" href="xipoffset/index.html" title="mod nrf52840_pac::qspi::xipoffset">xipoffset</a></div><div class="desc docblock-short">Address offset into the external memory for Execute in Place operation.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.RegisterBlock.html" title="struct nrf52840_pac::qspi::RegisterBlock">Register<wbr>Block</a></div><div class="desc docblock-short">Register block</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.ADDRCONF.html" title="type nrf52840_pac::qspi::ADDRCONF">ADDRCONF</a></div><div class="desc docblock-short">ADDRCONF (rw) register accessor: an alias for <code>Reg&lt;ADDRCONF_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.CINSTRCONF.html" title="type nrf52840_pac::qspi::CINSTRCONF">CINSTRCONF</a></div><div class="desc docblock-short">CINSTRCONF (rw) register accessor: an alias for <code>Reg&lt;CINSTRCONF_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.CINSTRDAT0.html" title="type nrf52840_pac::qspi::CINSTRDAT0">CINSTRDA<wbr>T0</a></div><div class="desc docblock-short">CINSTRDAT0 (rw) register accessor: an alias for <code>Reg&lt;CINSTRDAT0_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.CINSTRDAT1.html" title="type nrf52840_pac::qspi::CINSTRDAT1">CINSTRDA<wbr>T1</a></div><div class="desc docblock-short">CINSTRDAT1 (rw) register accessor: an alias for <code>Reg&lt;CINSTRDAT1_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.DPMDUR.html" title="type nrf52840_pac::qspi::DPMDUR">DPMDUR</a></div><div class="desc docblock-short">DPMDUR (rw) register accessor: an alias for <code>Reg&lt;DPMDUR_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.ENABLE.html" title="type nrf52840_pac::qspi::ENABLE">ENABLE</a></div><div class="desc docblock-short">ENABLE (rw) register accessor: an alias for <code>Reg&lt;ENABLE_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_READY.html" title="type nrf52840_pac::qspi::EVENTS_READY">EVENT<wbr>S_<wbr>READY</a></div><div class="desc docblock-short">EVENTS_READY (rw) register accessor: an alias for <code>Reg&lt;EVENTS_READY_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.IFCONFIG0.html" title="type nrf52840_pac::qspi::IFCONFIG0">IFCONFI<wbr>G0</a></div><div class="desc docblock-short">IFCONFIG0 (rw) register accessor: an alias for <code>Reg&lt;IFCONFIG0_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.IFCONFIG1.html" title="type nrf52840_pac::qspi::IFCONFIG1">IFCONFI<wbr>G1</a></div><div class="desc docblock-short">IFCONFIG1 (rw) register accessor: an alias for <code>Reg&lt;IFCONFIG1_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.IFTIMING.html" title="type nrf52840_pac::qspi::IFTIMING">IFTIMING</a></div><div class="desc docblock-short">IFTIMING (rw) register accessor: an alias for <code>Reg&lt;IFTIMING_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.INTEN.html" title="type nrf52840_pac::qspi::INTEN">INTEN</a></div><div class="desc docblock-short">INTEN (rw) register accessor: an alias for <code>Reg&lt;INTEN_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.INTENCLR.html" title="type nrf52840_pac::qspi::INTENCLR">INTENCLR</a></div><div class="desc docblock-short">INTENCLR (rw) register accessor: an alias for <code>Reg&lt;INTENCLR_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.INTENSET.html" title="type nrf52840_pac::qspi::INTENSET">INTENSET</a></div><div class="desc docblock-short">INTENSET (rw) register accessor: an alias for <code>Reg&lt;INTENSET_SPEC&gt;</code><