]> Git Repo - pico-vscode.git/blob - web/docs/riscv__platform__timer_8h.html
Merge branch 'main' into main
[pico-vscode.git] / web / docs / riscv__platform__timer_8h.html
1 <!-- HTML header for doxygen 1.8.20-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5         <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6         <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7         <meta name="generator" content="Doxygen 1.9.4"/>
8         <meta name="viewport" content="width=device-width, initial-scale=1"/>
9         <title>Raspberry Pi Pico SDK: include/hardware/riscv_platform_timer.h File Reference</title>
10         <!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
11         <script type="text/javascript" src="jquery.js"></script>
12         <script type="text/javascript" src="dynsections.js"></script>
13         <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17         <link href="search/search.css" rel="stylesheet" type="text/css"/>
18 <script type="text/javascript" src="search/searchdata.js"></script>
19 <script type="text/javascript" src="search/search.js"></script>
20     <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
21         <link href="doxygen.css" rel="stylesheet" type="text/css" />
22         <link href="normalise.css" rel="stylesheet" type="text/css"/>
23 <link href="main.css" rel="stylesheet" type="text/css"/>
24 <link href="styles.css" rel="stylesheet" type="text/css"/>
25 </head>
26 <body>
27         <div class="navigation-mobile">
28                 <div class="logo--mobile">
29                         <a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
30                 </div>
31                 <div class="navigation-toggle">
32                         <span class="line-1"></span>
33                         <span class="line-2">
34                                 <p>Menu Toggle</p>
35                         </span>
36                         <span class="line-3"></span>
37                 </div>
38         </div>
39         <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40                 <div class="logo">
41                         <a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
42                         <span style="display: inline-block; margin-top: 10px;">
43                                 v2.0.0
44                         </span>
45                 </div>
46                 <div class="navigation-footer">
47                         <img src="logo-mobile.svg" alt="Raspberry Pi">
48                         <a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
49                 </div>
50 <!--            <div class="search">
51                         <form>
52                                 <input type="search" name="search" id="search" placeholder="Search">
53                                 <input type="submit" value="Search">
54                         </form>
55                 </div> -->
56 <!-- Generated by Doxygen 1.9.4 -->
57 <script type="text/javascript">
58 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
59 var searchBox = new SearchBox("searchBox", "search",'Search','.html');
60 /* @license-end */
61 </script>
62 <script type="text/javascript" src="menudata.js"></script>
63 <script type="text/javascript" src="menu.js"></script>
64 <script type="text/javascript">
65 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
66 $(function() {
67   initMenu('',true,false,'search.php','Search');
68   $(document).ready(function() { init_search(); });
69 });
70 /* @license-end */
71 </script>
72 <div id="main-nav"></div>
73 </div><!-- top -->
74 <div id="side-nav" class="ui-resizable side-nav-resizable">
75   <div id="nav-tree">
76     <div id="nav-tree-contents">
77       <div id="nav-sync" class="sync"></div>
78     </div>
79   </div>
80   <div id="splitbar" style="-moz-user-select:none;" 
81        class="ui-resizable-handle">
82   </div>
83 </div>
84 <script type="text/javascript">
85 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
86 $(document).ready(function(){initNavTree('riscv__platform__timer_8h.html',''); initResizable(); });
87 /* @license-end */
88 </script>
89 <div id="doc-content">
90 <!-- window showing the filter options -->
91 <div id="MSearchSelectWindow"
92      onmouseover="return searchBox.OnSearchSelectShow()"
93      onmouseout="return searchBox.OnSearchSelectHide()"
94      onkeydown="return searchBox.OnSearchSelectKey(event)">
95 </div>
96
97 <!-- iframe showing the search results (closed by default) -->
98 <div id="MSearchResultsWindow">
99 <iframe src="javascript:void(0)" frameborder="0" 
100         name="MSearchResults" id="MSearchResults">
101 </iframe>
102 </div>
103
104 <div class="header">
105   <div class="summary">
106 <a href="#func-members">Functions</a>  </div>
107   <div class="headertitle"><div class="title">riscv_platform_timer.h File Reference</div></div>
108 </div><!--header-->
109 <div class="contents">
110 <div class="textblock"><code>#include &quot;<a class="el" href="pico_8h_source.html">pico.h</a>&quot;</code><br />
111 <code>#include &quot;hardware/structs/sio.h&quot;</code><br />
112 </div><div class="textblock"><div class="dynheader">
113 Include dependency graph for riscv_platform_timer.h:</div>
114 <div class="dyncontent">
115 <div class="center"><img src="riscv__platform__timer_8h__incl.png" border="0" usemap="#ainclude_2hardware_2riscv__platform__timer_8h" alt=""/></div>
116 <map name="ainclude_2hardware_2riscv__platform__timer_8h" id="ainclude_2hardware_2riscv__platform__timer_8h">
117 <area shape="rect" title=" " alt="" coords="427,5,596,47"/>
118 <area shape="rect" href="pico_8h.html" title=" " alt="" coords="411,95,473,121"/>
119 <area shape="rect" title=" " alt="" coords="497,95,664,121"/>
120 <area shape="rect" href="common_2pico__base__headers_2include_2pico_2types_8h_source.html" title=" " alt="" coords="158,319,259,345"/>
121 <area shape="rect" title=" " alt="" coords="252,169,365,196"/>
122 <area shape="rect" href="common_2pico__base__headers_2include_2pico_2config_8h_source.html" title=" " alt="" coords="390,169,494,196"/>
123 <area shape="rect" href="platform_8h.html" title=" " alt="" coords="596,169,717,196"/>
124 <area shape="rect" href="error_8h_source.html" title=" " alt="" coords="741,169,836,196"/>
125 <area shape="rect" href="assert_8h_source.html" title=" " alt="" coords="5,393,111,420"/>
126 <area shape="rect" title=" " alt="" coords="74,468,157,495"/>
127 <area shape="rect" title=" " alt="" coords="211,393,281,420"/>
128 <area shape="rect" title=" " alt="" coords="306,393,381,420"/>
129 <area shape="rect" title=" " alt="" coords="173,244,337,271"/>
130 <area shape="rect" href="compiler_8h_source.html" title=" " alt="" coords="362,244,543,271"/>
131 <area shape="rect" href="sections_8h_source.html" title=" " alt="" coords="567,244,746,271"/>
132 <area shape="rect" href="panic_8h_source.html" title=" " alt="" coords="770,244,930,271"/>
133 <area shape="rect" title=" " alt="" coords="954,244,1165,271"/>
134 <area shape="rect" title=" " alt="" coords="1189,244,1340,271"/>
135 <area shape="rect" title=" " alt="" coords="357,319,548,345"/>
136 </map>
137 </div>
138 </div>
139 <p><a href="riscv__platform__timer_8h_source.html">Go to the source code of this file.</a></p>
140 <table class="memberdecls">
141 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
142 Functions</h2></td></tr>
143 <tr class="memitem:ga2afc7ae3feafc019abd3883a3f2fe04f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#ga2afc7ae3feafc019abd3883a3f2fe04f">riscv_timer_set_enabled</a> (bool enabled)</td></tr>
144 <tr class="memdesc:ga2afc7ae3feafc019abd3883a3f2fe04f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable the RISC-V platform timer.  <a href="group__hardware__riscv__platform__timer.html#ga2afc7ae3feafc019abd3883a3f2fe04f">More...</a><br /></td></tr>
145 <tr class="separator:ga2afc7ae3feafc019abd3883a3f2fe04f"><td class="memSeparator" colspan="2">&#160;</td></tr>
146 <tr class="memitem:gacdd646c3b36c51473a16c07a799f9eec"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#gacdd646c3b36c51473a16c07a799f9eec">riscv_timer_set_fullspeed</a> (bool fullspeed)</td></tr>
147 <tr class="memdesc:gacdd646c3b36c51473a16c07a799f9eec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the RISC-V platform timer to run at full system clock speed.  <a href="group__hardware__riscv__platform__timer.html#gacdd646c3b36c51473a16c07a799f9eec">More...</a><br /></td></tr>
148 <tr class="separator:gacdd646c3b36c51473a16c07a799f9eec"><td class="memSeparator" colspan="2">&#160;</td></tr>
149 <tr class="memitem:gab016600bb8fc7553da83a90501371693"><td class="memItemLeft" align="right" valign="top">static uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#gab016600bb8fc7553da83a90501371693">riscv_timer_get_mtime</a> (void)</td></tr>
150 <tr class="memdesc:gab016600bb8fc7553da83a90501371693"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the RISC-V platform timer.  <a href="group__hardware__riscv__platform__timer.html#gab016600bb8fc7553da83a90501371693">More...</a><br /></td></tr>
151 <tr class="separator:gab016600bb8fc7553da83a90501371693"><td class="memSeparator" colspan="2">&#160;</td></tr>
152 <tr class="memitem:ga96285c497dceb9126e6ea3130be72bcb"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#ga96285c497dceb9126e6ea3130be72bcb">riscv_timer_set_mtime</a> (uint64_t mtime)</td></tr>
153 <tr class="memdesc:ga96285c497dceb9126e6ea3130be72bcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the RISC-V platform timer.  <a href="group__hardware__riscv__platform__timer.html#ga96285c497dceb9126e6ea3130be72bcb">More...</a><br /></td></tr>
154 <tr class="separator:ga96285c497dceb9126e6ea3130be72bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
155 <tr class="memitem:ga148695c3ff3dce3222934040cfc77d91"><td class="memItemLeft" align="right" valign="top">static uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#ga148695c3ff3dce3222934040cfc77d91">riscv_timer_get_mtimecmp</a> (void)</td></tr>
156 <tr class="memdesc:ga148695c3ff3dce3222934040cfc77d91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current RISC-V platform timer mtimecmp value for this core.  <a href="group__hardware__riscv__platform__timer.html#ga148695c3ff3dce3222934040cfc77d91">More...</a><br /></td></tr>
157 <tr class="separator:ga148695c3ff3dce3222934040cfc77d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
158 <tr class="memitem:ga7003005e0d2142e95ce53f2ceee29fdd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__riscv__platform__timer.html#ga7003005e0d2142e95ce53f2ceee29fdd">riscv_timer_set_mtimecmp</a> (uint64_t mtimecmp)</td></tr>
159 <tr class="memdesc:ga7003005e0d2142e95ce53f2ceee29fdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a new RISC-V platform timer interrupt comparison value (mtimecmp) for this core.  <a href="group__hardware__riscv__platform__timer.html#ga7003005e0d2142e95ce53f2ceee29fdd">More...</a><br /></td></tr>
160 <tr class="separator:ga7003005e0d2142e95ce53f2ceee29fdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
161 </table>
162 </div><!-- contents -->
163 </div><!-- doc-content -->
164
165         <script src="main.js"></script>
166 </body>
167 </html>
This page took 0.037787 seconds and 4 git commands to generate.