This commit is contained in:
joeycastillo
2024-02-07 19:02:57 +00:00
parent cd62140803
commit 849ae6e1c4
103 changed files with 1303 additions and 985 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Sensor Watch: watch-library/shared/watch/watch_rtc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -30,7 +30,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -47,6 +47,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -109,6 +114,7 @@ $(function() {
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#define WATCH_RTC_REFERENCE_YEAR (2020)</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="unionwatch__date__time.html"> 44</a></span><span class="keyword">typedef</span> <span class="keyword">union </span>{</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> uint32_t second : 6; <span class="comment">// 0-59</span></div>
@@ -120,6 +126,7 @@ $(function() {
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> } unit;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> uint32_t reg; <span class="comment">// the bit-packed value as expected by the RTC peripheral&#39;s CLOCK register.</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>} <a class="code hl_union" href="unionwatch__date__time.html">watch_date_time</a>;</div>
</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keyword">typedef</span> <span class="keyword">enum</span> watch_rtc_alarm_match {</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> ALARM_MATCH_DISABLED = 0,</div>
@@ -168,12 +175,12 @@ $(function() {
<div class="ttc" id="agroup__rtc_html_gadfcc143db9d71e95c2d2dc45732ab4e5"><div class="ttname"><a href="group__rtc.html#gadfcc143db9d71e95c2d2dc45732ab4e5">watch_rtc_set_date_time</a></div><div class="ttdeci">void watch_rtc_set_date_time(watch_date_time date_time)</div><div class="ttdoc">Sets the date and time.</div></div>
<div class="ttc" id="agroup__rtc_html_gaeb4e67aa0062e39eaff465aeebc24f53"><div class="ttname"><a href="group__rtc.html#gaeb4e67aa0062e39eaff465aeebc24f53">watch_rtc_register_periodic_callback</a></div><div class="ttdeci">void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency)</div><div class="ttdoc">Registers a callback that will be called at a configurable period.</div></div>
<div class="ttc" id="agroup__rtc_html_gaf90cba54229b673627303ebd29c664db"><div class="ttname"><a href="group__rtc.html#gaf90cba54229b673627303ebd29c664db">watch_rtc_freqcorr_write</a></div><div class="ttdeci">void watch_rtc_freqcorr_write(int16_t value, int16_t sign)</div><div class="ttdoc">Adjusts frequency correction in single register write. Not waiting for syncronisation to save power -...</div></div>
<div class="ttc" id="aunionwatch__date__time_html"><div class="ttname"><a href="unionwatch__date__time.html">watch_date_time</a></div><div class="ttdef"><b>Definition:</b> watch_rtc.h:44</div></div>
<div class="ttc" id="aunionwatch__date__time_html"><div class="ttname"><a href="unionwatch__date__time.html">watch_date_time</a></div><div class="ttdef"><b>Definition</b> watch_rtc.h:44</div></div>
<div class="ttc" id="awatch_8h_html"><div class="ttname"><a href="watch_8h.html">watch.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>