rtic/stable/api/nrf52840_pac/pdm/index.html
github-merge-queue[bot] e04fb16c1b deploy: bbc37ca3fe
2025-11-12 19:06:49 +00:00

4 lines
No EOL
9.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="Pulse Density Modulation (Digital Microphone) Interface"><title>nrf52840_pac::pdm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-e56847b5.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.91.1 (ed61e7d7e 2025-11-07)" data-channel="1.91.1" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-c3e638e9.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-6dc2a7f3.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.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]--><rustdoc-topbar><h2><a href="#">Module pdm</a></h2></rustdoc-topbar><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="#">Module pdm</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate nrf52840_<wbr>pac</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">nrf52840_pac</a></div><h1>Module <span>pdm</span>&nbsp;<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/nrf52840_pac/pdm.rs.html#1-108">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Pulse Density Modulation (Digital Microphone) Interface</p>
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.PSEL"><code>pub use psel::<a class="struct" href="psel/struct.PSEL.html" title="struct nrf52840_pac::pdm::psel::PSEL">PSEL</a>;</code></dt><dt id="reexport.SAMPLE"><code>pub use sample::<a class="struct" href="sample/struct.SAMPLE.html" title="struct nrf52840_pac::pdm::sample::SAMPLE">SAMPLE</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="enable/index.html" title="mod nrf52840_pac::pdm::enable">enable</a></dt><dd>PDM module enable register</dd><dt><a class="mod" href="events_end/index.html" title="mod nrf52840_pac::pdm::events_end">events_<wbr>end</a></dt><dd>The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM</dd><dt><a class="mod" href="events_started/index.html" title="mod nrf52840_pac::pdm::events_started">events_<wbr>started</a></dt><dd>PDM transfer has started</dd><dt><a class="mod" href="events_stopped/index.html" title="mod nrf52840_pac::pdm::events_stopped">events_<wbr>stopped</a></dt><dd>PDM transfer has finished</dd><dt><a class="mod" href="gainl/index.html" title="mod nrf52840_pac::pdm::gainl">gainl</a></dt><dd>Left output gain adjustment</dd><dt><a class="mod" href="gainr/index.html" title="mod nrf52840_pac::pdm::gainr">gainr</a></dt><dd>Right output gain adjustment</dd><dt><a class="mod" href="inten/index.html" title="mod nrf52840_pac::pdm::inten">inten</a></dt><dd>Enable or disable interrupt</dd><dt><a class="mod" href="intenclr/index.html" title="mod nrf52840_pac::pdm::intenclr">intenclr</a></dt><dd>Disable interrupt</dd><dt><a class="mod" href="intenset/index.html" title="mod nrf52840_pac::pdm::intenset">intenset</a></dt><dd>Enable interrupt</dd><dt><a class="mod" href="mode/index.html" title="mod nrf52840_pac::pdm::mode">mode</a></dt><dd>Defines the routing of the connected PDM microphones signals</dd><dt><a class="mod" href="pdmclkctrl/index.html" title="mod nrf52840_pac::pdm::pdmclkctrl">pdmclkctrl</a></dt><dd>PDM clock generator control</dd><dt><a class="mod" href="psel/index.html" title="mod nrf52840_pac::pdm::psel">psel</a></dt><dd>Cluster
Unspecified</dd><dt><a class="mod" href="ratio/index.html" title="mod nrf52840_pac::pdm::ratio">ratio</a></dt><dd>Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly.</dd><dt><a class="mod" href="sample/index.html" title="mod nrf52840_pac::pdm::sample">sample</a></dt><dd>Cluster
Unspecified</dd><dt><a class="mod" href="tasks_start/index.html" title="mod nrf52840_pac::pdm::tasks_start">tasks_<wbr>start</a></dt><dd>Starts continuous PDM transfer</dd><dt><a class="mod" href="tasks_stop/index.html" title="mod nrf52840_pac::pdm::tasks_stop">tasks_<wbr>stop</a></dt><dd>Stops PDM transfer</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.RegisterBlock.html" title="struct nrf52840_pac::pdm::RegisterBlock">Register<wbr>Block</a></dt><dd>Register block</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.ENABLE.html" title="type nrf52840_pac::pdm::ENABLE">ENABLE</a></dt><dd>ENABLE (rw) register accessor: an alias for <code>Reg&lt;ENABLE_SPEC&gt;</code></dd><dt><a class="type" href="type.EVENTS_END.html" title="type nrf52840_pac::pdm::EVENTS_END">EVENTS_<wbr>END</a></dt><dd>EVENTS_END (rw) register accessor: an alias for <code>Reg&lt;EVENTS_END_SPEC&gt;</code></dd><dt><a class="type" href="type.EVENTS_STARTED.html" title="type nrf52840_pac::pdm::EVENTS_STARTED">EVENTS_<wbr>STARTED</a></dt><dd>EVENTS_STARTED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_STARTED_SPEC&gt;</code></dd><dt><a class="type" href="type.EVENTS_STOPPED.html" title="type nrf52840_pac::pdm::EVENTS_STOPPED">EVENTS_<wbr>STOPPED</a></dt><dd>EVENTS_STOPPED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_STOPPED_SPEC&gt;</code></dd><dt><a class="type" href="type.GAINL.html" title="type nrf52840_pac::pdm::GAINL">GAINL</a></dt><dd>GAINL (rw) register accessor: an alias for <code>Reg&lt;GAINL_SPEC&gt;</code></dd><dt><a class="type" href="type.GAINR.html" title="type nrf52840_pac::pdm::GAINR">GAINR</a></dt><dd>GAINR (rw) register accessor: an alias for <code>Reg&lt;GAINR_SPEC&gt;</code></dd><dt><a class="type" href="type.INTEN.html" title="type nrf52840_pac::pdm::INTEN">INTEN</a></dt><dd>INTEN (rw) register accessor: an alias for <code>Reg&lt;INTEN_SPEC&gt;</code></dd><dt><a class="type" href="type.INTENCLR.html" title="type nrf52840_pac::pdm::INTENCLR">INTENCLR</a></dt><dd>INTENCLR (rw) register accessor: an alias for <code>Reg&lt;INTENCLR_SPEC&gt;</code></dd><dt><a class="type" href="type.INTENSET.html" title="type nrf52840_pac::pdm::INTENSET">INTENSET</a></dt><dd>INTENSET (rw) register accessor: an alias for <code>Reg&lt;INTENSET_SPEC&gt;</code></dd><dt><a class="type" href="type.MODE.html" title="type nrf52840_pac::pdm::MODE">MODE</a></dt><dd>MODE (rw) register accessor: an alias for <code>Reg&lt;MODE_SPEC&gt;</code></dd><dt><a class="type" href="type.PDMCLKCTRL.html" title="type nrf52840_pac::pdm::PDMCLKCTRL">PDMCLKCTRL</a></dt><dd>PDMCLKCTRL (rw) register accessor: an alias for <code>Reg&lt;PDMCLKCTRL_SPEC&gt;</code></dd><dt><a class="type" href="type.RATIO.html" title="type nrf52840_pac::pdm::RATIO">RATIO</a></dt><dd>RATIO (rw) register accessor: an alias for <code>Reg&lt;RATIO_SPEC&gt;</code></dd><dt><a class="type" href="type.TASKS_START.html" title="type nrf52840_pac::pdm::TASKS_START">TASKS_<wbr>START</a></dt><dd>TASKS_START (w) register accessor: an alias for <code>Reg&lt;TASKS_START_SPEC&gt;</code></dd><dt><a class="type" href="type.TASKS_STOP.html" title="type nrf52840_pac::pdm::TASKS_STOP">TASKS_<wbr>STOP</a></dt><dd>TASKS_STOP (w) register accessor: an alias for <code>Reg&lt;TASKS_STOP_SPEC&gt;</code></dd></dl></section></div></main></body></html>