rtic/2/api/nrf52840_pac/clock/index.html
2024-10-24 05:57:30 +00:00

2 lines
No EOL
16 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Clock control"><title>nrf52840_pac::clock - 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 clock</a></h2><div class="sidebar-elems"><section><ul class="block"><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="#">clock</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/clock.rs.html#1-165">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>Clock control</p>
</div></details><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="ctiv/index.html" title="mod nrf52840_pac::clock::ctiv">ctiv</a></div><div class="desc docblock-short">Calibration timer interval</div></li><li><div class="item-name"><a class="mod" href="events_ctstarted/index.html" title="mod nrf52840_pac::clock::events_ctstarted">events_<wbr>ctstarted</a></div><div class="desc docblock-short">Calibration timer has been started and is ready to process new tasks</div></li><li><div class="item-name"><a class="mod" href="events_ctstopped/index.html" title="mod nrf52840_pac::clock::events_ctstopped">events_<wbr>ctstopped</a></div><div class="desc docblock-short">Calibration timer has been stopped and is ready to process new tasks</div></li><li><div class="item-name"><a class="mod" href="events_ctto/index.html" title="mod nrf52840_pac::clock::events_ctto">events_<wbr>ctto</a></div><div class="desc docblock-short">Calibration timer timeout</div></li><li><div class="item-name"><a class="mod" href="events_done/index.html" title="mod nrf52840_pac::clock::events_done">events_<wbr>done</a></div><div class="desc docblock-short">Calibration of LFRC completed</div></li><li><div class="item-name"><a class="mod" href="events_hfclkstarted/index.html" title="mod nrf52840_pac::clock::events_hfclkstarted">events_<wbr>hfclkstarted</a></div><div class="desc docblock-short">HFXO crystal oscillator started</div></li><li><div class="item-name"><a class="mod" href="events_lfclkstarted/index.html" title="mod nrf52840_pac::clock::events_lfclkstarted">events_<wbr>lfclkstarted</a></div><div class="desc docblock-short">LFCLK started</div></li><li><div class="item-name"><a class="mod" href="hfclkrun/index.html" title="mod nrf52840_pac::clock::hfclkrun">hfclkrun</a></div><div class="desc docblock-short">Status indicating that HFCLKSTART task has been triggered</div></li><li><div class="item-name"><a class="mod" href="hfclkstat/index.html" title="mod nrf52840_pac::clock::hfclkstat">hfclkstat</a></div><div class="desc docblock-short">HFCLK status</div></li><li><div class="item-name"><a class="mod" href="hfxodebounce/index.html" title="mod nrf52840_pac::clock::hfxodebounce">hfxodebounce</a></div><div class="desc docblock-short">HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task.</div></li><li><div class="item-name"><a class="mod" href="intenclr/index.html" title="mod nrf52840_pac::clock::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::clock::intenset">intenset</a></div><div class="desc docblock-short">Enable interrupt</div></li><li><div class="item-name"><a class="mod" href="lfclkrun/index.html" title="mod nrf52840_pac::clock::lfclkrun">lfclkrun</a></div><div class="desc docblock-short">Status indicating that LFCLKSTART task has been triggered</div></li><li><div class="item-name"><a class="mod" href="lfclksrc/index.html" title="mod nrf52840_pac::clock::lfclksrc">lfclksrc</a></div><div class="desc docblock-short">Clock source for the LFCLK</div></li><li><div class="item-name"><a class="mod" href="lfclksrccopy/index.html" title="mod nrf52840_pac::clock::lfclksrccopy">lfclksrccopy</a></div><div class="desc docblock-short">Copy of LFCLKSRC register, set when LFCLKSTART task was triggered</div></li><li><div class="item-name"><a class="mod" href="lfclkstat/index.html" title="mod nrf52840_pac::clock::lfclkstat">lfclkstat</a></div><div class="desc docblock-short">LFCLK status</div></li><li><div class="item-name"><a class="mod" href="lfrcmode/index.html" title="mod nrf52840_pac::clock::lfrcmode">lfrcmode</a></div><div class="desc docblock-short">LFRC mode configuration</div></li><li><div class="item-name"><a class="mod" href="tasks_cal/index.html" title="mod nrf52840_pac::clock::tasks_cal">tasks_<wbr>cal</a></div><div class="desc docblock-short">Start calibration of LFRC</div></li><li><div class="item-name"><a class="mod" href="tasks_ctstart/index.html" title="mod nrf52840_pac::clock::tasks_ctstart">tasks_<wbr>ctstart</a></div><div class="desc docblock-short">Start calibration timer</div></li><li><div class="item-name"><a class="mod" href="tasks_ctstop/index.html" title="mod nrf52840_pac::clock::tasks_ctstop">tasks_<wbr>ctstop</a></div><div class="desc docblock-short">Stop calibration timer</div></li><li><div class="item-name"><a class="mod" href="tasks_hfclkstart/index.html" title="mod nrf52840_pac::clock::tasks_hfclkstart">tasks_<wbr>hfclkstart</a></div><div class="desc docblock-short">Start HFXO crystal oscillator</div></li><li><div class="item-name"><a class="mod" href="tasks_hfclkstop/index.html" title="mod nrf52840_pac::clock::tasks_hfclkstop">tasks_<wbr>hfclkstop</a></div><div class="desc docblock-short">Stop HFXO crystal oscillator</div></li><li><div class="item-name"><a class="mod" href="tasks_lfclkstart/index.html" title="mod nrf52840_pac::clock::tasks_lfclkstart">tasks_<wbr>lfclkstart</a></div><div class="desc docblock-short">Start LFCLK</div></li><li><div class="item-name"><a class="mod" href="tasks_lfclkstop/index.html" title="mod nrf52840_pac::clock::tasks_lfclkstop">tasks_<wbr>lfclkstop</a></div><div class="desc docblock-short">Stop LFCLK</div></li><li><div class="item-name"><a class="mod" href="traceconfig/index.html" title="mod nrf52840_pac::clock::traceconfig">traceconfig</a></div><div class="desc docblock-short">Clocking options for the trace port debug interface</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::clock::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.CTIV.html" title="type nrf52840_pac::clock::CTIV">CTIV</a></div><div class="desc docblock-short">CTIV (rw) register accessor: an alias for <code>Reg&lt;CTIV_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTSTARTED.html" title="type nrf52840_pac::clock::EVENTS_CTSTARTED">EVENT<wbr>S_<wbr>CTSTARTED</a></div><div class="desc docblock-short">EVENTS_CTSTARTED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_CTSTARTED_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTSTOPPED.html" title="type nrf52840_pac::clock::EVENTS_CTSTOPPED">EVENT<wbr>S_<wbr>CTSTOPPED</a></div><div class="desc docblock-short">EVENTS_CTSTOPPED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_CTSTOPPED_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTTO.html" title="type nrf52840_pac::clock::EVENTS_CTTO">EVENT<wbr>S_<wbr>CTTO</a></div><div class="desc docblock-short">EVENTS_CTTO (rw) register accessor: an alias for <code>Reg&lt;EVENTS_CTTO_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_DONE.html" title="type nrf52840_pac::clock::EVENTS_DONE">EVENT<wbr>S_<wbr>DONE</a></div><div class="desc docblock-short">EVENTS_DONE (rw) register accessor: an alias for <code>Reg&lt;EVENTS_DONE_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_HFCLKSTARTED.html" title="type nrf52840_pac::clock::EVENTS_HFCLKSTARTED">EVENT<wbr>S_<wbr>HFCLKSTARTED</a></div><div class="desc docblock-short">EVENTS_HFCLKSTARTED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_HFCLKSTARTED_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_LFCLKSTARTED.html" title="type nrf52840_pac::clock::EVENTS_LFCLKSTARTED">EVENT<wbr>S_<wbr>LFCLKSTARTED</a></div><div class="desc docblock-short">EVENTS_LFCLKSTARTED (rw) register accessor: an alias for <code>Reg&lt;EVENTS_LFCLKSTARTED_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.HFCLKRUN.html" title="type nrf52840_pac::clock::HFCLKRUN">HFCLKRUN</a></div><div class="desc docblock-short">HFCLKRUN (r) register accessor: an alias for <code>Reg&lt;HFCLKRUN_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.HFCLKSTAT.html" title="type nrf52840_pac::clock::HFCLKSTAT">HFCLKSTAT</a></div><div class="desc docblock-short">HFCLKSTAT (r) register accessor: an alias for <code>Reg&lt;HFCLKSTAT_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.HFXODEBOUNCE.html" title="type nrf52840_pac::clock::HFXODEBOUNCE">HFXODEBOUNCE</a></div><div class="desc docblock-short">HFXODEBOUNCE (rw) register accessor: an alias for <code>Reg&lt;HFXODEBOUNCE_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.INTENCLR.html" title="type nrf52840_pac::clock::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::clock::INTENSET">INTENSET</a></div><div class="desc docblock-short">INTENSET (rw) register accessor: an alias for <code>Reg&lt;INTENSET_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.LFCLKRUN.html" title="type nrf52840_pac::clock::LFCLKRUN">LFCLKRUN</a></div><div class="desc docblock-short">LFCLKRUN (r) register accessor: an alias for <code>Reg&lt;LFCLKRUN_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.LFCLKSRC.html" title="type nrf52840_pac::clock::LFCLKSRC">LFCLKSRC</a></div><div class="desc docblock-short">LFCLKSRC (rw) register accessor: an alias for <code>Reg&lt;LFCLKSRC_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.LFCLKSRCCOPY.html" title="type nrf52840_pac::clock::LFCLKSRCCOPY">LFCLKSRCCOPY</a></div><div class="desc docblock-short">LFCLKSRCCOPY (r) register accessor: an alias for <code>Reg&lt;LFCLKSRCCOPY_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.LFCLKSTAT.html" title="type nrf52840_pac::clock::LFCLKSTAT">LFCLKSTAT</a></div><div class="desc docblock-short">LFCLKSTAT (r) register accessor: an alias for <code>Reg&lt;LFCLKSTAT_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.LFRCMODE.html" title="type nrf52840_pac::clock::LFRCMODE">LFRCMODE</a></div><div class="desc docblock-short">LFRCMODE (rw) register accessor: an alias for <code>Reg&lt;LFRCMODE_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CAL.html" title="type nrf52840_pac::clock::TASKS_CAL">TASK<wbr>S_<wbr>CAL</a></div><div class="desc docblock-short">TASKS_CAL (w) register accessor: an alias for <code>Reg&lt;TASKS_CAL_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CTSTART.html" title="type nrf52840_pac::clock::TASKS_CTSTART">TASK<wbr>S_<wbr>CTSTART</a></div><div class="desc docblock-short">TASKS_CTSTART (w) register accessor: an alias for <code>Reg&lt;TASKS_CTSTART_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CTSTOP.html" title="type nrf52840_pac::clock::TASKS_CTSTOP">TASK<wbr>S_<wbr>CTSTOP</a></div><div class="desc docblock-short">TASKS_CTSTOP (w) register accessor: an alias for <code>Reg&lt;TASKS_CTSTOP_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_HFCLKSTART.html" title="type nrf52840_pac::clock::TASKS_HFCLKSTART">TASK<wbr>S_<wbr>HFCLKSTART</a></div><div class="desc docblock-short">TASKS_HFCLKSTART (w) register accessor: an alias for <code>Reg&lt;TASKS_HFCLKSTART_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_HFCLKSTOP.html" title="type nrf52840_pac::clock::TASKS_HFCLKSTOP">TASK<wbr>S_<wbr>HFCLKSTOP</a></div><div class="desc docblock-short">TASKS_HFCLKSTOP (w) register accessor: an alias for <code>Reg&lt;TASKS_HFCLKSTOP_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_LFCLKSTART.html" title="type nrf52840_pac::clock::TASKS_LFCLKSTART">TASK<wbr>S_<wbr>LFCLKSTART</a></div><div class="desc docblock-short">TASKS_LFCLKSTART (w) register accessor: an alias for <code>Reg&lt;TASKS_LFCLKSTART_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_LFCLKSTOP.html" title="type nrf52840_pac::clock::TASKS_LFCLKSTOP">TASK<wbr>S_<wbr>LFCLKSTOP</a></div><div class="desc docblock-short">TASKS_LFCLKSTOP (w) register accessor: an alias for <code>Reg&lt;TASKS_LFCLKSTOP_SPEC&gt;</code></div></li><li><div class="item-name"><a class="type" href="type.TRACECONFIG.html" title="type nrf52840_pac::clock::TRACECONFIG">TRACECONFIG</a></div><div class="desc docblock-short">TRACECONFIG (rw) register accessor: an alias for <code>Reg&lt;TRACECONFIG_SPEC&gt;</code></div></li></ul></section></div></main></body></html>