mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 11:29:33 +01:00
88 lines
36 KiB
HTML
88 lines
36 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="All the peripherals."><title>Peripherals in rp2040_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-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="rp2040_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 struct"><!--[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="../rp2040_pac/index.html">rp2040_<wbr>pac</a><span class="version">0.6.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Peripherals</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.ADC" title="ADC">ADC</a></li><li><a href="#structfield.BUSCTRL" title="BUSCTRL">BUSCTRL</a></li><li><a href="#structfield.CLOCKS" title="CLOCKS">CLOCKS</a></li><li><a href="#structfield.DMA" title="DMA">DMA</a></li><li><a href="#structfield.I2C0" title="I2C0">I2C0</a></li><li><a href="#structfield.I2C1" title="I2C1">I2C1</a></li><li><a href="#structfield.IO_BANK0" title="IO_BANK0">IO_BANK0</a></li><li><a href="#structfield.IO_QSPI" title="IO_QSPI">IO_QSPI</a></li><li><a href="#structfield.PADS_BANK0" title="PADS_BANK0">PADS_BANK0</a></li><li><a href="#structfield.PADS_QSPI" title="PADS_QSPI">PADS_QSPI</a></li><li><a href="#structfield.PIO0" title="PIO0">PIO0</a></li><li><a href="#structfield.PIO1" title="PIO1">PIO1</a></li><li><a href="#structfield.PLL_SYS" title="PLL_SYS">PLL_SYS</a></li><li><a href="#structfield.PLL_USB" title="PLL_USB">PLL_USB</a></li><li><a href="#structfield.PPB" title="PPB">PPB</a></li><li><a href="#structfield.PSM" title="PSM">PSM</a></li><li><a href="#structfield.PWM" title="PWM">PWM</a></li><li><a href="#structfield.RESETS" title="RESETS">RESETS</a></li><li><a href="#structfield.ROSC" title="ROSC">ROSC</a></li><li><a href="#structfield.RTC" title="RTC">RTC</a></li><li><a href="#structfield.SIO" title="SIO">SIO</a></li><li><a href="#structfield.SPI0" title="SPI0">SPI0</a></li><li><a href="#structfield.SPI1" title="SPI1">SPI1</a></li><li><a href="#structfield.SYSCFG" title="SYSCFG">SYSCFG</a></li><li><a href="#structfield.SYSINFO" title="SYSINFO">SYSINFO</a></li><li><a href="#structfield.TBMAN" title="TBMAN">TBMAN</a></li><li><a href="#structfield.TIMER" title="TIMER">TIMER</a></li><li><a href="#structfield.UART0" title="UART0">UART0</a></li><li><a href="#structfield.UART1" title="UART1">UART1</a></li><li><a href="#structfield.USBCTRL_DPRAM" title="USBC
|
||
|
pub ADC: <a class="struct" href="struct.ADC.html" title="struct rp2040_pac::ADC">ADC</a>,
|
||
|
pub BUSCTRL: <a class="struct" href="struct.BUSCTRL.html" title="struct rp2040_pac::BUSCTRL">BUSCTRL</a>,
|
||
|
pub CLOCKS: <a class="struct" href="struct.CLOCKS.html" title="struct rp2040_pac::CLOCKS">CLOCKS</a>,
|
||
|
pub DMA: <a class="struct" href="struct.DMA.html" title="struct rp2040_pac::DMA">DMA</a>,
|
||
|
pub I2C0: <a class="struct" href="struct.I2C0.html" title="struct rp2040_pac::I2C0">I2C0</a>,
|
||
|
pub I2C1: <a class="struct" href="struct.I2C1.html" title="struct rp2040_pac::I2C1">I2C1</a>,
|
||
|
pub IO_BANK0: <a class="struct" href="struct.IO_BANK0.html" title="struct rp2040_pac::IO_BANK0">IO_BANK0</a>,
|
||
|
pub IO_QSPI: <a class="struct" href="struct.IO_QSPI.html" title="struct rp2040_pac::IO_QSPI">IO_QSPI</a>,
|
||
|
pub PADS_BANK0: <a class="struct" href="struct.PADS_BANK0.html" title="struct rp2040_pac::PADS_BANK0">PADS_BANK0</a>,
|
||
|
pub PADS_QSPI: <a class="struct" href="struct.PADS_QSPI.html" title="struct rp2040_pac::PADS_QSPI">PADS_QSPI</a>,
|
||
|
pub PIO0: <a class="struct" href="struct.PIO0.html" title="struct rp2040_pac::PIO0">PIO0</a>,
|
||
|
pub PIO1: <a class="struct" href="struct.PIO1.html" title="struct rp2040_pac::PIO1">PIO1</a>,
|
||
|
pub PLL_SYS: <a class="struct" href="struct.PLL_SYS.html" title="struct rp2040_pac::PLL_SYS">PLL_SYS</a>,
|
||
|
pub PLL_USB: <a class="struct" href="struct.PLL_USB.html" title="struct rp2040_pac::PLL_USB">PLL_USB</a>,
|
||
|
pub PPB: <a class="struct" href="struct.PPB.html" title="struct rp2040_pac::PPB">PPB</a>,
|
||
|
pub PSM: <a class="struct" href="struct.PSM.html" title="struct rp2040_pac::PSM">PSM</a>,
|
||
|
pub PWM: <a class="struct" href="struct.PWM.html" title="struct rp2040_pac::PWM">PWM</a>,
|
||
|
pub RESETS: <a class="struct" href="struct.RESETS.html" title="struct rp2040_pac::RESETS">RESETS</a>,
|
||
|
pub ROSC: <a class="struct" href="struct.ROSC.html" title="struct rp2040_pac::ROSC">ROSC</a>,
|
||
|
pub RTC: <a class="struct" href="struct.RTC.html" title="struct rp2040_pac::RTC">RTC</a>,
|
||
|
pub SIO: <a class="struct" href="struct.SIO.html" title="struct rp2040_pac::SIO">SIO</a>,
|
||
|
pub SPI0: <a class="struct" href="struct.SPI0.html" title="struct rp2040_pac::SPI0">SPI0</a>,
|
||
|
pub SPI1: <a class="struct" href="struct.SPI1.html" title="struct rp2040_pac::SPI1">SPI1</a>,
|
||
|
pub SYSCFG: <a class="struct" href="struct.SYSCFG.html" title="struct rp2040_pac::SYSCFG">SYSCFG</a>,
|
||
|
pub SYSINFO: <a class="struct" href="struct.SYSINFO.html" title="struct rp2040_pac::SYSINFO">SYSINFO</a>,
|
||
|
pub TBMAN: <a class="struct" href="struct.TBMAN.html" title="struct rp2040_pac::TBMAN">TBMAN</a>,
|
||
|
pub TIMER: <a class="struct" href="struct.TIMER.html" title="struct rp2040_pac::TIMER">TIMER</a>,
|
||
|
pub UART0: <a class="struct" href="struct.UART0.html" title="struct rp2040_pac::UART0">UART0</a>,
|
||
|
pub UART1: <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a>,
|
||
|
pub USBCTRL_DPRAM: <a class="struct" href="struct.USBCTRL_DPRAM.html" title="struct rp2040_pac::USBCTRL_DPRAM">USBCTRL_DPRAM</a>,
|
||
|
pub USBCTRL_REGS: <a class="struct" href="struct.USBCTRL_REGS.html" title="struct rp2040_pac::USBCTRL_REGS">USBCTRL_REGS</a>,
|
||
|
pub VREG_AND_CHIP_RESET: <a class="struct" href="struct.VREG_AND_CHIP_RESET.html" title="struct rp2040_pac::VREG_AND_CHIP_RESET">VREG_AND_CHIP_RESET</a>,
|
||
|
pub WATCHDOG: <a class="struct" href="struct.WATCHDOG.html" title="struct rp2040_pac::WATCHDOG">WATCHDOG</a>,
|
||
|
pub XIP_CTRL: <a class="struct" href="struct.XIP_CTRL.html" title="struct rp2040_pac::XIP_CTRL">XIP_CTRL</a>,
|
||
|
pub XIP_SSI: <a class="struct" href="struct.XIP_SSI.html" title="struct rp2040_pac::XIP_SSI">XIP_SSI</a>,
|
||
|
pub XOSC: <a class="struct" href="struct.XOSC.html" title="struct rp2040_pac::XOSC">XOSC</a>,
|
||
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>All the peripherals.</p>
|
||
|
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.ADC" class="structfield section-header"><a href="#structfield.ADC" class="anchor field">§</a><code>ADC: <a class="struct" href="struct.ADC.html" title="struct rp2040_pac::ADC">ADC</a></code></span><div class="docblock"><p>ADC</p>
|
||
|
</div><span id="structfield.BUSCTRL" class="structfield section-header"><a href="#structfield.BUSCTRL" class="anchor field">§</a><code>BUSCTRL: <a class="struct" href="struct.BUSCTRL.html" title="struct rp2040_pac::BUSCTRL">BUSCTRL</a></code></span><div class="docblock"><p>BUSCTRL</p>
|
||
|
</div><span id="structfield.CLOCKS" class="structfield section-header"><a href="#structfield.CLOCKS" class="anchor field">§</a><code>CLOCKS: <a class="struct" href="struct.CLOCKS.html" title="struct rp2040_pac::CLOCKS">CLOCKS</a></code></span><div class="docblock"><p>CLOCKS</p>
|
||
|
</div><span id="structfield.DMA" class="structfield section-header"><a href="#structfield.DMA" class="anchor field">§</a><code>DMA: <a class="struct" href="struct.DMA.html" title="struct rp2040_pac::DMA">DMA</a></code></span><div class="docblock"><p>DMA</p>
|
||
|
</div><span id="structfield.I2C0" class="structfield section-header"><a href="#structfield.I2C0" class="anchor field">§</a><code>I2C0: <a class="struct" href="struct.I2C0.html" title="struct rp2040_pac::I2C0">I2C0</a></code></span><div class="docblock"><p>I2C0</p>
|
||
|
</div><span id="structfield.I2C1" class="structfield section-header"><a href="#structfield.I2C1" class="anchor field">§</a><code>I2C1: <a class="struct" href="struct.I2C1.html" title="struct rp2040_pac::I2C1">I2C1</a></code></span><div class="docblock"><p>I2C1</p>
|
||
|
</div><span id="structfield.IO_BANK0" class="structfield section-header"><a href="#structfield.IO_BANK0" class="anchor field">§</a><code>IO_BANK0: <a class="struct" href="struct.IO_BANK0.html" title="struct rp2040_pac::IO_BANK0">IO_BANK0</a></code></span><div class="docblock"><p>IO_BANK0</p>
|
||
|
</div><span id="structfield.IO_QSPI" class="structfield section-header"><a href="#structfield.IO_QSPI" class="anchor field">§</a><code>IO_QSPI: <a class="struct" href="struct.IO_QSPI.html" title="struct rp2040_pac::IO_QSPI">IO_QSPI</a></code></span><div class="docblock"><p>IO_QSPI</p>
|
||
|
</div><span id="structfield.PADS_BANK0" class="structfield section-header"><a href="#structfield.PADS_BANK0" class="anchor field">§</a><code>PADS_BANK0: <a class="struct" href="struct.PADS_BANK0.html" title="struct rp2040_pac::PADS_BANK0">PADS_BANK0</a></code></span><div class="docblock"><p>PADS_BANK0</p>
|
||
|
</div><span id="structfield.PADS_QSPI" class="structfield section-header"><a href="#structfield.PADS_QSPI" class="anchor field">§</a><code>PADS_QSPI: <a class="struct" href="struct.PADS_QSPI.html" title="struct rp2040_pac::PADS_QSPI">PADS_QSPI</a></code></span><div class="docblock"><p>PADS_QSPI</p>
|
||
|
</div><span id="structfield.PIO0" class="structfield section-header"><a href="#structfield.PIO0" class="anchor field">§</a><code>PIO0: <a class="struct" href="struct.PIO0.html" title="struct rp2040_pac::PIO0">PIO0</a></code></span><div class="docblock"><p>PIO0</p>
|
||
|
</div><span id="structfield.PIO1" class="structfield section-header"><a href="#structfield.PIO1" class="anchor field">§</a><code>PIO1: <a class="struct" href="struct.PIO1.html" title="struct rp2040_pac::PIO1">PIO1</a></code></span><div class="docblock"><p>PIO1</p>
|
||
|
</div><span id="structfield.PLL_SYS" class="structfield section-header"><a href="#structfield.PLL_SYS" class="anchor field">§</a><code>PLL_SYS: <a class="struct" href="struct.PLL_SYS.html" title="struct rp2040_pac::PLL_SYS">PLL_SYS</a></code></span><div class="docblock"><p>PLL_SYS</p>
|
||
|
</div><span id="structfield.PLL_USB" class="structfield section-header"><a href="#structfield.PLL_USB" class="anchor field">§</a><code>PLL_USB: <a class="struct" href="struct.PLL_USB.html" title="struct rp2040_pac::PLL_USB">PLL_USB</a></code></span><div class="docblock"><p>PLL_USB</p>
|
||
|
</div><span id="structfield.PPB" class="structfield section-header"><a href="#structfield.PPB" class="anchor field">§</a><code>PPB: <a class="struct" href="struct.PPB.html" title="struct rp2040_pac::PPB">PPB</a></code></span><div class="docblock"><p>PPB</p>
|
||
|
</div><span id="structfield.PSM" class="structfield section-header"><a href="#structfield.PSM" class="anchor field">§</a><code>PSM: <a class="struct" href="struct.PSM.html" title="struct rp2040_pac::PSM">PSM</a></code></span><div class="docblock"><p>PSM</p>
|
||
|
</div><span id="structfield.PWM" class="structfield section-header"><a href="#structfield.PWM" class="anchor field">§</a><code>PWM: <a class="struct" href="struct.PWM.html" title="struct rp2040_pac::PWM">PWM</a></code></span><div class="docblock"><p>PWM</p>
|
||
|
</div><span id="structfield.RESETS" class="structfield section-header"><a href="#structfield.RESETS" class="anchor field">§</a><code>RESETS: <a class="struct" href="struct.RESETS.html" title="struct rp2040_pac::RESETS">RESETS</a></code></span><div class="docblock"><p>RESETS</p>
|
||
|
</div><span id="structfield.ROSC" class="structfield section-header"><a href="#structfield.ROSC" class="anchor field">§</a><code>ROSC: <a class="struct" href="struct.ROSC.html" title="struct rp2040_pac::ROSC">ROSC</a></code></span><div class="docblock"><p>ROSC</p>
|
||
|
</div><span id="structfield.RTC" class="structfield section-header"><a href="#structfield.RTC" class="anchor field">§</a><code>RTC: <a class="struct" href="struct.RTC.html" title="struct rp2040_pac::RTC">RTC</a></code></span><div class="docblock"><p>RTC</p>
|
||
|
</div><span id="structfield.SIO" class="structfield section-header"><a href="#structfield.SIO" class="anchor field">§</a><code>SIO: <a class="struct" href="struct.SIO.html" title="struct rp2040_pac::SIO">SIO</a></code></span><div class="docblock"><p>SIO</p>
|
||
|
</div><span id="structfield.SPI0" class="structfield section-header"><a href="#structfield.SPI0" class="anchor field">§</a><code>SPI0: <a class="struct" href="struct.SPI0.html" title="struct rp2040_pac::SPI0">SPI0</a></code></span><div class="docblock"><p>SPI0</p>
|
||
|
</div><span id="structfield.SPI1" class="structfield section-header"><a href="#structfield.SPI1" class="anchor field">§</a><code>SPI1: <a class="struct" href="struct.SPI1.html" title="struct rp2040_pac::SPI1">SPI1</a></code></span><div class="docblock"><p>SPI1</p>
|
||
|
</div><span id="structfield.SYSCFG" class="structfield section-header"><a href="#structfield.SYSCFG" class="anchor field">§</a><code>SYSCFG: <a class="struct" href="struct.SYSCFG.html" title="struct rp2040_pac::SYSCFG">SYSCFG</a></code></span><div class="docblock"><p>SYSCFG</p>
|
||
|
</div><span id="structfield.SYSINFO" class="structfield section-header"><a href="#structfield.SYSINFO" class="anchor field">§</a><code>SYSINFO: <a class="struct" href="struct.SYSINFO.html" title="struct rp2040_pac::SYSINFO">SYSINFO</a></code></span><div class="docblock"><p>SYSINFO</p>
|
||
|
</div><span id="structfield.TBMAN" class="structfield section-header"><a href="#structfield.TBMAN" class="anchor field">§</a><code>TBMAN: <a class="struct" href="struct.TBMAN.html" title="struct rp2040_pac::TBMAN">TBMAN</a></code></span><div class="docblock"><p>TBMAN</p>
|
||
|
</div><span id="structfield.TIMER" class="structfield section-header"><a href="#structfield.TIMER" class="anchor field">§</a><code>TIMER: <a class="struct" href="struct.TIMER.html" title="struct rp2040_pac::TIMER">TIMER</a></code></span><div class="docblock"><p>TIMER</p>
|
||
|
</div><span id="structfield.UART0" class="structfield section-header"><a href="#structfield.UART0" class="anchor field">§</a><code>UART0: <a class="struct" href="struct.UART0.html" title="struct rp2040_pac::UART0">UART0</a></code></span><div class="docblock"><p>UART0</p>
|
||
|
</div><span id="structfield.UART1" class="structfield section-header"><a href="#structfield.UART1" class="anchor field">§</a><code>UART1: <a class="struct" href="struct.UART1.html" title="struct rp2040_pac::UART1">UART1</a></code></span><div class="docblock"><p>UART1</p>
|
||
|
</div><span id="structfield.USBCTRL_DPRAM" class="structfield section-header"><a href="#structfield.USBCTRL_DPRAM" class="anchor field">§</a><code>USBCTRL_DPRAM: <a class="struct" href="struct.USBCTRL_DPRAM.html" title="struct rp2040_pac::USBCTRL_DPRAM">USBCTRL_DPRAM</a></code></span><div class="docblock"><p>USBCTRL_DPRAM</p>
|
||
|
</div><span id="structfield.USBCTRL_REGS" class="structfield section-header"><a href="#structfield.USBCTRL_REGS" class="anchor field">§</a><code>USBCTRL_REGS: <a class="struct" href="struct.USBCTRL_REGS.html" title="struct rp2040_pac::USBCTRL_REGS">USBCTRL_REGS</a></code></span><div class="docblock"><p>USBCTRL_REGS</p>
|
||
|
</div><span id="structfield.VREG_AND_CHIP_RESET" class="structfield section-header"><a href="#structfield.VREG_AND_CHIP_RESET" class="anchor field">§</a><code>VREG_AND_CHIP_RESET: <a class="struct" href="struct.VREG_AND_CHIP_RESET.html" title="struct rp2040_pac::VREG_AND_CHIP_RESET">VREG_AND_CHIP_RESET</a></code></span><div class="docblock"><p>VREG_AND_CHIP_RESET</p>
|
||
|
</div><span id="structfield.WATCHDOG" class="structfield section-header"><a href="#structfield.WATCHDOG" class="anchor field">§</a><code>WATCHDOG: <a class="struct" href="struct.WATCHDOG.html" title="struct rp2040_pac::WATCHDOG">WATCHDOG</a></code></span><div class="docblock"><p>WATCHDOG</p>
|
||
|
</div><span id="structfield.XIP_CTRL" class="structfield section-header"><a href="#structfield.XIP_CTRL" class="anchor field">§</a><code>XIP_CTRL: <a class="struct" href="struct.XIP_CTRL.html" title="struct rp2040_pac::XIP_CTRL">XIP_CTRL</a></code></span><div class="docblock"><p>XIP_CTRL</p>
|
||
|
</div><span id="structfield.XIP_SSI" class="structfield section-header"><a href="#structfield.XIP_SSI" class="anchor field">§</a><code>XIP_SSI: <a class="struct" href="struct.XIP_SSI.html" title="struct rp2040_pac::XIP_SSI">XIP_SSI</a></code></span><div class="docblock"><p>XIP_SSI</p>
|
||
|
</div><span id="structfield.XOSC" class="structfield section-header"><a href="#structfield.XOSC" class="anchor field">§</a><code>XOSC: <a class="struct" href="struct.XOSC.html" title="struct rp2040_pac::XOSC">XOSC</a></code></span><div class="docblock"><p>XOSC</p>
|
||
|
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Peripherals" class="impl"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#2310-2441">source</a><a href="#impl-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.steal" class="method"><a class="src rightside" href="../src/rp2040_pac/lib.rs.html#2328-2440">source</a><h4 class="code-header">pub unsafe fn <a href="#method.steal" class="fn">steal</a>() -> Self</h4></section></summary><div class="docblock"><p>Unchecked version of <code>Peripherals::take</code>.</p>
|
||
|
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
|
||
|
<p>Each of the returned peripherals must be used at most once.</p>
|
||
|
</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Peripherals" class="impl"><a href="#impl-Freeze-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section><section id="impl-RefUnwindSafe-for-Peripherals" class="impl"><a href="#impl-RefUnwindSafe-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Send-for-Peripherals" class="impl"><a href="#impl-Send-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Sync-for-Peripherals" class="impl"><a href="#impl-Sync-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Unpin-for-Peripherals" class="impl"><a href="#impl-Unpin-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section><section id="impl-UnwindSafe-for-Peripherals" class="impl"><a href="#impl-UnwindSafe-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Peripherals.html" title="struct rp2040_pac::Peripherals">Peripherals</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#748-750">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
|
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#758">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
|
<p>That is, this conversion is whatever the implementation of
|
||
|
<code><a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#805-807">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
|
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#809">source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#812">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#790-792">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
|
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#794">source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#797">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>
|