rtic/dev/api/rp2040_pac/xip_ssi/index.html

35 lines
18 KiB
HTML
Raw Permalink Normal View History

<!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="DW_apb_ssi has the following features:"><title>rp2040_pac::xip_ssi - 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 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="../../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="#">Module xip_ssi</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 rp2040_<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">rp2040_pac</a></span><h1>Module <span>xip_ssi</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/rp2040_pac/xip_ssi.rs.html#1-427">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DW_apb_ssi has the following features:</p>
<ul>
<li>APB interface - Allows for easy integration into a DesignWare Synthesizable Components for AMBA 2 implementation.</li>
<li>APB3 and APB4 protocol support.</li>
<li>Scalable APB data bus width - Supports APB data bus widths of 8, 16, and 32 bits.</li>
<li>Serial-master or serial-slave operation - Enables serial communication with serial-master or serial-slave peripheral devices.</li>
<li>Programmable Dual/Quad/Octal SPI support in Master Mode.</li>
<li>Dual Data Rate (DDR) and Read Data Strobe (RDS) Support - Enables the DW_apb_ssi master to perform operations with the device in DDR and RDS modes when working in Dual/Quad/Octal mode of operation.</li>
<li>Data Mask Support - Enables the DW_apb_ssi to selectively update the bytes in the device. This feature is applicable only in enhanced SPI modes.</li>
<li>eXecute-In-Place (XIP) support - Enables the DW_apb_ssi master to behave as a memory mapped I/O and fetches the data from the device based on the APB read request. This feature is applicable only in enhanced SPI modes.</li>
<li>DMA Controller Interface - Enables the DW_apb_ssi to interface to a DMA controller over the bus using a handshaking interface for transfer requests.</li>
<li>Independent masking of interrupts - Master collision, transmit FIFO overflow, transmit FIFO empty, receive FIFO full, receive FIFO underflow, and receive FIFO overflow interrupts can all be masked independently.</li>
<li>Multi-master contention detection - Informs the processor of multiple serial-master accesses on the serial bus.</li>
<li>Bypass of meta-stability flip-flops for synchronous clocks - When the APB clock (pclk) and the DW_apb_ssi serial clock (ssi_clk) are synchronous, meta-stable flip-flops are not used when transferring control signals across these clock domains.</li>
<li>Programmable delay on the sample time of the received serial data bit (rxd); enables programmable control of routing delays resulting in higher serial data-bit rates.</li>
<li>Programmable features:</li>
</ul>
<ul>
<li>Serial interface operation - Choice of Motorola SPI, Texas Instruments Synchronous Serial Protocol or National Semiconductor Microwire.</li>
<li>Clock bit-rate - Dynamic control of the serial bit rate of the data transfer; used in only serial-master mode of operation.</li>
<li>Data Item size (4 to 32 bits) - Item size of each data transfer under the control of the programmer.</li>
</ul>
<ul>
<li>Configured features:</li>
</ul>
<ul>
<li>FIFO depth - 16 words deep. The FIFO width is fixed at 32 bits.</li>
<li>1 slave select output.</li>
<li>Hardware slave-select - Dedicated hardware slave-select line.</li>
<li>Combined interrupt line - one combined interrupt line from the DW_apb_ssi to the interrupt controller.</li>
<li>Interrupt polarity - active high interrupt lines.</li>
<li>Serial clock polarity - low serial-clock polarity directly after reset.</li>
<li>Serial clock phase - capture on first edge of serial-clock directly after reset.</li>
</ul>
</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="baudr/index.html" title="mod rp2040_pac::xip_ssi::baudr">baudr</a></div><div class="desc docblock-short">Baud rate</div></li><li><div class="item-name"><a class="mod" href="ctrlr0/index.html" title="mod rp2040_pac::xip_ssi::ctrlr0">ctrlr0</a></div><div class="desc docblock-short">Control register 0</div></li><li><div class="item-name"><a class="mod" href="ctrlr1/index.html" title="mod rp2040_pac::xip_ssi::ctrlr1">ctrlr1</a></div><div class="desc docblock-short">Master Control register 1</div></li><li><div class="item-name"><a class="mod" href="dmacr/index.html" title="mod rp2040_pac::xip_ssi::dmacr">dmacr</a></div><div class="desc docblock-short">DMA control</div></li><li><div class="item-name"><a class="mod" href="dmardlr/index.html" title="mod rp2040_pac::xip_ssi::dmardlr">dmardlr</a></div><div class="desc docblock-short">DMA RX data level</div></li><li><div class="item-name"><a class="mod" href="dmatdlr/index.html" title="mod rp2040_pac::xip_ssi::dmatdlr">dmatdlr</a></div><div class="desc docblock-short">DMA TX data level</div></li><li><div class="item-name"><a class="mod" href="dr0/index.html" title="mod rp2040_pac::xip_ssi::dr0">dr0</a></div><div class="desc docblock-short">Data Register 0 (of 36)</div></li><li><div class="item-name"><a class="mod" href="icr/index.html" title="mod rp2040_pac::xip_ssi::icr">icr</a></div><div class="desc docblock-short">Interrupt clear</div></li><li><div class="item-name"><a class="mod" href="idr/index.html" title="mod rp2040_pac::xip_ssi::idr">idr</a></div><div class="desc docblock-short">Identification register</div></li><li><div class="item-name"><a class="mod" href="imr/index.html" title="mod rp2040_pac::xip_ssi::imr">imr</a></div><div class="desc docblock-short">Interrupt mask</div></li><li><div class="item-name"><a class="mod" href="isr/index.html" title="mod rp2040_pac::xip_ssi::isr">isr</a></div><div class="desc docblock-short">Interrupt status</div></li><li><div class="item-name"><a class="mod" href="msticr/index.html" title="mod rp2040_pac::xip_ssi::msticr">msticr</a></div><div class="desc docblock-short">Multi-master interrupt clear</div></li><li><div class="item-name"><a class="mod" href="mwcr/index.html" title="mod rp2040_pac::xip_ssi::mwcr">mwcr</a></div><div class="desc docblock-short">Microwire Control</div></li><li><div class="item-name"><a class="mod" href="risr/index.html" title="mod rp2040_pac::xip_ssi::risr">risr</a></div><div class="desc docblock-short">Raw interrupt status</div></li><li><div class="item-name"><a class="mod" href="rx_sample_dly/index.html" title="mod rp2040_pac::xip_ssi::rx_sample_dly">rx_<wbr>sample_<wbr>dly</a></div><div class="desc docblock-short">RX sample delay</div></li><li><div class="item-name"><a class="mod" href="rxflr/index.html" title="mod rp2040_pac::xip_ssi::rxflr">rxflr</a></div><div class="desc docblock-short">RX FIFO level</div></li><li><div class="item-name"><a class="mod" href="rxftlr/index.html" title="mod rp2040_pac::xip_ssi::rxftlr">rxftlr</a></div><div class="desc docblock-short">RX FIFO threshold level</div></li><li><div class="item-name"><a class="mod" href="rxoicr/index.html" title="mod rp2040_pac::xip_ssi::rxoicr">rxoicr</a></div><div class="desc docblock-short">RX FIFO overflow interrupt clear</div></li><li><div class="item-name"><a class="mod" href="rxuicr/index.html" title="mod rp2040_pac::xip_ssi::rxuicr">rxuicr</a></div><div class="desc docblock-short">RX FIFO underflow interrupt clear</div></li><li><div class="item-name"><a class="mod" href="ser/index.html" title="mod rp2040_pac::xip_ssi::ser">ser</a></div><div class="desc docblock-short">Slave enable</div></li><li><div class="item-name"><a class="mod" href="spi_ctrlr0/index.html" title="mod rp2040_pac::xip_ssi::spi_ctrlr0">spi_<wbr>ctrlr0</a></div><div class="desc docblock-short">SPI control</div></li><li><div class="item-name"><a class="mod" href="sr/index.html" title="mod rp2040_pac::