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

2 lines
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="USB PHY General Control Register"><title>imxrt_ral::usbphy::CTRL_SET - 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 CTRL_<wbr>SET</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In imxrt_<wbr>ral::<wbr>usbphy</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>::<wbr><a href="../index.html">usbphy</a></span><h1>Module <span>CTRL_SET</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/blocks/imxrt1011/usbphy.rs.html#1117">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>USB PHY General Control Register</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="CLKGATE/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::CLKGATE">CLKGATE</a></div><div class="desc docblock-short">Gate UTMI Clocks</div></li><li><div class="item-name"><a class="mod" href="DATA_ON_LRADC/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::DATA_ON_LRADC">DATA_<wbr>ON_<wbr>LRADC</a></div><div class="desc docblock-short">Enables the LRADC to monitor USB_DP and USB_DM. This is for use in non-USB modes only.</div></li><li><div class="item-name"><a class="mod" href="DEVPLUGIN_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::DEVPLUGIN_IRQ">DEVPLUGIN_<wbr>IRQ</a></div><div class="desc docblock-short">Indicates that the device is connected</div></li><li><div class="item-name"><a class="mod" href="DEVPLUGIN_POLARITY/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::DEVPLUGIN_POLARITY">DEVPLUGIN_<wbr>POLARITY</a></div><div class="desc docblock-short">For device mode, if this bit is cleared to 0, then it trips the interrupt if the device is plugged in</div></li><li><div class="item-name"><a class="mod" href="ENAUTOCLR_CLKGATE/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENAUTOCLR_CLKGATE">ENAUTOCLR_<wbr>CLKGATE</a></div><div class="desc docblock-short">Enables the feature to auto-clear the CLKGATE bit if there is wakeup event while USB is suspended</div></li><li><div class="item-name"><a class="mod" href="ENAUTOCLR_PHY_PWD/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENAUTOCLR_PHY_PWD">ENAUTOCLR_<wbr>PHY_<wbr>PWD</a></div><div class="desc docblock-short">Enables the feature to auto-clear the PWD register bits in USBPHYx_PWD if there is wakeup event while USB is suspended</div></li><li><div class="item-name"><a class="mod" href="ENAUTO_PWRON_PLL/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENAUTO_PWRON_PLL">ENAUTO_<wbr>PWRON_<wbr>PLL</a></div><div class="desc docblock-short">Enables the feature to auto-enable the POWER bit of HW_CLKCTRL_PLLxCTRL0 if there is wakeup event if USB is suspended</div></li><li><div class="item-name"><a class="mod" href="ENDEVPLUGINDETECT/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENDEVPLUGINDETECT">ENDEVPLUGINDETECT</a></div><div class="desc docblock-short">For device mode, enables 200-KOhm pullups for detecting connectivity to the host.</div></li><li><div class="item-name"><a class="mod" href="ENDPDMCHG_WKUP/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENDPDMCHG_WKUP">ENDPDMCHG_<wbr>WKUP</a></div><div class="desc docblock-short">Enables the feature to wakeup USB if DP/DM is toggled when USB is suspended</div></li><li><div class="item-name"><a class="mod" href="ENHOSTDISCONDETECT/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENHOSTDISCONDETECT">ENHOSTDISCONDETECT</a></div><div class="desc docblock-short">For host mode, enables high-speed disconnect detector</div></li><li><div class="item-name"><a class="mod" href="ENIDCHG_WKUP/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENIDCHG_WKUP">ENIDCHG_<wbr>WKUP</a></div><div class="desc docblock-short">Enables the feature to wakeup USB if ID is toggled when USB is suspended.</div></li><li><div class="item-name"><a class="mod" href="ENIRQDEVPLUGIN/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENIRQDEVPLUGIN">ENIRQDEVPLUGIN</a></div><div class="desc docblock-short">Enables interrupt for the detection of connectivity to the USB line.</div></li><li><div class="item-name"><a class="mod" href="ENIRQHOSTDISCON/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENIRQHOSTDISCON">ENIRQHOSTDISCON</a></div><div class="desc docblock-short">Enables interrupt for detection of disconnection to Device when in high-speed host mode</div></li><li><div class="item-name"><a class="mod" href="ENIRQRESUMEDETECT/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENIRQRESUMEDETECT">ENIRQRESUMEDETECT</a></div><div class="desc docblock-short">Enables interrupt for detection of a non-J state on the USB line</div></li><li><div class="item-name"><a class="mod" href="ENIRQWAKEUP/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENIRQWAKEUP">ENIRQWAKEUP</a></div><div class="desc docblock-short">Enables interrupt for the wakeup events.</div></li><li><div class="item-name"><a class="mod" href="ENOTGIDDETECT/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENOTGIDDETECT">ENOTGIDDETECT</a></div><div class="desc docblock-short">Enables circuit to detect resistance of MiniAB ID pin.</div></li><li><div class="item-name"><a class="mod" href="ENOTG_ID_CHG_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENOTG_ID_CHG_IRQ">ENOTG_<wbr>ID_<wbr>CHG_<wbr>IRQ</a></div><div class="desc docblock-short">Enable OTG_ID_CHG_IRQ.</div></li><li><div class="item-name"><a class="mod" href="ENUTMILEVEL2/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENUTMILEVEL2">ENUTMILEVE<wbr>L2</a></div><div class="desc docblock-short">Enables UTMI+ Level2. This should be enabled if needs to support LS device</div></li><li><div class="item-name"><a class="mod" href="ENUTMILEVEL3/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENUTMILEVEL3">ENUTMILEVE<wbr>L3</a></div><div class="desc docblock-short">Enables UTMI+ Level3</div></li><li><div class="item-name"><a class="mod" href="ENVBUSCHG_WKUP/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::ENVBUSCHG_WKUP">ENVBUSCHG_<wbr>WKUP</a></div><div class="desc docblock-short">Enables the feature to wakeup USB if VBUS is toggled when USB is suspended.</div></li><li><div class="item-name"><a class="mod" href="FSDLL_RST_EN/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::FSDLL_RST_EN">FSDLL_<wbr>RST_<wbr>EN</a></div><div class="desc docblock-short">Enables the feature to reset the FSDLL lock detection logic at the end of each TX packet.</div></li><li><div class="item-name"><a class="mod" href="HOSTDISCONDETECT_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::HOSTDISCONDETECT_IRQ">HOSTDISCONDETECT_<wbr>IRQ</a></div><div class="desc docblock-short">Indicates that the device has disconnected in high-speed mode</div></li><li><div class="item-name"><a class="mod" href="HOST_FORCE_LS_SE0/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::HOST_FORCE_LS_SE0">HOST_<wbr>FORCE_<wbr>LS_<wbr>SE0</a></div><div class="desc docblock-short">Forces the next FS packet that is transmitted to have a EOP with LS timing</div></li><li><div class="item-name"><a class="mod" href="OTG_ID_CHG_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::OTG_ID_CHG_IRQ">OTG_<wbr>ID_<wbr>CHG_<wbr>IRQ</a></div><div class="desc docblock-short">OTG ID change interrupt. Indicates the value of ID pin changed.</div></li><li><div class="item-name"><a class="mod" href="OTG_ID_VALUE/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::OTG_ID_VALUE">OTG_<wbr>ID_<wbr>VALUE</a></div><div class="desc docblock-short">Almost same as OTGID_STATUS in USBPHYx_STATUS Register</div></li><li><div class="item-name"><a class="mod" href="RESUMEIRQSTICKY/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::RESUMEIRQSTICKY">RESUMEIRQSTICKY</a></div><div class="desc docblock-short">Set to 1 will make RESUME_IRQ bit a sticky bit until software clear it</div></li><li><div class="item-name"><a class="mod" href="RESUME_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::RESUME_IRQ">RESUME_<wbr>IRQ</a></div><div class="desc docblock-short">Indicates that the host is sending a wake-up after suspend</div></li><li><div class="item-name"><a class="mod" href="RSVD1/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::RSVD1">RSVD1</a></div><div class="desc docblock-short">Reserved.</div></li><li><div class="item-name"><a class="mod" href="SFTRST/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::SFTRST">SFTRST</a></div><div class="desc docblock-short">Writing a 1 to this bit will soft-reset the USBPHYx_PWD, USBPHYx_TX, USBPHYx_RX, and USBPHYx_CTRL registers</div></li><li><div class="item-name"><a class="mod" href="UTMI_SUSPENDM/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::UTMI_SUSPENDM">UTMI_<wbr>SUSPENDM</a></div><div class="desc docblock-short">Used by the PHY to indicate a powered-down state</div></li><li><div class="item-name"><a class="mod" href="WAKEUP_IRQ/index.html" title="mod imxrt_ral::usbphy::CTRL_SET::WAKEUP_IRQ">WAKEUP_<wbr>IRQ</a></div><div class="desc docblock-short">Indicates that there is a wakeup event</div></li></ul></section></div></main></body></html>