mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 19:39:32 +01:00
2 lines
No EOL
16 KiB
HTML
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-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 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><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module clock</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><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"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">nrf52840_pac</a></span><h1>Module <span>clock</span><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/clock.rs.html#1-165">source</a> </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<CTIV_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTSTARTED.html" title="type nrf52840_pac::clock::EVENTS_CTSTARTED">EVENTS_<wbr>CTSTARTED</a></div><div class="desc docblock-short">EVENTS_CTSTARTED (rw) register accessor: an alias for <code>Reg<EVENTS_CTSTARTED_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTSTOPPED.html" title="type nrf52840_pac::clock::EVENTS_CTSTOPPED">EVENTS_<wbr>CTSTOPPED</a></div><div class="desc docblock-short">EVENTS_CTSTOPPED (rw) register accessor: an alias for <code>Reg<EVENTS_CTSTOPPED_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_CTTO.html" title="type nrf52840_pac::clock::EVENTS_CTTO">EVENTS_<wbr>CTTO</a></div><div class="desc docblock-short">EVENTS_CTTO (rw) register accessor: an alias for <code>Reg<EVENTS_CTTO_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_DONE.html" title="type nrf52840_pac::clock::EVENTS_DONE">EVENTS_<wbr>DONE</a></div><div class="desc docblock-short">EVENTS_DONE (rw) register accessor: an alias for <code>Reg<EVENTS_DONE_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_HFCLKSTARTED.html" title="type nrf52840_pac::clock::EVENTS_HFCLKSTARTED">EVENTS_<wbr>HFCLKSTARTED</a></div><div class="desc docblock-short">EVENTS_HFCLKSTARTED (rw) register accessor: an alias for <code>Reg<EVENTS_HFCLKSTARTED_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.EVENTS_LFCLKSTARTED.html" title="type nrf52840_pac::clock::EVENTS_LFCLKSTARTED">EVENTS_<wbr>LFCLKSTARTED</a></div><div class="desc docblock-short">EVENTS_LFCLKSTARTED (rw) register accessor: an alias for <code>Reg<EVENTS_LFCLKSTARTED_SPEC></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<HFCLKRUN_SPEC></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<HFCLKSTAT_SPEC></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<HFXODEBOUNCE_SPEC></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<INTENCLR_SPEC></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<INTENSET_SPEC></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<LFCLKRUN_SPEC></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<LFCLKSRC_SPEC></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<LFCLKSRCCOPY_SPEC></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<LFCLKSTAT_SPEC></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<LFRCMODE_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CAL.html" title="type nrf52840_pac::clock::TASKS_CAL">TASKS_<wbr>CAL</a></div><div class="desc docblock-short">TASKS_CAL (w) register accessor: an alias for <code>Reg<TASKS_CAL_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CTSTART.html" title="type nrf52840_pac::clock::TASKS_CTSTART">TASKS_<wbr>CTSTART</a></div><div class="desc docblock-short">TASKS_CTSTART (w) register accessor: an alias for <code>Reg<TASKS_CTSTART_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_CTSTOP.html" title="type nrf52840_pac::clock::TASKS_CTSTOP">TASKS_<wbr>CTSTOP</a></div><div class="desc docblock-short">TASKS_CTSTOP (w) register accessor: an alias for <code>Reg<TASKS_CTSTOP_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_HFCLKSTART.html" title="type nrf52840_pac::clock::TASKS_HFCLKSTART">TASKS_<wbr>HFCLKSTART</a></div><div class="desc docblock-short">TASKS_HFCLKSTART (w) register accessor: an alias for <code>Reg<TASKS_HFCLKSTART_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_HFCLKSTOP.html" title="type nrf52840_pac::clock::TASKS_HFCLKSTOP">TASKS_<wbr>HFCLKSTOP</a></div><div class="desc docblock-short">TASKS_HFCLKSTOP (w) register accessor: an alias for <code>Reg<TASKS_HFCLKSTOP_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_LFCLKSTART.html" title="type nrf52840_pac::clock::TASKS_LFCLKSTART">TASKS_<wbr>LFCLKSTART</a></div><div class="desc docblock-short">TASKS_LFCLKSTART (w) register accessor: an alias for <code>Reg<TASKS_LFCLKSTART_SPEC></code></div></li><li><div class="item-name"><a class="type" href="type.TASKS_LFCLKSTOP.html" title="type nrf52840_pac::clock::TASKS_LFCLKSTOP">TASKS_<wbr>LFCLKSTOP</a></div><div class="desc docblock-short">TASKS_LFCLKSTOP (w) register accessor: an alias for <code>Reg<TASKS_LFCLKSTOP_SPEC></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<TRACECONFIG_SPEC></code></div></li></ul></section></div></main></body></html> |