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

5 lines
No EOL
33 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="Peripheral access API for NRF52840 microcontrollers (generated using svd2rust v0.25.1 ( ))"><title>nrf52840_pac - 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="../crates.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 crate"><!--[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"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><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="#enums">Enums</a></li><li><a href="#constants">Constants</a></li></ul></section></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>Crate <a class="mod" href="#">nrf52840_pac</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/lib.rs.html#1-2664">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>Peripheral access API for NRF52840 microcontrollers (generated using svd2rust v0.25.1 ( ))</p>
<p>You can find an overview of the generated API <a href="https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api">here</a>.</p>
<p>API features to be included in the <a href="https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased">next</a>
svd2rust release can be generated by cloning the svd2rust <a href="https://github.com/rust-embedded/svd2rust">repository</a>, checking out the above commit, and running <code>cargo doc --open</code>.</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.spi1"><code>pub use <a class="mod" href="spi0/index.html" title="mod nrf52840_pac::spi0">spi0</a> as spi1;</code></div></li><li><div class="item-name" id="reexport.spim1"><code>pub use <a class="mod" href="spim0/index.html" title="mod nrf52840_pac::spim0">spim0</a> as spim1;</code></div></li><li><div class="item-name" id="reexport.spis1"><code>pub use <a class="mod" href="spis0/index.html" title="mod nrf52840_pac::spis0">spis0</a> as spis1;</code></div></li><li><div class="item-name" id="reexport.twi1"><code>pub use <a class="mod" href="twi0/index.html" title="mod nrf52840_pac::twi0">twi0</a> as twi1;</code></div></li><li><div class="item-name" id="reexport.twim1"><code>pub use <a class="mod" href="twim0/index.html" title="mod nrf52840_pac::twim0">twim0</a> as twim1;</code></div></li><li><div class="item-name" id="reexport.twis1"><code>pub use <a class="mod" href="twis0/index.html" title="mod nrf52840_pac::twis0">twis0</a> as twis1;</code></div></li><li><div class="item-name" id="reexport.timer1"><code>pub use <a class="mod" href="timer0/index.html" title="mod nrf52840_pac::timer0">timer0</a> as timer1;</code></div></li><li><div class="item-name" id="reexport.timer2"><code>pub use <a class="mod" href="timer0/index.html" title="mod nrf52840_pac::timer0">timer0</a> as timer2;</code></div></li><li><div class="item-name" id="reexport.rtc1"><code>pub use <a class="mod" href="rtc0/index.html" title="mod nrf52840_pac::rtc0">rtc0</a> as rtc1;</code></div></li><li><div class="item-name" id="reexport.egu1"><code>pub use <a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a> as egu1;</code></div></li><li><div class="item-name" id="reexport.swi1"><code>pub use <a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a> as swi1;</code></div></li><li><div class="item-name" id="reexport.egu2"><code>pub use <a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a> as egu2;</code></div></li><li><div class="item-name" id="reexport.swi2"><code>pub use <a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a> as swi2;</code></div></li><li><div class="item-name" id="reexport.egu3"><code>pub use <a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a> as egu3;</code></div></li><li><div class="item-name" id="reexport.swi3"><code>pub use <a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a> as swi3;</code></div></li><li><div class="item-name" id="reexport.egu4"><code>pub use <a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a> as egu4;</code></div></li><li><div class="item-name" id="reexport.swi4"><code>pub use <a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a> as swi4;</code></div></li><li><div class="item-name" id="reexport.egu5"><code>pub use <a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a> as egu5;</code></div></li><li><div class="item-name" id="reexport.swi5"><code>pub use <a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a> as swi5;</code></div></li><li><div class="item-name" id="reexport.timer4"><code>pub use <a class="mod" href="timer3/index.html" title="mod nrf52840_pac::timer3">timer3</a> as timer4;</code></div></li><li><div class="item-name" id="reexport.pwm1"><code>pub use <a class="mod" href="pwm0/index.html" title="mod nrf52840_pac::pwm0">pwm0</a> as pwm1;</code></div></li><li><div class="item-name" id="reexport.pwm2"><code>pub use <a class="mod" href="pwm0/index.html" title="mod nrf52840_pac::pwm0">pwm0</a> as pwm2;</code></div></li><li><div class="item-name" id="reexport.spi2"><code>pub use <a class="mod" href="spi0/index.html" title="mod nrf52840_pac::spi0">spi0</a> as spi2;</code></div></li><li><div class="item-name" id="reexport.spim2"><code>pub use <a class="mod" href="spim0/index.html" title="mod nrf52840_pac::spim0">spim0</a> as spim2;</code></div></li><li><div class="item-name" id="reexport.spis2"><code>pub use <a class="mod" href="spis0/index.html" title="mod nrf52840_pac::spis0">spis0</a> as spis2;</code></div></li><li><div class="item-name" id="reexport.rtc2"><code>pub use <a class="mod" href="rtc0/index.html" title="mod nrf52840_pac::rtc0">rtc0</a> as rtc2;</code></div></li><li><div class="item-name" id="reexport.uarte1"><code>pub use <a class="mod" href="uarte0/index.html" title="mod nrf52840_pac::uarte0">uarte0</a> as uarte1;</code></div></li><li><div class="item-name" id="reexport.pwm3"><code>pub use <a class="mod" href="pwm0/index.html" title="mod nrf52840_pac::pwm0">pwm0</a> as pwm3;</code></div></li><li><div class="item-name" id="reexport.spim3"><code>pub use <a class="mod" href="spim0/index.html" title="mod nrf52840_pac::spim0">spim0</a> as spim3;</code></div></li><li><div class="item-name" id="reexport.p1"><code>pub use <a class="mod" href="p0/index.html" title="mod nrf52840_pac::p0">p0</a> as p1;</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="aar/index.html" title="mod nrf52840_pac::aar">aar</a></div><div class="desc docblock-short">Accelerated Address Resolver</div></li><li><div class="item-name"><a class="mod" href="acl/index.html" title="mod nrf52840_pac::acl">acl</a></div><div class="desc docblock-short">Access control lists</div></li><li><div class="item-name"><a class="mod" href="cc_host_rgf/index.html" title="mod nrf52840_pac::cc_host_rgf">cc_<wbr>host_<wbr>rgf</a></div><div class="desc docblock-short">CRYPTOCELL HOST_RGF interface</div></li><li><div class="item-name"><a class="mod" href="ccm/index.html" title="mod nrf52840_pac::ccm">ccm</a></div><div class="desc docblock-short">AES CCM Mode Encryption</div></li><li><div class="item-name"><a class="mod" href="clock/index.html" title="mod nrf52840_pac::clock">clock</a></div><div class="desc docblock-short">Clock control</div></li><li><div class="item-name"><a class="mod" href="comp/index.html" title="mod nrf52840_pac::comp">comp</a></div><div class="desc docblock-short">Comparator</div></li><li><div class="item-name"><a class="mod" href="cryptocell/index.html" title="mod nrf52840_pac::cryptocell">cryptocell</a></div><div class="desc docblock-short">ARM TrustZone CryptoCell register interface</div></li><li><div class="item-name"><a class="mod" href="ecb/index.html" title="mod nrf52840_pac::ecb">ecb</a></div><div class="desc docblock-short">AES ECB Mode Encryption</div></li><li><div class="item-name"><a class="mod" href="egu0/index.html" title="mod nrf52840_pac::egu0">egu0</a></div><div class="desc docblock-short">Event Generator Unit 0</div></li><li><div class="item-name"><a class="mod" href="ficr/index.html" title="mod nrf52840_pac::ficr">ficr</a></div><div class="desc docblock-short">Factory information configuration registers</div></li><li><div class="item-name"><a class="mod" href="generic/index.html" title="mod nrf52840_pac::generic">generic</a></div><div class="desc docblock-short">Common register and bit access and modify traits</div></li><li><div class="item-name"><a class="mod" href="gpiote/index.html" title="mod nrf52840_pac::gpiote">gpiote</a></div><div class="desc docblock-short">GPIO Tasks and Events</div></li><li><div class="item-name"><a class="mod" href="i2s/index.html" title="mod nrf52840_pac::i2s">i2s</a></div><div class="desc docblock-short">Inter-IC Sound</div></li><li><div class="item-name"><a class="mod" href="lpcomp/index.html" title="mod nrf52840_pac::lpcomp">lpcomp</a></div><div class="desc docblock-short">Low Power Comparator</div></li><li><div class="item-name"><a class="mod" href="mwu/index.html" title="mod nrf52840_pac::mwu">mwu</a></div><div class="desc docblock-short">Memory Watch Unit</div></li><li><div class="item-name"><a class="mod" href="nfct/index.html" title="mod nrf52840_pac::nfct">nfct</a></div><div class="desc docblock-short">NFC-A compatible radio</div></li><li><div class="item-name"><a class="mod" href="nvmc/index.html" title="mod nrf52840_pac::nvmc">nvmc</a></div><div class="desc docblock-short">Non Volatile Memory Controller</div></li><li><div class="item-name"><a class="mod" href="p0/index.html" title="mod nrf52840_pac::p0">p0</a></div><div class="desc docblock-short">GPIO Port 1</div></li><li><div class="item-name"><a class="mod" href="pdm/index.html" title="mod nrf52840_pac::pdm">pdm</a></div><div class="desc docblock-short">Pulse Density Modulation (Digital Microphone) Interface</div></li><li><div class="item-name"><a class="mod" href="power/index.html" title="mod nrf52840_pac::power">power</a></div><div class="desc docblock-short">Power control</div></li><li><div class="item-name"><a class="mod" href="ppi/index.html" title="mod nrf52840_pac::ppi">ppi</a></div><div class="desc docblock-short">Programmable Peripheral Interconnect</div></li><li><div class="item-name"><a class="mod" href="pwm0/index.html" title="mod nrf52840_pac::pwm0">pwm0</a></div><div class="desc docblock-short">Pulse width modulation unit 0</div></li><li><div class="item-name"><a class="mod" href="qdec/index.html" title="mod nrf52840_pac::qdec">qdec</a></div><div class="desc docblock-short">Quadrature Decoder</div></li><li><div class="item-name"><a class="mod" href="qspi/index.html" title="mod nrf52840_pac::qspi">qspi</a></div><div class="desc docblock-short">External flash interface</div></li><li><div class="item-name"><a class="mod" href="radio/index.html" title="mod nrf52840_pac::radio">radio</a></div><div class="desc docblock-short">2.4 GHz radio</div></li><li><div class="item-name"><a class="mod" href="rng/index.html" title="mod nrf52840_pac::rng">rng</a></div><div class="desc docblock-short">Random Number Generator</div></li><li><div class="item-name"><a class="mod" href="rtc0/index.html" title="mod nrf52840_pac::rtc0">rtc0</a></div><div class="desc docblock-short">Real time counter 0</div></li><li><div class="item-name"><a class="mod" href="saadc/index.html" title="mod nrf52840_pac::saadc">saadc</a></div><div class="desc docblock-short">Successive approximation register (SAR) analog-to-digital converter</div></li><li><div class="item-name"><a class="mod" href="spi0/index.html" title="mod nrf52840_pac::spi0">spi0</a></div><div class="desc docblock-short">Serial Peripheral Interface 0</div></li><li><div class="item-name"><a class="mod" href="spim0/index.html" title="mod nrf52840_pac::spim0">spim0</a></div><div class="desc docblock-short">Serial Peripheral Interface Master with EasyDMA 0</div></li><li><div class="item-name"><a class="mod" href="spis0/index.html" title="mod nrf52840_pac::spis0">spis0</a></div><div class="desc docblock-short">SPI Slave 0</div></li><li><div class="item-name"><a class="mod" href="swi0/index.html" title="mod nrf52840_pac::swi0">swi0</a></div><div class="desc docblock-short">Software interrupt 0</div></li><li><div class="item-name"><a class="mod" href="temp/index.html" title="mod nrf52840_pac::temp">temp</a></div><div class="desc docblock-short">Temperature Sensor</div></li><li><div class="item-name"><a class="mod" href="timer0/index.html" title="mod nrf52840_pac::timer0">timer0</a></div><div class="desc docblock-short">Timer/Counter 0</div></li><li><div class="item-name"><a class="mod" href="timer3/index.html" title="mod nrf52840_pac::timer3">timer3</a></div><div class="desc docblock-short">Timer/Counter 3</div></li><li><div class="item-name"><a class="mod" href="twi0/index.html" title="mod nrf52840_pac::twi0">twi0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Interface 0</div></li><li><div class="item-name"><a class="mod" href="twim0/index.html" title="mod nrf52840_pac::twim0">twim0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Master Interface with EasyDMA 0</div></li><li><div class="item-name"><a class="mod" href="twis0/index.html" title="mod nrf52840_pac::twis0">twis0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Slave Interface with EasyDMA 0</div></li><li><div class="item-name"><a class="mod" href="uart0/index.html" title="mod nrf52840_pac::uart0">uart0</a></div><div class="desc docblock-short">Universal Asynchronous Receiver/Transmitter</div></li><li><div class="item-name"><a class="mod" href="uarte0/index.html" title="mod nrf52840_pac::uarte0">uarte0</a></div><div class="desc docblock-short">UART with EasyDMA 0</div></li><li><div class="item-name"><a class="mod" href="uicr/index.html" title="mod nrf52840_pac::uicr">uicr</a></div><div class="desc docblock-short">User information configuration registers</div></li><li><div class="item-name"><a class="mod" href="usbd/index.html" title="mod nrf52840_pac::usbd">usbd</a></div><div class="desc docblock-short">Universal serial bus device</div></li><li><div class="item-name"><a class="mod" href="wdt/index.html" title="mod nrf52840_pac::wdt">wdt</a></div><div class="desc docblock-short">Watchdog Timer</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.AAR.html" title="struct nrf52840_pac::AAR">AAR</a></div><div class="desc docblock-short">Accelerated Address Resolver</div></li><li><div class="item-name"><a class="struct" href="struct.ACL.html" title="struct nrf52840_pac::ACL">ACL</a></div><div class="desc docblock-short">Access control lists</div></li><li><div class="item-name"><a class="struct" href="struct.CBP.html" title="struct nrf52840_pac::CBP">CBP</a></div><div class="desc docblock-short">Cache and branch predictor maintenance operations</div></li><li><div class="item-name"><a class="struct" href="struct.CCM.html" title="struct nrf52840_pac::CCM">CCM</a></div><div class="desc docblock-short">AES CCM Mode Encryption</div></li><li><div class="item-name"><a class="struct" href="struct.CC_HOST_RGF.html" title="struct nrf52840_pac::CC_HOST_RGF">CC_<wbr>HOST_<wbr>RGF</a></div><div class="desc docblock-short">CRYPTOCELL HOST_RGF interface</div></li><li><div class="item-name"><a class="struct" href="struct.CLOCK.html" title="struct nrf52840_pac::CLOCK">CLOCK</a></div><div class="desc docblock-short">Clock control</div></li><li><div class="item-name"><a class="struct" href="struct.COMP.html" title="struct nrf52840_pac::COMP">COMP</a></div><div class="desc docblock-short">Comparator</div></li><li><div class="item-name"><a class="struct" href="struct.CPUID.html" title="struct nrf52840_pac::CPUID">CPUID</a></div><div class="desc docblock-short">CPUID</div></li><li><div class="item-name"><a class="struct" href="struct.CRYPTOCELL.html" title="struct nrf52840_pac::CRYPTOCELL">CRYPTOCELL</a></div><div class="desc docblock-short">ARM TrustZone CryptoCell register interface</div></li><li><div class="item-name"><a class="struct" href="struct.CorePeripherals.html" title="struct nrf52840_pac::CorePeripherals">Core<wbr>Peripherals</a></div><div class="desc docblock-short">Core peripherals</div></li><li><div class="item-name"><a class="struct" href="struct.DCB.html" title="struct nrf52840_pac::DCB">DCB</a></div><div class="desc docblock-short">Debug Control Block</div></li><li><div class="item-name"><a class="struct" href="struct.DWT.html" title="struct nrf52840_pac::DWT">DWT</a></div><div class="desc docblock-short">Data Watchpoint and Trace unit</div></li><li><div class="item-name"><a class="struct" href="struct.ECB.html" title="struct nrf52840_pac::ECB">ECB</a></div><div class="desc docblock-short">AES ECB Mode Encryption</div></li><li><div class="item-name"><a class="struct" href="struct.EGU0.html" title="struct nrf52840_pac::EGU0">EGU0</a></div><div class="desc docblock-short">Event Generator Unit 0</div></li><li><div class="item-name"><a class="struct" href="struct.EGU1.html" title="struct nrf52840_pac::EGU1">EGU1</a></div><div class="desc docblock-short">Event Generator Unit 1</div></li><li><div class="item-name"><a class="struct" href="struct.EGU2.html" title="struct nrf52840_pac::EGU2">EGU2</a></div><div class="desc docblock-short">Event Generator Unit 2</div></li><li><div class="item-name"><a class="struct" href="struct.EGU3.html" title="struct nrf52840_pac::EGU3">EGU3</a></div><div class="desc docblock-short">Event Generator Unit 3</div></li><li><div class="item-name"><a class="struct" href="struct.EGU4.html" title="struct nrf52840_pac::EGU4">EGU4</a></div><div class="desc docblock-short">Event Generator Unit 4</div></li><li><div class="item-name"><a class="struct" href="struct.EGU5.html" title="struct nrf52840_pac::EGU5">EGU5</a></div><div class="desc docblock-short">Event Generator Unit 5</div></li><li><div class="item-name"><a class="struct" href="struct.FICR.html" title="struct nrf52840_pac::FICR">FICR</a></div><div class="desc docblock-short">Factory information configuration registers</div></li><li><div class="item-name"><a class="struct" href="struct.FPB.html" title="struct nrf52840_pac::FPB">FPB</a></div><div class="desc docblock-short">Flash Patch and Breakpoint unit</div></li><li><div class="item-name"><a class="struct" href="struct.FPU.html" title="struct nrf52840_pac::FPU">FPU</a></div><div class="desc docblock-short">Floating Point Unit</div></li><li><div class="item-name"><a class="struct" href="struct.GPIOTE.html" title="struct nrf52840_pac::GPIOTE">GPIOTE</a></div><div class="desc docblock-short">GPIO Tasks and Events</div></li><li><div class="item-name"><a class="struct" href="struct.I2S.html" title="struct nrf52840_pac::I2S">I2S</a></div><div class="desc docblock-short">Inter-IC Sound</div></li><li><div class="item-name"><a class="struct" href="struct.ITM.html" title="struct nrf52840_pac::ITM">ITM</a></div><div class="desc docblock-short">Instrumentation Trace Macrocell</div></li><li><div class="item-name"><a class="struct" href="struct.LPCOMP.html" title="struct nrf52840_pac::LPCOMP">LPCOMP</a></div><div class="desc docblock-short">Low Power Comparator</div></li><li><div class="item-name"><a class="struct" href="struct.MPU.html" title="struct nrf52840_pac::MPU">MPU</a></div><div class="desc docblock-short">Memory Protection Unit</div></li><li><div class="item-name"><a class="struct" href="struct.MWU.html" title="struct nrf52840_pac::MWU">MWU</a></div><div class="desc docblock-short">Memory Watch Unit</div></li><li><div class="item-name"><a class="struct" href="struct.NFCT.html" title="struct nrf52840_pac::NFCT">NFCT</a></div><div class="desc docblock-short">NFC-A compatible radio</div></li><li><div class="item-name"><a class="struct" href="struct.NVIC.html" title="struct nrf52840_pac::NVIC">NVIC</a></div><div class="desc docblock-short">Nested Vector Interrupt Controller</div></li><li><div class="item-name"><a class="struct" href="struct.NVMC.html" title="struct nrf52840_pac::NVMC">NVMC</a></div><div class="desc docblock-short">Non Volatile Memory Controller</div></li><li><div class="item-name"><a class="struct" href="struct.P0.html" title="struct nrf52840_pac::P0">P0</a></div><div class="desc docblock-short">GPIO Port 1</div></li><li><div class="item-name"><a class="struct" href="struct.P1.html" title="struct nrf52840_pac::P1">P1</a></div><div class="desc docblock-short">GPIO Port 2</div></li><li><div class="item-name"><a class="struct" href="struct.PDM.html" title="struct nrf52840_pac::PDM">PDM</a></div><div class="desc docblock-short">Pulse Density Modulation (Digital Microphone) Interface</div></li><li><div class="item-name"><a class="struct" href="struct.POWER.html" title="struct nrf52840_pac::POWER">POWER</a></div><div class="desc docblock-short">Power control</div></li><li><div class="item-name"><a class="struct" href="struct.PPI.html" title="struct nrf52840_pac::PPI">PPI</a></div><div class="desc docblock-short">Programmable Peripheral Interconnect</div></li><li><div class="item-name"><a class="struct" href="struct.PWM0.html" title="struct nrf52840_pac::PWM0">PWM0</a></div><div class="desc docblock-short">Pulse width modulation unit 0</div></li><li><div class="item-name"><a class="struct" href="struct.PWM1.html" title="struct nrf52840_pac::PWM1">PWM1</a></div><div class="desc docblock-short">Pulse width modulation unit 1</div></li><li><div class="item-name"><a class="struct" href="struct.PWM2.html" title="struct nrf52840_pac::PWM2">PWM2</a></div><div class="desc docblock-short">Pulse width modulation unit 2</div></li><li><div class="item-name"><a class="struct" href="struct.PWM3.html" title="struct nrf52840_pac::PWM3">PWM3</a></div><div class="desc docblock-short">Pulse width modulation unit 3</div></li><li><div class="item-name"><a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></div><div class="desc docblock-short">All the peripherals</div></li><li><div class="item-name"><a class="struct" href="struct.QDEC.html" title="struct nrf52840_pac::QDEC">QDEC</a></div><div class="desc docblock-short">Quadrature Decoder</div></li><li><div class="item-name"><a class="struct" href="struct.QSPI.html" title="struct nrf52840_pac::QSPI">QSPI</a></div><div class="desc docblock-short">External flash interface</div></li><li><div class="item-name"><a class="struct" href="struct.RADIO.html" title="struct nrf52840_pac::RADIO">RADIO</a></div><div class="desc docblock-short">2.4 GHz radio</div></li><li><div class="item-name"><a class="struct" href="struct.RNG.html" title="struct nrf52840_pac::RNG">RNG</a></div><div class="desc docblock-short">Random Number Generator</div></li><li><div class="item-name"><a class="struct" href="struct.RTC0.html" title="struct nrf52840_pac::RTC0">RTC0</a></div><div class="desc docblock-short">Real time counter 0</div></li><li><div class="item-name"><a class="struct" href="struct.RTC1.html" title="struct nrf52840_pac::RTC1">RTC1</a></div><div class="desc docblock-short">Real time counter 1</div></li><li><div class="item-name"><a class="struct" href="struct.RTC2.html" title="struct nrf52840_pac::RTC2">RTC2</a></div><div class="desc docblock-short">Real time counter 2</div></li><li><div class="item-name"><a class="struct" href="struct.SAADC.html" title="struct nrf52840_pac::SAADC">SAADC</a></div><div class="desc docblock-short">Successive approximation register (SAR) analog-to-digital converter</div></li><li><div class="item-name"><a class="struct" href="struct.SCB.html" title="struct nrf52840_pac::SCB">SCB</a></div><div class="desc docblock-short">System Control Block</div></li><li><div class="item-name"><a class="struct" href="struct.SPI0.html" title="struct nrf52840_pac::SPI0">SPI0</a></div><div class="desc docblock-short">Serial Peripheral Interface 0</div></li><li><div class="item-name"><a class="struct" href="struct.SPI1.html" title="struct nrf52840_pac::SPI1">SPI1</a></div><div class="desc docblock-short">Serial Peripheral Interface 1</div></li><li><div class="item-name"><a class="struct" href="struct.SPI2.html" title="struct nrf52840_pac::SPI2">SPI2</a></div><div class="desc docblock-short">Serial Peripheral Interface 2</div></li><li><div class="item-name"><a class="struct" href="struct.SPIM0.html" title="struct nrf52840_pac::SPIM0">SPIM0</a></div><div class="desc docblock-short">Serial Peripheral Interface Master with EasyDMA 0</div></li><li><div class="item-name"><a class="struct" href="struct.SPIM1.html" title="struct nrf52840_pac::SPIM1">SPIM1</a></div><div class="desc docblock-short">Serial Peripheral Interface Master with EasyDMA 1</div></li><li><div class="item-name"><a class="struct" href="struct.SPIM2.html" title="struct nrf52840_pac::SPIM2">SPIM2</a></div><div class="desc docblock-short">Serial Peripheral Interface Master with EasyDMA 2</div></li><li><div class="item-name"><a class="struct" href="struct.SPIM3.html" title="struct nrf52840_pac::SPIM3">SPIM3</a></div><div class="desc docblock-short">Serial Peripheral Interface Master with EasyDMA 3</div></li><li><div class="item-name"><a class="struct" href="struct.SPIS0.html" title="struct nrf52840_pac::SPIS0">SPIS0</a></div><div class="desc docblock-short">SPI Slave 0</div></li><li><div class="item-name"><a class="struct" href="struct.SPIS1.html" title="struct nrf52840_pac::SPIS1">SPIS1</a></div><div class="desc docblock-short">SPI Slave 1</div></li><li><div class="item-name"><a class="struct" href="struct.SPIS2.html" title="struct nrf52840_pac::SPIS2">SPIS2</a></div><div class="desc docblock-short">SPI Slave 2</div></li><li><div class="item-name"><a class="struct" href="struct.SWI0.html" title="struct nrf52840_pac::SWI0">SWI0</a></div><div class="desc docblock-short">Software interrupt 0</div></li><li><div class="item-name"><a class="struct" href="struct.SWI1.html" title="struct nrf52840_pac::SWI1">SWI1</a></div><div class="desc docblock-short">Software interrupt 1</div></li><li><div class="item-name"><a class="struct" href="struct.SWI2.html" title="struct nrf52840_pac::SWI2">SWI2</a></div><div class="desc docblock-short">Software interrupt 2</div></li><li><div class="item-name"><a class="struct" href="struct.SWI3.html" title="struct nrf52840_pac::SWI3">SWI3</a></div><div class="desc docblock-short">Software interrupt 3</div></li><li><div class="item-name"><a class="struct" href="struct.SWI4.html" title="struct nrf52840_pac::SWI4">SWI4</a></div><div class="desc docblock-short">Software interrupt 4</div></li><li><div class="item-name"><a class="struct" href="struct.SWI5.html" title="struct nrf52840_pac::SWI5">SWI5</a></div><div class="desc docblock-short">Software interrupt 5</div></li><li><div class="item-name"><a class="struct" href="struct.SYST.html" title="struct nrf52840_pac::SYST">SYST</a></div><div class="desc docblock-short">SysTick: System Timer</div></li><li><div class="item-name"><a class="struct" href="struct.TEMP.html" title="struct nrf52840_pac::TEMP">TEMP</a></div><div class="desc docblock-short">Temperature Sensor</div></li><li><div class="item-name"><a class="struct" href="struct.TIMER0.html" title="struct nrf52840_pac::TIMER0">TIMER0</a></div><div class="desc docblock-short">Timer/Counter 0</div></li><li><div class="item-name"><a class="struct" href="struct.TIMER1.html" title="struct nrf52840_pac::TIMER1">TIMER1</a></div><div class="desc docblock-short">Timer/Counter 1</div></li><li><div class="item-name"><a class="struct" href="struct.TIMER2.html" title="struct nrf52840_pac::TIMER2">TIMER2</a></div><div class="desc docblock-short">Timer/Counter 2</div></li><li><div class="item-name"><a class="struct" href="struct.TIMER3.html" title="struct nrf52840_pac::TIMER3">TIMER3</a></div><div class="desc docblock-short">Timer/Counter 3</div></li><li><div class="item-name"><a class="struct" href="struct.TIMER4.html" title="struct nrf52840_pac::TIMER4">TIMER4</a></div><div class="desc docblock-short">Timer/Counter 4</div></li><li><div class="item-name"><a class="struct" href="struct.TPIU.html" title="struct nrf52840_pac::TPIU">TPIU</a></div><div class="desc docblock-short">Trace Port Interface Unit</div></li><li><div class="item-name"><a class="struct" href="struct.TWI0.html" title="struct nrf52840_pac::TWI0">TWI0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Interface 0</div></li><li><div class="item-name"><a class="struct" href="struct.TWI1.html" title="struct nrf52840_pac::TWI1">TWI1</a></div><div class="desc docblock-short">I2C compatible Two-Wire Interface 1</div></li><li><div class="item-name"><a class="struct" href="struct.TWIM0.html" title="struct nrf52840_pac::TWIM0">TWIM0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Master Interface with EasyDMA 0</div></li><li><div class="item-name"><a class="struct" href="struct.TWIM1.html" title="struct nrf52840_pac::TWIM1">TWIM1</a></div><div class="desc docblock-short">I2C compatible Two-Wire Master Interface with EasyDMA 1</div></li><li><div class="item-name"><a class="struct" href="struct.TWIS0.html" title="struct nrf52840_pac::TWIS0">TWIS0</a></div><div class="desc docblock-short">I2C compatible Two-Wire Slave Interface with EasyDMA 0</div></li><li><div class="item-name"><a class="struct" href="struct.TWIS1.html" title="struct nrf52840_pac::TWIS1">TWIS1</a></div><div class="desc docblock-short">I2C compatible Two-Wire Slave Interface with EasyDMA 1</div></li><li><div class="item-name"><a class="struct" href="struct.UART0.html" title="struct nrf52840_pac::UART0">UART0</a></div><div class="desc docblock-short">Universal Asynchronous Receiver/Transmitter</div></li><li><div class="item-name"><a class="struct" href="struct.UARTE0.html" title="struct nrf52840_pac::UARTE0">UARTE0</a></div><div class="desc docblock-short">UART with EasyDMA 0</div></li><li><div class="item-name"><a class="struct" href="struct.UARTE1.html" title="struct nrf52840_pac::UARTE1">UARTE1</a></div><div class="desc docblock-short">UART with EasyDMA 1</div></li><li><div class="item-name"><a class="struct" href="struct.UICR.html" title="struct nrf52840_pac::UICR">UICR</a></div><div class="desc docblock-short">User information configuration registers</div></li><li><div class="item-name"><a class="struct" href="struct.USBD.html" title="struct nrf52840_pac::USBD">USBD</a></div><div class="desc docblock-short">Universal serial bus device</div></li><li><div class="item-name"><a class="struct" href="struct.WDT.html" title="struct nrf52840_pac::WDT">WDT</a></div><div class="desc docblock-short">Watchdog Timer</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Interrupt.html" title="enum nrf52840_pac::Interrupt">Interrupt</a></div><div class="desc docblock-short">Enumeration of all the interrupts.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.NVIC_PRIO_BITS.html" title="constant nrf52840_pac::NVIC_PRIO_BITS">NVIC_<wbr>PRIO_<wbr>BITS</a></div><div class="desc docblock-short">Number available in the NVIC for configuring priority</div></li></ul></section></div></main></body></html>