mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 12:42:52 +01:00
2 lines
No EOL
12 KiB
HTML
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-492a78a4a87dcc01.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.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="../sidebar-items.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"><!--[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><h2 class="location"><a href="#">Module CTRL_<wbr>SET</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li></ul></section><h2><a href="../index.html">In imxrt_<wbr>ral::<wbr>usbphy</a></h2></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>Module <a href="../../index.html">imxrt_ral</a>::<wbr><a href="../index.html">usbphy</a>::<wbr><a class="mod" href="#">CTRL_SET</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/imxrt_ral/blocks/imxrt1011/usbphy.rs.html#1117">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></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">DEVPLUGI<wbr>N_<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">DEVPLUGI<wbr>N_<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">ENAUTOCL<wbr>R_<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">ENAUTOCL<wbr>R_<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">ENAUT<wbr>O_<wbr>PWRO<wbr>N_<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">ENDPDMCH<wbr>G_<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">ENIDCH<wbr>G_<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">ENOT<wbr>G_<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">ENVBUSCH<wbr>G_<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">FSDL<wbr>L_<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">HOSTDISCONDETEC<wbr>T_<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>FORC<wbr>E_<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">RESUM<wbr>E_<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">WAKEU<wbr>P_<wbr>IRQ</a></div><div class="desc docblock-short">Indicates that there is a wakeup event</div></li></ul></section></div></main></body></html> |