rtic/stable/api/imxrt_ral/usb/index.html
2024-12-06 13:35:18 +00:00

1 line
No EOL
12 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="API documentation for the Rust `usb` mod in crate `imxrt_ral`."><title>imxrt_ral::usb - 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="imxrt_ral" 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="../../imxrt_ral/index.html">imxrt_<wbr>ral</a><span class="version">0.5.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module usb</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="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</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 imxrt_<wbr>ral</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">imxrt_ral</a></span><h1>Module <span>usb</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/imxrt_ral/imxrt1011.rs.html#1626">source</a> </span></div><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="ASYNCLISTADDR/index.html" title="mod imxrt_ral::usb::ASYNCLISTADDR">ASYNCLISTADDR</a></div><div class="desc docblock-short">Next Asynch. Address</div></li><li><div class="item-name"><a class="mod" href="BURSTSIZE/index.html" title="mod imxrt_ral::usb::BURSTSIZE">BURSTSIZE</a></div><div class="desc docblock-short">Programmable Burst Size</div></li><li><div class="item-name"><a class="mod" href="CAPLENGTH/index.html" title="mod imxrt_ral::usb::CAPLENGTH">CAPLENGTH</a></div><div class="desc docblock-short">Capability Registers Length</div></li><li><div class="item-name"><a class="mod" href="CONFIGFLAG/index.html" title="mod imxrt_ral::usb::CONFIGFLAG">CONFIGFLAG</a></div><div class="desc docblock-short">Configure Flag Register</div></li><li><div class="item-name"><a class="mod" href="DCCPARAMS/index.html" title="mod imxrt_ral::usb::DCCPARAMS">DCCPARAMS</a></div><div class="desc docblock-short">Device Controller Capability Parameters</div></li><li><div class="item-name"><a class="mod" href="DCIVERSION/index.html" title="mod imxrt_ral::usb::DCIVERSION">DCIVERSION</a></div><div class="desc docblock-short">Device Controller Interface Version</div></li><li><div class="item-name"><a class="mod" href="DEVICEADDR/index.html" title="mod imxrt_ral::usb::DEVICEADDR">DEVICEADDR</a></div><div class="desc docblock-short">Device Address</div></li><li><div class="item-name"><a class="mod" href="ENDPTCOMPLETE/index.html" title="mod imxrt_ral::usb::ENDPTCOMPLETE">ENDPTCOMPLETE</a></div><div class="desc docblock-short">Endpoint Complete</div></li><li><div class="item-name"><a class="mod" href="ENDPTCTRL/index.html" title="mod imxrt_ral::usb::ENDPTCTRL">ENDPTCTRL</a></div><div class="desc docblock-short">Endpoint Control</div></li><li><div class="item-name"><a class="mod" href="ENDPTCTRL0/index.html" title="mod imxrt_ral::usb::ENDPTCTRL0">ENDPTCTR<wbr>L0</a></div><div class="desc docblock-short">Endpoint Control0</div></li><li><div class="item-name"><a class="mod" href="ENDPTFLUSH/index.html" title="mod imxrt_ral::usb::ENDPTFLUSH">ENDPTFLUSH</a></div><div class="desc docblock-short">Endpoint Flush</div></li><li><div class="item-name"><a class="mod" href="ENDPTNAK/index.html" title="mod imxrt_ral::usb::ENDPTNAK">ENDPTNAK</a></div><div class="desc docblock-short">Endpoint NAK</div></li><li><div class="item-name"><a class="mod" href="ENDPTNAKEN/index.html" title="mod imxrt_ral::usb::ENDPTNAKEN">ENDPTNAKEN</a></div><div class="desc docblock-short">Endpoint NAK Enable</div></li><li><div class="item-name"><a class="mod" href="ENDPTPRIME/index.html" title="mod imxrt_ral::usb::ENDPTPRIME">ENDPTPRIME</a></div><div class="desc docblock-short">Endpoint Prime</div></li><li><div class="item-name"><a class="mod" href="ENDPTSETUPSTAT/index.html" title="mod imxrt_ral::usb::ENDPTSETUPSTAT">ENDPTSETUPSTAT</a></div><div class="desc docblock-short">Endpoint Setup Status</div></li><li><div class="item-name"><a class="mod" href="ENDPTSTAT/index.html" title="mod imxrt_ral::usb::ENDPTSTAT">ENDPTSTAT</a></div><div class="desc docblock-short">Endpoint Status</div></li><li><div class="item-name"><a class="mod" href="FRINDEX/index.html" title="mod imxrt_ral::usb::FRINDEX">FRINDEX</a></div><div class="desc docblock-short">USB Frame Index</div></li><li><div class="item-name"><a class="mod" href="GPTIMER0CTRL/index.html" title="mod imxrt_ral::usb::GPTIMER0CTRL">GPTIME<wbr>R0CTRL</a></div><div class="desc docblock-short">General Purpose Timer #0 Controller</div></li><li><div class="item-name"><a class="mod" href="GPTIMER0LD/index.html" title="mod imxrt_ral::usb::GPTIMER0LD">GPTIME<wbr>R0LD</a></div><div class="desc docblock-short">General Purpose Timer #0 Load</div></li><li><div class="item-name"><a class="mod" href="GPTIMER1CTRL/index.html" title="mod imxrt_ral::usb::GPTIMER1CTRL">GPTIME<wbr>R1CTRL</a></div><div class="desc docblock-short">General Purpose Timer #1 Controller</div></li><li><div class="item-name"><a class="mod" href="GPTIMER1LD/index.html" title="mod imxrt_ral::usb::GPTIMER1LD">GPTIME<wbr>R1LD</a></div><div class="desc docblock-short">General Purpose Timer #1 Load</div></li><li><div class="item-name"><a class="mod" href="HCCPARAMS/index.html" title="mod imxrt_ral::usb::HCCPARAMS">HCCPARAMS</a></div><div class="desc docblock-short">Host Controller Capability Parameters</div></li><li><div class="item-name"><a class="mod" href="HCIVERSION/index.html" title="mod imxrt_ral::usb::HCIVERSION">HCIVERSION</a></div><div class="desc docblock-short">Host Controller Interface Version</div></li><li><div class="item-name"><a class="mod" href="HCSPARAMS/index.html" title="mod imxrt_ral::usb::HCSPARAMS">HCSPARAMS</a></div><div class="desc docblock-short">Host Controller Structural Parameters</div></li><li><div class="item-name"><a class="mod" href="HWDEVICE/index.html" title="mod imxrt_ral::usb::HWDEVICE">HWDEVICE</a></div><div class="desc docblock-short">Device Hardware Parameters</div></li><li><div class="item-name"><a class="mod" href="HWGENERAL/index.html" title="mod imxrt_ral::usb::HWGENERAL">HWGENERAL</a></div><div class="desc docblock-short">Hardware General</div></li><li><div class="item-name"><a class="mod" href="HWHOST/index.html" title="mod imxrt_ral::usb::HWHOST">HWHOST</a></div><div class="desc docblock-short">Host Hardware Parameters</div></li><li><div class="item-name"><a class="mod" href="HWRXBUF/index.html" title="mod imxrt_ral::usb::HWRXBUF">HWRXBUF</a></div><div class="desc docblock-short">RX Buffer Hardware Parameters</div></li><li><div class="item-name"><a class="mod" href="HWTXBUF/index.html" title="mod imxrt_ral::usb::HWTXBUF">HWTXBUF</a></div><div class="desc docblock-short">TX Buffer Hardware Parameters</div></li><li><div class="item-name"><a class="mod" href="ID/index.html" title="mod imxrt_ral::usb::ID">ID</a></div><div class="desc docblock-short">Identification register</div></li><li><div class="item-name"><a class="mod" href="OTGSC/index.html" title="mod imxrt_ral::usb::OTGSC">OTGSC</a></div><div class="desc docblock-short">On-The-Go Status &amp; control</div></li><li><div class="item-name"><a class="mod" href="PORTSC1/index.html" title="mod imxrt_ral::usb::PORTSC1">PORTSC1</a></div><div class="desc docblock-short">Port Status &amp; Control</div></li><li><div class="item-name"><a class="mod" href="SBUSCFG/index.html" title="mod imxrt_ral::usb::SBUSCFG">SBUSCFG</a></div><div class="desc docblock-short">System Bus Config</div></li><li><div class="item-name"><a class="mod" href="TXFILLTUNING/index.html" title="mod imxrt_ral::usb::TXFILLTUNING">TXFILLTUNING</a></div><div class="desc docblock-short">TX FIFO Fill Tuning</div></li><li><div class="item-name"><a class="mod" href="USBCMD/index.html" title="mod imxrt_ral::usb::USBCMD">USBCMD</a></div><div class="desc docblock-short">USB Command Register</div></li><li><div class="item-name"><a class="mod" href="USBINTR/index.html" title="mod imxrt_ral::usb::USBINTR">USBINTR</a></div><div class="desc docblock-short">Interrupt Enable Register</div></li><li><div class="item-name"><a class="mod" href="USBMODE/index.html" title="mod imxrt_ral::usb::USBMODE">USBMODE</a></div><div class="desc docblock-short">USB Device Mode</div></li><li><div class="item-name"><a class="mod" href="USBSTS/index.html" title="mod imxrt_ral::usb::USBSTS">USBSTS</a></div><div class="desc docblock-short">USB Status Register</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 imxrt_ral::usb::RegisterBlock">Register<wbr>Block</a></div><div class="desc docblock-short">USB</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.USB.html" title="constant imxrt_ral::usb::USB">USB</a></div><div class="desc docblock-short">USB</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.number.html" title="fn imxrt_ral::usb::number">number</a></div><div class="desc docblock-short">Returns the instance number <code>N</code> for a peripheral instance.</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.Instance.html" title="type imxrt_ral::usb::Instance">Instance</a></div></li><li><div class="item-name"><a class="type" href="type.USB.html" title="type imxrt_ral::usb::USB">USB</a></div></li></ul></section></div></main></body></html>