From 46c14a44e8e889bbdd317895492b70b179070441 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 14 Dec 2021 17:06:59 +0000 Subject: deploy: e8e9a0e2d86d37fa0354b3475c907eae1bf5a6dd --- .nojekyll | 0 annotated.html | 81 ++ bc_s.png | Bin 0 -> 676 bytes bdwn.png | Bin 0 -> 147 bytes classes.html | 82 ++ closed.png | Bin 0 -> 132 bytes dir_9dad893af07e666757bee97778571595.html | 86 ++ dir_f1a087a6659d970f5756e21fc1ac4961.html | 84 ++ doc.png | Bin 0 -> 746 bytes doxygen.css | 1793 +++++++++++++++++++++++++++++ doxygen.svg | 26 + dynsections.js | 121 ++ files.html | 97 ++ folderclosed.png | Bin 0 -> 616 bytes folderopen.png | Bin 0 -> 597 bytes globals.html | 77 ++ globals_func.html | 77 ++ group__adc.html | 354 ++++++ group__app.html | 208 ++++ group__buttons.html | 178 +++ group__buzzer.html | 559 +++++++++ group__debug.html | 122 ++ group__deepsleep.html | 325 ++++++ group__gpio.html | 332 ++++++ group__i2c.html | 404 +++++++ group__led.html | 260 +++++ group__rtc.html | 431 +++++++ group__slcd.html | 541 +++++++++ group__utility.html | 347 ++++++ index.html | 90 ++ jquery.js | 35 + menu.js | 51 + menudata.js | 35 + modules.html | 92 ++ nav_f.png | Bin 0 -> 153 bytes nav_g.png | Bin 0 -> 95 bytes nav_h.png | Bin 0 -> 98 bytes open.png | Bin 0 -> 123 bytes search/all_0.html | 37 + search/all_0.js | 5 + search/all_1.html | 37 + search/all_1.js | 11 + search/all_2.html | 37 + search/all_2.js | 94 ++ search/all_3.html | 37 + search/all_3.js | 5 + search/all_4.html | 37 + search/all_4.js | 4 + search/all_5.html | 37 + search/all_5.js | 4 + search/all_6.html | 37 + search/all_6.js | 4 + search/all_7.html | 37 + search/all_7.js | 4 + search/all_8.html | 37 + search/all_8.js | 6 + search/all_9.html | 37 + search/all_9.js | 4 + search/all_a.html | 37 + search/all_a.js | 91 ++ search/classes_0.html | 37 + search/classes_0.js | 4 + search/close.svg | 31 + search/enums_0.html | 37 + search/enums_0.js | 4 + search/enums_1.html | 37 + search/enums_1.js | 5 + search/enumvalues_0.html | 37 + search/enumvalues_0.js | 91 ++ search/enumvalues_1.html | 37 + search/enumvalues_1.js | 8 + search/files_0.html | 37 + search/files_0.js | 4 + search/functions_0.html | 37 + search/functions_0.js | 5 + search/functions_1.html | 37 + search/functions_1.js | 9 + search/functions_2.html | 37 + search/functions_2.js | 82 ++ search/groups_0.html | 37 + search/groups_0.js | 5 + search/groups_1.html | 37 + search/groups_1.js | 5 + search/groups_2.html | 37 + search/groups_2.js | 5 + search/groups_3.html | 37 + search/groups_3.js | 4 + search/groups_4.html | 37 + search/groups_4.js | 4 + search/groups_5.html | 37 + search/groups_5.js | 4 + search/groups_6.html | 37 + search/groups_6.js | 5 + search/groups_7.html | 37 + search/groups_7.js | 4 + search/mag_sel.svg | 74 ++ search/nomatches.html | 13 + search/pages_0.html | 37 + search/pages_0.js | 4 + search/search.css | 257 +++++ search/search.js | 816 +++++++++++++ search/search_l.png | Bin 0 -> 567 bytes search/search_m.png | Bin 0 -> 158 bytes search/search_r.png | Bin 0 -> 553 bytes search/searchdata.js | 42 + search/typedefs_0.html | 37 + search/typedefs_0.js | 4 + search/typedefs_1.html | 37 + search/typedefs_1.js | 5 + search/variables_0.html | 37 + search/variables_0.js | 4 + splitbar.png | Bin 0 -> 314 bytes sync_off.png | Bin 0 -> 853 bytes sync_on.png | Bin 0 -> 845 bytes tab_a.png | Bin 0 -> 142 bytes tab_b.png | Bin 0 -> 169 bytes tab_h.png | Bin 0 -> 177 bytes tab_s.png | Bin 0 -> 184 bytes tabs.css | 1 + tusb__config_8h_source.html | 171 +++ unionwatch__date__time.html | 110 ++ watch_8h.html | 128 ++ watch_8h_source.html | 128 ++ watch__adc_8h_source.html | 146 +++ watch__app_8h_source.html | 126 ++ watch__buzzer_8h_source.html | 312 +++++ watch__deepsleep_8h_source.html | 142 +++ watch__extint_8h_source.html | 134 +++ watch__gpio_8h_source.html | 134 +++ watch__i2c_8h_source.html | 138 +++ watch__led_8h_source.html | 137 +++ watch__private_8h_source.html | 126 ++ watch__rtc_8h_source.html | 174 +++ watch__slcd_8h_source.html | 169 +++ watch__uart_8h_source.html | 120 ++ watch__utility_8h_source.html | 128 ++ 136 files changed, 12326 insertions(+) create mode 100644 .nojekyll create mode 100644 annotated.html create mode 100644 bc_s.png create mode 100644 bdwn.png create mode 100644 classes.html create mode 100644 closed.png create mode 100644 dir_9dad893af07e666757bee97778571595.html create mode 100644 dir_f1a087a6659d970f5756e21fc1ac4961.html create mode 100644 doc.png create mode 100644 doxygen.css create mode 100644 doxygen.svg create mode 100644 dynsections.js create mode 100644 files.html create mode 100644 folderclosed.png create mode 100644 folderopen.png create mode 100644 globals.html create mode 100644 globals_func.html create mode 100644 group__adc.html create mode 100644 group__app.html create mode 100644 group__buttons.html create mode 100644 group__buzzer.html create mode 100644 group__debug.html create mode 100644 group__deepsleep.html create mode 100644 group__gpio.html create mode 100644 group__i2c.html create mode 100644 group__led.html create mode 100644 group__rtc.html create mode 100644 group__slcd.html create mode 100644 group__utility.html create mode 100644 index.html create mode 100644 jquery.js create mode 100644 menu.js create mode 100644 menudata.js create mode 100644 modules.html create mode 100644 nav_f.png create mode 100644 nav_g.png create mode 100644 nav_h.png create mode 100644 open.png create mode 100644 search/all_0.html create mode 100644 search/all_0.js create mode 100644 search/all_1.html create mode 100644 search/all_1.js create mode 100644 search/all_2.html create mode 100644 search/all_2.js create mode 100644 search/all_3.html create mode 100644 search/all_3.js create mode 100644 search/all_4.html create mode 100644 search/all_4.js create mode 100644 search/all_5.html create mode 100644 search/all_5.js create mode 100644 search/all_6.html create mode 100644 search/all_6.js create mode 100644 search/all_7.html create mode 100644 search/all_7.js create mode 100644 search/all_8.html create mode 100644 search/all_8.js create mode 100644 search/all_9.html create mode 100644 search/all_9.js create mode 100644 search/all_a.html create mode 100644 search/all_a.js create mode 100644 search/classes_0.html create mode 100644 search/classes_0.js create mode 100644 search/close.svg create mode 100644 search/enums_0.html create mode 100644 search/enums_0.js create mode 100644 search/enums_1.html create mode 100644 search/enums_1.js create mode 100644 search/enumvalues_0.html create mode 100644 search/enumvalues_0.js create mode 100644 search/enumvalues_1.html create mode 100644 search/enumvalues_1.js create mode 100644 search/files_0.html create mode 100644 search/files_0.js create mode 100644 search/functions_0.html create mode 100644 search/functions_0.js create mode 100644 search/functions_1.html create mode 100644 search/functions_1.js create mode 100644 search/functions_2.html create mode 100644 search/functions_2.js create mode 100644 search/groups_0.html create mode 100644 search/groups_0.js create mode 100644 search/groups_1.html create mode 100644 search/groups_1.js create mode 100644 search/groups_2.html create mode 100644 search/groups_2.js create mode 100644 search/groups_3.html create mode 100644 search/groups_3.js create mode 100644 search/groups_4.html create mode 100644 search/groups_4.js create mode 100644 search/groups_5.html create mode 100644 search/groups_5.js create mode 100644 search/groups_6.html create mode 100644 search/groups_6.js create mode 100644 search/groups_7.html create mode 100644 search/groups_7.js create mode 100644 search/mag_sel.svg create mode 100644 search/nomatches.html create mode 100644 search/pages_0.html create mode 100644 search/pages_0.js create mode 100644 search/search.css create mode 100644 search/search.js create mode 100644 search/search_l.png create mode 100644 search/search_m.png create mode 100644 search/search_r.png create mode 100644 search/searchdata.js create mode 100644 search/typedefs_0.html create mode 100644 search/typedefs_0.js create mode 100644 search/typedefs_1.html create mode 100644 search/typedefs_1.js create mode 100644 search/variables_0.html create mode 100644 search/variables_0.js create mode 100644 splitbar.png create mode 100644 sync_off.png create mode 100644 sync_on.png create mode 100644 tab_a.png create mode 100644 tab_b.png create mode 100644 tab_h.png create mode 100644 tab_s.png create mode 100644 tabs.css create mode 100644 tusb__config_8h_source.html create mode 100644 unionwatch__date__time.html create mode 100644 watch_8h.html create mode 100644 watch_8h_source.html create mode 100644 watch__adc_8h_source.html create mode 100644 watch__app_8h_source.html create mode 100644 watch__buzzer_8h_source.html create mode 100644 watch__deepsleep_8h_source.html create mode 100644 watch__extint_8h_source.html create mode 100644 watch__gpio_8h_source.html create mode 100644 watch__i2c_8h_source.html create mode 100644 watch__led_8h_source.html create mode 100644 watch__private_8h_source.html create mode 100644 watch__rtc_8h_source.html create mode 100644 watch__slcd_8h_source.html create mode 100644 watch__uart_8h_source.html create mode 100644 watch__utility_8h_source.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/annotated.html b/annotated.html new file mode 100644 index 00000000..db844a91 --- /dev/null +++ b/annotated.html @@ -0,0 +1,81 @@ + + + + + + + +Sensor Watch: Data Structures + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+ + +
 Cwatch_date_time
+
+
+ + + + diff --git a/bc_s.png b/bc_s.png new file mode 100644 index 00000000..224b29aa Binary files /dev/null and b/bc_s.png differ diff --git a/bdwn.png b/bdwn.png new file mode 100644 index 00000000..940a0b95 Binary files /dev/null and b/bdwn.png differ diff --git a/classes.html b/classes.html new file mode 100644 index 00000000..211762b3 --- /dev/null +++ b/classes.html @@ -0,0 +1,82 @@ + + + + + + + +Sensor Watch: Data Structure Index + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structure Index
+
+
+ + +
+ + + + diff --git a/closed.png b/closed.png new file mode 100644 index 00000000..98cc2c90 Binary files /dev/null and b/closed.png differ diff --git a/dir_9dad893af07e666757bee97778571595.html b/dir_9dad893af07e666757bee97778571595.html new file mode 100644 index 00000000..b4576c7a --- /dev/null +++ b/dir_9dad893af07e666757bee97778571595.html @@ -0,0 +1,86 @@ + + + + + + + +Sensor Watch: watch-library/watch Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
watch Directory Reference
+
+
+ + + + +

+Files

file  watch.h [code]
 
+
+ + + + diff --git a/dir_f1a087a6659d970f5756e21fc1ac4961.html b/dir_f1a087a6659d970f5756e21fc1ac4961.html new file mode 100644 index 00000000..e68ac90c --- /dev/null +++ b/dir_f1a087a6659d970f5756e21fc1ac4961.html @@ -0,0 +1,84 @@ + + + + + + + +Sensor Watch: watch-library Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
watch-library Directory Reference
+
+
+ + +

+Directories

+
+ + + + diff --git a/doc.png b/doc.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/doc.png differ diff --git a/doxygen.css b/doxygen.css new file mode 100644 index 00000000..ffbff022 --- /dev/null +++ b/doxygen.css @@ -0,0 +1,1793 @@ +/* The standard CSS for doxygen 1.9.1 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, th p.intertd, th p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.navtab { + border-right: 1px solid #A3B4D7; + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: #A0A0A0; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.odd { + background-color: #F8F9FC; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; + text-align:right; + width:52px; +} + +dl.citelist dd { + margin:2px 0 2px 72px; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/doxygen.svg b/doxygen.svg new file mode 100644 index 00000000..d42dad52 --- /dev/null +++ b/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dynsections.js b/dynsections.js new file mode 100644 index 00000000..3174bd7b --- /dev/null +++ b/dynsections.js @@ -0,0 +1,121 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +Sensor Watch: File List + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + +
  watch-library
  watch
 tusb_config.h
 watch.h
 watch_adc.h
 watch_app.h
 watch_buzzer.h
 watch_deepsleep.h
 watch_extint.h
 watch_gpio.h
 watch_i2c.h
 watch_led.h
 watch_private.h
 watch_rtc.h
 watch_slcd.h
 watch_uart.h
 watch_utility.h
+
+
+ + + + diff --git a/folderclosed.png b/folderclosed.png new file mode 100644 index 00000000..bb8ab35e Binary files /dev/null and b/folderclosed.png differ diff --git a/folderopen.png b/folderopen.png new file mode 100644 index 00000000..d6c7f676 Binary files /dev/null and b/folderopen.png differ diff --git a/globals.html b/globals.html new file mode 100644 index 00000000..002a1311 --- /dev/null +++ b/globals.html @@ -0,0 +1,77 @@ + + + + + + + +Sensor Watch: Globals + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
    +
  • watch_is_battery_low() +: watch.h +
  • +
+
+ + + + diff --git a/globals_func.html b/globals_func.html new file mode 100644 index 00000000..ef231ff3 --- /dev/null +++ b/globals_func.html @@ -0,0 +1,77 @@ + + + + + + + +Sensor Watch: Globals + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
    +
  • watch_is_battery_low() +: watch.h +
  • +
+
+ + + + diff --git a/group__adc.html b/group__adc.html new file mode 100644 index 00000000..4718ef4a --- /dev/null +++ b/group__adc.html @@ -0,0 +1,354 @@ + + + + + + + +Sensor Watch: Analog Input + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Analog Input
+
+
+ +

This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector. +More...

+ + + + +

+Enumerations

enum  watch_adc_reference_voltage { ADC_REFERENCE_INTREF = ADC_REFCTRL_REFSEL_INTREF_Val +, ADC_REFERENCE_VCC_DIV1POINT6 = ADC_REFCTRL_REFSEL_INTVCC0_Val +, ADC_REFERENCE_VCC_DIV2 = ADC_REFCTRL_REFSEL_INTVCC1_Val +, ADC_REFERENCE_VCC = ADC_REFCTRL_REFSEL_INTVCC2_Val + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+void watch_enable_adc (void)
 Enables the ADC peripheral. You must call this before attempting to read a value from an analog pin.
 
void watch_enable_analog_input (const uint8_t pin)
 Configures the selected pin for analog input. More...
 
uint16_t watch_get_analog_pin_level (const uint8_t pin)
 Reads an analog value from one of the pins. More...
 
void watch_set_analog_num_samples (uint16_t samples)
 Sets the number of samples to accumulate when measuring a pin level. Default is 16. More...
 
void watch_set_analog_sampling_length (uint8_t cycles)
 Sets the length of time spent sampling, which allows measurement of higher impedance inputs. Default is 1. More...
 
void watch_set_analog_reference_voltage (watch_adc_reference_voltage reference)
 Selects the reference voltage to use for analog readings. Default is ADC_REFERENCE_VCC. More...
 
uint16_t watch_get_vcc_voltage (void)
 Returns the voltage of the VCC supply in millivolts (i.e. 3000 mV == 3.0 V). If running on a coin cell, this will be the battery voltage. More...
 
void watch_disable_analog_input (const uint8_t pin)
 Disables the analog circuitry on the selected pin. More...
 
void watch_disable_adc (void)
 Disables the ADC peripheral. More...
 
+

Detailed Description

+

This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector.

+

Function Documentation

+ +

◆ watch_disable_adc()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_disable_adc (void )
+
+inline
+
+ +

Disables the ADC peripheral.

+
Note
You will need to call watch_enable_adc to re-enable the ADC peripheral. When you do, it will have the default settings of 16 samples and 1 measurement cycle; if you customized these parameters, you will need to set them up again.
+ +
+
+ +

◆ watch_disable_analog_input()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_disable_analog_input (const uint8_t pin)
+
+inline
+
+ +

Disables the analog circuitry on the selected pin.

+
Parameters
+ + +
pinOne of pins A0-A4.
+
+
+ +
+
+ +

◆ watch_enable_analog_input()

+ +
+
+ + + + + + + + +
void watch_enable_analog_input (const uint8_t pin)
+
+ +

Configures the selected pin for analog input.

+
Parameters
+ + +
pinOne of pins A0-A4.
+
+
+ +
+
+ +

◆ watch_get_analog_pin_level()

+ +
+
+ + + + + + + + +
uint16_t watch_get_analog_pin_level (const uint8_t pin)
+
+ +

Reads an analog value from one of the pins.

+
Parameters
+ + +
pinOne of pins A0-A4.
+
+
+
Returns
a 16-bit unsigned integer from 0-65535 representing the sampled value, unless you have changed the number of samples.
+
See also
watch_set_num_analog_samples for details on how that function changes the values returned from this one.
+ +
+
+ +

◆ watch_get_vcc_voltage()

+ +
+
+ + + + + + + + +
uint16_t watch_get_vcc_voltage (void )
+
+ +

Returns the voltage of the VCC supply in millivolts (i.e. 3000 mV == 3.0 V). If running on a coin cell, this will be the battery voltage.

+

Unlike other ADC functions, this function does not return a raw value from the ADC, but rather scales it to an actual number of millivolts. This is because the ADC doesn't let us measure VCC per se; it instead lets us measure VCC / 4, and we choose to measure it against the internal reference voltage of 1.024 V. In short, the ADC gives us a number that's complicated to deal with, so we just turn it into a useful number for you :)

Note
This function depends on INTREF being 1.024V. If you have changed it by poking at the supply controller's VREF.SEL bits, this function will return inaccurate values.
+ +
+
+ +

◆ watch_set_analog_num_samples()

+ +
+
+ + + + + + + + +
void watch_set_analog_num_samples (uint16_t samples)
+
+ +

Sets the number of samples to accumulate when measuring a pin level. Default is 16.

+
Parameters
+ + +
samplesA power of 2 <= 1024. Specifically: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 or 1024. Any other value will be ignored.
+
+
+

The SAM L22's ADC has a resolution of 12 bits. By default, the watch configures the ADC to take 16 samples of the analog input and accumulate them in the result register; this effectively gives us a 16-bit resolution, at the cost of taking 16 ADC cycles to complete a measurement. If you are measuring a slowly changing signal like a thermistor output or an ambient light sensor this is probably fine, even desirable. If you are measuring something a bit more fast-paced, like an analog accelerometer, you may wish to exchange precision for speed. In this case you may call this function to configure the ADC to accumulate fewer samples. HOWEVER! Note that this may change the range of values returned from watch_get_analog_pin_level:

    +
  • For watch_set_num_analog_samples(1), the returned value will be 12 bits (0-4095).
  • +
  • For watch_set_num_analog_samples(2), the returned value will be 13 bits (0-8191).
  • +
  • For watch_set_num_analog_samples(4), the returned value will be 14 bits (0-16383).
  • +
  • For watch_set_num_analog_samples(8), the returned value will be 15 bits (0-32767). For sampling values over 16, the returned value will still be 16 bits (0-65535); the ADC will automatically divide the measured value by whatever factor is necessary to fit the result in 16 bits.
    See also
    watch_get_analog_pin_level
    +
  • +
+ +
+
+ +

◆ watch_set_analog_reference_voltage()

+ +
+
+ + + + + + + + +
void watch_set_analog_reference_voltage (watch_adc_reference_voltage reference)
+
+ +

Selects the reference voltage to use for analog readings. Default is ADC_REFERENCE_VCC.

+
Parameters
+ + +
referenceOne of ADC_REFERENCE_VCC, ADC_REFERENCE_VCC_DIV1POINT6, ADC_REFERENCE_VCC_DIV2 or ADC_REFERENCE_INTREF.
+
+
+

In order to turn an analog voltage into a 16-bit integer, the ADC needs to compare the measured voltage to a reference point. For example, if you were powering the watch with VCC == 3.0V and you had two 10K resistors connected in series from 3V to GND, you could expect to get 3 volts when you measure the top of the voltage divider, 0 volts at the bottom, and 1.5 volts in the middle. If you read these values uising a reference voltage of ADC_REFERENCE_VCC, the top value would be about 65535, the bottom about 0, and the middle about 32768. However! If we used ADC_REFERENCE_VCC_DIV2 as our reference, we would expect to get 65535 both at the top and the middle, because the largest value the ADC can measure in this configutation is 1.5V (VCC / 2).

+

By changing the reference voltage from ADC_REFERENCE_VCC to ADC_REFERENCE_VCC_DIV1POINT6 or ADC_REFERENCE_VCC_DIV2, you can get more resolution when measuring small voltages (i.e. a phototransistor circuit in low light).

+

There is also a special reference voltage called ADC_REFERENCE_INTREF. The SAM L22's Supply Controller provides a selectable voltage reference (by default, 1.024 V) that you can select as a reference voltage for ADC conversions. Unlike the three references we talked about in the last paragraph, this reference voltage does not depend on VCC, which makes it very useful for measuring the battery voltage (since you can't really compare VCC to itself). You can change the INTREF voltage to 2.048 or 4.096 V by poking at the supply controller's VREF register, but the watch library does not support this use case.

+ +
+
+ +

◆ watch_set_analog_sampling_length()

+ +
+
+ + + + + + + + +
void watch_set_analog_sampling_length (uint8_t cycles)
+
+ +

Sets the length of time spent sampling, which allows measurement of higher impedance inputs. Default is 1.

+
Parameters
+ + +
cyclesThe number of ADC cycles to sample, between 1 and 64.
+
+
+
See also
this article by Thea Flowers: https://blog.thea.codes/getting-the-most-out-of-the-samd21-adc/ which is where I learned all of this.
+

To measure an analog value, the SAM L22 must charge a capacitor to the analog voltage presented at the input. This takes time. Importantly, the higher the input impedance, the more time this takes. As a basic example: if you are using a thermistor tied to VCC to measure temperature, the capacitor has to charge through the thermistor. The higher the resistor value, the higher the input impedance, and the more time we need to allow for the measurement. By default, the ADC is configured to run on a 500 kHz clock with a sample time of one cycle. This is appropriate for an input impedance up to about 28kΩ. Setting the sampling time to 4 cycles allows for an input impedance up to 123kΩ. Setting the sampling time to the maximum of 64 cycles theoretically allows for input impedance up to 2 MΩ. (I based these numbers on the calculator in the linked blog post; it also has a ton of great info on the SAM D21 ADC, which is similar to the SAM L22's).

+ +
+
+
+ + + + diff --git a/group__app.html b/group__app.html new file mode 100644 index 00000000..a2cea10c --- /dev/null +++ b/group__app.html @@ -0,0 +1,208 @@ + + + + + + + +Sensor Watch: Application Framework + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Application Framework
+
+
+ +

This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app. +More...

+ + + + + + + + + + + + + + + + + + + + +

+Functions

+void app_init (void)
 A function you will implement to initialize your application state. The app_init function is called before anything else. Use it to set up any internal data structures or application state required by your app, but don't configure any peripherals just yet.
 
+void app_wake_from_backup (void)
 A function you will implement to wake from BACKUP mode, which wipes the system's RAM, and with it, your application's state. You may have chosen to store some important application state in the RTC's backup registers prior to entering this mode. You may restore that state here.
 
void app_setup (void)
 A function you will implement to set up your application. The app_setup function is like setup() in Arduino. It is called once when the program begins. You should set pin modes and enable any peripherals you want to set up (real-time clock, I2C, etc.) Depending on your application, you may or may not want to configure sensors on your sensor board here. For example, a low-power accelerometer that will run at all times should be configured here, whereas you may want to enable a more power-hungry sensor only when you need it. More...
 
bool app_loop (void)
 A function you will implement to serve as the app's main run loop. This method will be called repeatedly, or if you enter STANDBY mode, as soon as the device wakes from sleep. More...
 
void app_prepare_for_standby (void)
 A function you will implement to prepare to enter STANDBY mode. The app_prepare_for_standby function is called after your app_loop function returns true, and just before the watch enters STANDBY mode. In this mode most peripherals are shut down, and no code will run until the watch receives an interrupt (generally either the 1Hz tick or a press on one of the buttons). More...
 
+void app_wake_from_standby (void)
 A method you will implement to configure the app after waking from STANDBY mode.
 
+

Detailed Description

+

This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app.

+

You should be able to write a watch app by simply implementing these functions and declaring callbacks for various GPIO and peripheral interrupts. The main.c file takes care of calling these functions for you. The general flow:

+
    +
  1. Your app_init() function is called.
      +
    • This method should only be used to set your initial application state.
    • +
    +
  2. +
  3. If your app is waking from BACKUP, app_wake_from_backup() is called.
      +
    • If you saved state in the RTC's backup registers, you can restore it here.
    • +
    +
  4. +
  5. Your app_setup() method is called.
      +
    • You may wish to enable some functionality and peripherals here.
    • +
    • You should definitely set up some interrupts here.
    • +
    +
  6. +
  7. The main run loop begins: your app_loop() function is called.
      +
    • Run code and update your UI here.
    • +
    • Return true if your app is prepared to enter STANDBY mode.
    • +
    +
  8. +
  9. This step differs depending on the value returned by app_loop:
      +
    • If you returned false, execution resumes at (4).
    • +
    • If you returned true, app_prepare_for_standby() is called; execution moves on to (6).
    • +
    +
  10. +
  11. The microcontroller enters STANDBY mode.
      +
    • No user code will run, and the watch will enter a low power mode.
    • +
    • The watch will remain in this state until an interrupt wakes it.
    • +
    +
  12. +
  13. Once woken from STANDBY, your app_wake_from_standby() function is called.
      +
    • After this, execution resumes at (4).
    • +
    +
  14. +
+

Function Documentation

+ +

◆ app_loop()

+ +
+
+ + + + + + + + +
bool app_loop (void )
+
+ +

A function you will implement to serve as the app's main run loop. This method will be called repeatedly, or if you enter STANDBY mode, as soon as the device wakes from sleep.

+
Returns
You should return true if your app is prepared to enter STANDBY mode. If you return false, your app's app_loop method will be called again immediately. Note that in STANDBY mode, the watch will consume only about 95 microamperes of power, whereas if you return false and keep the app awake, it will consume about 355 microamperes. This is the difference between months of battery life and days. As much as possible, you should limit the amount of time your app spends awake.
+
Note
Only the RTC, the segment LCD controller and the external interrupt controller run in STANDBY mode. If you are using, e.g. the PWM function to set a custom LED color, you should return false here until you are finished with that operation. Note however that the peripherals will continue running after waking up, so e.g. the I2C controller, if configured, will sleep in STANDBY. But you can use it again as soon as your app wakes up.
+ +
+
+ +

◆ app_prepare_for_standby()

+ +
+
+ + + + + + + + +
void app_prepare_for_standby (void )
+
+ +

A function you will implement to prepare to enter STANDBY mode. The app_prepare_for_standby function is called after your app_loop function returns true, and just before the watch enters STANDBY mode. In this mode most peripherals are shut down, and no code will run until the watch receives an interrupt (generally either the 1Hz tick or a press on one of the buttons).

+
Note
If you are PWM'ing the LED or playing a sound on the buzzer, the TC/TCC peripherals that drive those operations will not run in STANDBY. BUT! the output pins will retain the state they had when entering standby. This means you could end up entering standby with an LED on and draining power, or with a DC potential across the piezo buzzer that could damage it if left in this state. If your app_loop does not prevent sleep during these activities, you should make sure to disable these outputs in app_prepare_for_standby.
+ +
+
+ +

◆ app_setup()

+ +
+
+ + + + + + + + +
void app_setup (void )
+
+ +

A function you will implement to set up your application. The app_setup function is like setup() in Arduino. It is called once when the program begins. You should set pin modes and enable any peripherals you want to set up (real-time clock, I2C, etc.) Depending on your application, you may or may not want to configure sensors on your sensor board here. For example, a low-power accelerometer that will run at all times should be configured here, whereas you may want to enable a more power-hungry sensor only when you need it.

+
Note
If your app enters the ultra-low power BACKUP sleep mode, this function will be called again when it wakes from that deep sleep state. In this state, the RTC will still be configured with the correct date and time.
+ +
+
+
+ + + + diff --git a/group__buttons.html b/group__buttons.html new file mode 100644 index 00000000..0a9633fb --- /dev/null +++ b/group__buttons.html @@ -0,0 +1,178 @@ + + + + + + + +Sensor Watch: Buttons & External Interrupts + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Buttons & External Interrupts
+
+
+ +

This section covers functions related to the three buttons: Light, Mode and Alarm, as well as external interrupts from devices on the nine-pin connector. +More...

+ + + + + +

+Typedefs

+typedef enum watch_interrupt_trigger watch_interrupt_trigger
 An enum defining the types of interrupt trigger you wish to scan for.
 
+ + + + +

+Enumerations

enum  watch_interrupt_trigger { INTERRUPT_TRIGGER_NONE = 0 +, INTERRUPT_TRIGGER_RISING +, INTERRUPT_TRIGGER_FALLING +, INTERRUPT_TRIGGER_BOTH + }
 An enum defining the types of interrupt trigger you wish to scan for.
 
+ + + + + + + + + + + + + + +

+Functions

+void watch_enable_external_interrupts (void)
 Enables the external interrupt controller.
 
+void watch_disable_external_interrupts (void)
 Disables the external interrupt controller.
 
void watch_register_interrupt_callback (const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger)
 Configures an external interrupt callback on one of the external interrupt pins. More...
 
__attribute__ ((deprecated("Use watch_register_interrupt_callback or watch_register_extwake_callback instead"))) void watch_register_button_callback(const uint8_t pin
 
__attribute__ ((deprecated("Use watch_enable_external_interrupts instead"))) void watch_enable_buttons(void)
 
+ + + +

+Variables

+ext_irq_cb_t callback
 
+

Detailed Description

+

This section covers functions related to the three buttons: Light, Mode and Alarm, as well as external interrupts from devices on the nine-pin connector.

+

The buttons are the core input UI of the watch, and the way the user will interact with your application. They are active high, pulled down by the microcontroller, and triggered when one of the "pushers" brings a tab from the metal frame into contact with the edge of the board. Note that the buttons can only wake the watch from STANDBY mode, at least as of the current SAM L22 silicon revision. The external interrupt controller runs in STANDBY mode, but it does not run in BACKUP mode; to wake from BACKUP, buttons will not cut it.

+

Function Documentation

+ +

◆ watch_register_interrupt_callback()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_register_interrupt_callback (const uint8_t pin,
ext_irq_cb_t callback,
watch_interrupt_trigger trigger 
)
+
+ +

Configures an external interrupt callback on one of the external interrupt pins.

+

You can set one interrupt callback per pin, and you can monitor for a rising condition, a falling condition, or both. If you just want to detect a button press, register your interrupt with INTERRUPT_TRIGGER_RISING; if you want to detect an active-low interrupt signal from a device on the nine-pin connector, use INTERRUPT_TRIGGER_FALLING. If you want to detect both rising and falling conditions (i.e. button down and button up), use INTERRUPT_TRIGGER_BOTH and use watch_get_pin_level to check the pin level in your callback to determine which condition caused the interrupt.

Parameters
+ + + + +
pinOne of BTN_LIGHT, BTN_MODE, BTN_ALARM, A0, A1, A3 or A4. If the pin parameter matches one of the three button pins, this function will also enable an internal pull-down resistor. If the pin parameter is A0-A4, you are responsible for setting any required pull configuration using watch_enable_pull_up or watch_enable_pull_down.
callbackThe function you wish to have called when the button is pressed.
triggerThe condition on which you wish to trigger: rising, falling or both.
+
+
+
Note
Pins A2 and A4 can also generate interrupts via the watch_register_extwake_callback function, which will allow them to trigger even when the watch is in deep sleep mode.
+
Warning
As of now, A2 is not usable via the watch_register_interrupt_callback function. To enable an external interrupt on pin A2, use the watch_register_extwake_callback function. This issue will be addressed in a future revision of the watch library.
+ +
+
+
+ + + + diff --git a/group__buzzer.html b/group__buzzer.html new file mode 100644 index 00000000..7d9a1ed2 --- /dev/null +++ b/group__buzzer.html @@ -0,0 +1,559 @@ + + + + + + + +Sensor Watch: Buzzer + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Buzzer
+
+
+ +

This section covers functions related to the piezo buzzer embedded in the F-91W's back plate. +More...

+ + + + + +

+Typedefs

+typedef enum BuzzerNote BuzzerNote
 87 notes for use with watch_buzzer_play_note
 
+ + + + +

+Enumerations

enum  BuzzerNote {
+  BUZZER_NOTE_A1 +, BUZZER_NOTE_A1SHARP_B1FLAT +, BUZZER_NOTE_B1 +, BUZZER_NOTE_C2 +,
+  BUZZER_NOTE_C2SHARP_D2FLAT +, BUZZER_NOTE_D2 +, BUZZER_NOTE_D2SHARP_E2FLAT +, BUZZER_NOTE_E2 +,
+  BUZZER_NOTE_F2 +, BUZZER_NOTE_F2SHARP_G2FLAT +, BUZZER_NOTE_G2 +, BUZZER_NOTE_G2SHARP_A2FLAT +,
+  BUZZER_NOTE_A2 +, BUZZER_NOTE_A2SHARP_B2FLAT +, BUZZER_NOTE_B2 +, BUZZER_NOTE_C3 +,
+  BUZZER_NOTE_C3SHARP_D3FLAT +, BUZZER_NOTE_D3 +, BUZZER_NOTE_D3SHARP_E3FLAT +, BUZZER_NOTE_E3 +,
+  BUZZER_NOTE_F3 +, BUZZER_NOTE_F3SHARP_G3FLAT +, BUZZER_NOTE_G3 +, BUZZER_NOTE_G3SHARP_A3FLAT +,
+  BUZZER_NOTE_A3 +, BUZZER_NOTE_A3SHARP_B3FLAT +, BUZZER_NOTE_B3 +, BUZZER_NOTE_C4 +,
+  BUZZER_NOTE_C4SHARP_D4FLAT +, BUZZER_NOTE_D4 +, BUZZER_NOTE_D4SHARP_E4FLAT +, BUZZER_NOTE_E4 +,
+  BUZZER_NOTE_F4 +, BUZZER_NOTE_F4SHARP_G4FLAT +, BUZZER_NOTE_G4 +, BUZZER_NOTE_G4SHARP_A4FLAT +,
+  BUZZER_NOTE_A4 +, BUZZER_NOTE_A4SHARP_B4FLAT +, BUZZER_NOTE_B4 +, BUZZER_NOTE_C5 +,
+  BUZZER_NOTE_C5SHARP_D5FLAT +, BUZZER_NOTE_D5 +, BUZZER_NOTE_D5SHARP_E5FLAT +, BUZZER_NOTE_E5 +,
+  BUZZER_NOTE_F5 +, BUZZER_NOTE_F5SHARP_G5FLAT +, BUZZER_NOTE_G5 +, BUZZER_NOTE_G5SHARP_A5FLAT +,
+  BUZZER_NOTE_A5 +, BUZZER_NOTE_A5SHARP_B5FLAT +, BUZZER_NOTE_B5 +, BUZZER_NOTE_C6 +,
+  BUZZER_NOTE_C6SHARP_D6FLAT +, BUZZER_NOTE_D6 +, BUZZER_NOTE_D6SHARP_E6FLAT +, BUZZER_NOTE_E6 +,
+  BUZZER_NOTE_F6 +, BUZZER_NOTE_F6SHARP_G6FLAT +, BUZZER_NOTE_G6 +, BUZZER_NOTE_G6SHARP_A6FLAT +,
+  BUZZER_NOTE_A6 +, BUZZER_NOTE_A6SHARP_B6FLAT +, BUZZER_NOTE_B6 +, BUZZER_NOTE_C7 +,
+  BUZZER_NOTE_C7SHARP_D7FLAT +, BUZZER_NOTE_D7 +, BUZZER_NOTE_D7SHARP_E7FLAT +, BUZZER_NOTE_E7 +,
+  BUZZER_NOTE_F7 +, BUZZER_NOTE_F7SHARP_G7FLAT +, BUZZER_NOTE_G7 +, BUZZER_NOTE_G7SHARP_A7FLAT +,
+  BUZZER_NOTE_A7 +, BUZZER_NOTE_A7SHARP_B7FLAT +, BUZZER_NOTE_B7 +, BUZZER_NOTE_C8 +,
+  BUZZER_NOTE_C8SHARP_D8FLAT +, BUZZER_NOTE_D8 +, BUZZER_NOTE_D8SHARP_E8FLAT +, BUZZER_NOTE_E8 +,
+  BUZZER_NOTE_F8 +, BUZZER_NOTE_F8SHARP_G8FLAT +, BUZZER_NOTE_G8 +, BUZZER_NOTE_G8SHARP_A8FLAT +,
+  BUZZER_NOTE_A8 +, BUZZER_NOTE_A8SHARP_B8FLAT +, BUZZER_NOTE_B8 +, BUZZER_NOTE_REST +
+ }
 87 notes for use with watch_buzzer_play_note More...
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

+void watch_enable_buzzer (void)
 Enables the TCC peripheral, which drives the buzzer.
 
void watch_set_buzzer_period (uint32_t period)
 Sets the period of the buzzer. More...
 
void watch_disable_buzzer (void)
 Disables the TCC peripheral that drives the buzzer. More...
 
void watch_set_buzzer_on (void)
 Turns the buzzer output on. It will emit a continuous sound at the given frequency. More...
 
+void watch_set_buzzer_off (void)
 Turns the buzzer output off.
 
void watch_buzzer_play_note (BuzzerNote note, uint16_t duration_ms)
 Plays the given note for a set duration. More...
 
+ + + + +

+Variables

+const uint16_t NotePeriods [108]
 An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote.
 
+

Detailed Description

+

This section covers functions related to the piezo buzzer embedded in the F-91W's back plate.

+

Enumeration Type Documentation

+ +

◆ BuzzerNote

+ +
+
+ + + + +
enum BuzzerNote
+
+ +

87 notes for use with watch_buzzer_play_note

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Enumerator
BUZZER_NOTE_A1 

55.00 Hz

+
BUZZER_NOTE_A1SHARP_B1FLAT 

58.27 Hz

+
BUZZER_NOTE_B1 

61.74 Hz

+
BUZZER_NOTE_C2 

65.41 Hz

+
BUZZER_NOTE_C2SHARP_D2FLAT 

69.30 Hz

+
BUZZER_NOTE_D2 

73.42 Hz

+
BUZZER_NOTE_D2SHARP_E2FLAT 

77.78 Hz

+
BUZZER_NOTE_E2 

82.41 Hz

+
BUZZER_NOTE_F2 

87.31 Hz

+
BUZZER_NOTE_F2SHARP_G2FLAT 

92.50 Hz

+
BUZZER_NOTE_G2 

98.00 Hz

+
BUZZER_NOTE_G2SHARP_A2FLAT 

103.83 Hz

+
BUZZER_NOTE_A2 

110.00 Hz

+
BUZZER_NOTE_A2SHARP_B2FLAT 

116.54 Hz

+
BUZZER_NOTE_B2 

123.47 Hz

+
BUZZER_NOTE_C3 

130.81 Hz

+
BUZZER_NOTE_C3SHARP_D3FLAT 

138.59 Hz

+
BUZZER_NOTE_D3 

146.83 Hz

+
BUZZER_NOTE_D3SHARP_E3FLAT 

155.56 Hz

+
BUZZER_NOTE_E3 

164.81 Hz

+
BUZZER_NOTE_F3 

174.61 Hz

+
BUZZER_NOTE_F3SHARP_G3FLAT 

185.00 Hz

+
BUZZER_NOTE_G3 

196.00 Hz

+
BUZZER_NOTE_G3SHARP_A3FLAT 

207.65 Hz

+
BUZZER_NOTE_A3 

220.00 Hz

+
BUZZER_NOTE_A3SHARP_B3FLAT 

233.08 Hz

+
BUZZER_NOTE_B3 

246.94 Hz

+
BUZZER_NOTE_C4 

261.63 Hz

+
BUZZER_NOTE_C4SHARP_D4FLAT 

277.18 Hz

+
BUZZER_NOTE_D4 

293.66 Hz

+
BUZZER_NOTE_D4SHARP_E4FLAT 

311.13 Hz

+
BUZZER_NOTE_E4 

329.63 Hz

+
BUZZER_NOTE_F4 

349.23 Hz

+
BUZZER_NOTE_F4SHARP_G4FLAT 

369.99 Hz

+
BUZZER_NOTE_G4 

392.00 Hz

+
BUZZER_NOTE_G4SHARP_A4FLAT 

415.30 Hz

+
BUZZER_NOTE_A4 

440.00 Hz

+
BUZZER_NOTE_A4SHARP_B4FLAT 

466.16 Hz

+
BUZZER_NOTE_B4 

493.88 Hz

+
BUZZER_NOTE_C5 

523.25 Hz

+
BUZZER_NOTE_C5SHARP_D5FLAT 

554.37 Hz

+
BUZZER_NOTE_D5 

587.33 Hz

+
BUZZER_NOTE_D5SHARP_E5FLAT 

622.25 Hz

+
BUZZER_NOTE_E5 

659.25 Hz

+
BUZZER_NOTE_F5 

698.46 Hz

+
BUZZER_NOTE_F5SHARP_G5FLAT 

739.99 Hz

+
BUZZER_NOTE_G5 

783.99 Hz

+
BUZZER_NOTE_G5SHARP_A5FLAT 

830.61 Hz

+
BUZZER_NOTE_A5 

880.00 Hz

+
BUZZER_NOTE_A5SHARP_B5FLAT 

932.33 Hz

+
BUZZER_NOTE_B5 

987.77 Hz

+
BUZZER_NOTE_C6 

1046.50 Hz

+
BUZZER_NOTE_C6SHARP_D6FLAT 

1108.73 Hz

+
BUZZER_NOTE_D6 

1174.66 Hz

+
BUZZER_NOTE_D6SHARP_E6FLAT 

1244.51 Hz

+
BUZZER_NOTE_E6 

1318.51 Hz

+
BUZZER_NOTE_F6 

1396.91 Hz

+
BUZZER_NOTE_F6SHARP_G6FLAT 

1479.98 Hz

+
BUZZER_NOTE_G6 

1567.98 Hz

+
BUZZER_NOTE_G6SHARP_A6FLAT 

1661.22 Hz

+
BUZZER_NOTE_A6 

1760.00 Hz

+
BUZZER_NOTE_A6SHARP_B6FLAT 

1864.66 Hz

+
BUZZER_NOTE_B6 

1975.53 Hz

+
BUZZER_NOTE_C7 

2093.00 Hz

+
BUZZER_NOTE_C7SHARP_D7FLAT 

2217.46 Hz

+
BUZZER_NOTE_D7 

2349.32 Hz

+
BUZZER_NOTE_D7SHARP_E7FLAT 

2489.02 Hz

+
BUZZER_NOTE_E7 

2637.02 Hz

+
BUZZER_NOTE_F7 

2793.83 Hz

+
BUZZER_NOTE_F7SHARP_G7FLAT 

2959.96 Hz

+
BUZZER_NOTE_G7 

3135.96 Hz

+
BUZZER_NOTE_G7SHARP_A7FLAT 

3322.44 Hz

+
BUZZER_NOTE_A7 

3520.00 Hz

+
BUZZER_NOTE_A7SHARP_B7FLAT 

3729.31 Hz

+
BUZZER_NOTE_B7 

3951.07 Hz

+
BUZZER_NOTE_C8 

4186.01 Hz

+
BUZZER_NOTE_C8SHARP_D8FLAT 

4434.92 Hz

+
BUZZER_NOTE_D8 

4698.63 Hz

+
BUZZER_NOTE_D8SHARP_E8FLAT 

4978.03 Hz

+
BUZZER_NOTE_E8 

5274.04 Hz

+
BUZZER_NOTE_F8 

5587.65 Hz

+
BUZZER_NOTE_F8SHARP_G8FLAT 

5919.91 Hz

+
BUZZER_NOTE_G8 

6271.93 Hz

+
BUZZER_NOTE_G8SHARP_A8FLAT 

6644.88 Hz

+
BUZZER_NOTE_A8 

7040.00 Hz

+
BUZZER_NOTE_A8SHARP_B8FLAT 

7458.62 Hz

+
BUZZER_NOTE_B8 

7902.13 Hz

+
BUZZER_NOTE_REST 

no sound

+
+ +
+
+

Function Documentation

+ +

◆ watch_buzzer_play_note()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_buzzer_play_note (BuzzerNote note,
uint16_t duration_ms 
)
+
+ +

Plays the given note for a set duration.

+
Parameters
+ + + +
noteThe note you wish to play, or BUZZER_NOTE_REST to disable output for the given duration.
duration_msThe duration of the note.
+
+
+
Note
Note that this will block your UI for the duration of the note's play time, and it will after this call, the buzzer period will be set to the period of this note.
+ +
+
+ +

◆ watch_disable_buzzer()

+ +
+
+ + + + + + + + +
void watch_disable_buzzer (void )
+
+ +

Disables the TCC peripheral that drives the buzzer.

+
Note
If you are using PWM to set custom LED colors, this method will also disable the LED PWM driver, since the buzzer and LED both make use of the same peripheral to drive their PWM behavior.
+ +
+
+ +

◆ watch_set_buzzer_on()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_set_buzzer_on (void )
+
+inline
+
+ +

Turns the buzzer output on. It will emit a continuous sound at the given frequency.

+
Note
The TCC peripheral that drives the buzzer does not run in standby mode; if you wish for buzzer output to continue, you should prevent your app from going to sleep.
+ +
+
+ +

◆ watch_set_buzzer_period()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_set_buzzer_period (uint32_t period)
+
+inline
+
+ +

Sets the period of the buzzer.

+
Parameters
+ + +
periodThe period of a single cycle for the TCC peripheral. You can determine the period for a desired frequency with the following formula: period = 1000000 / freq
+
+
+ +
+
+
+ + + + diff --git a/group__debug.html b/group__debug.html new file mode 100644 index 00000000..fa063a4a --- /dev/null +++ b/group__debug.html @@ -0,0 +1,122 @@ + + + + + + + +Sensor Watch: Debug UART + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Debug UART
+
+
+ +

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector. +More...

+ + + + + +

+Functions

 __attribute__ ((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud)
 Initializes the debug UART. More...
 
+

Detailed Description

+

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector.

+
Warning
These functions were used early on in development, before the TinyUSB CDC was implemented. You can now print debug messages to the USB console using printf, rendering this bit irrelevant. These methods will likely be refactored out in the future, in favor of a more full-featured UART on the nine-pin connector.
+

Function Documentation

+ +

◆ __attribute__()

+ +
+
+ + + + + + + + +
__attribute__ ((deprecated("Use printf to log debug messages over USB.")) )
+
+ +

Initializes the debug UART.

+

Outputs a string on the debug UART.

+

Outputs a single character on the debug UART.

+
Parameters
+ + + + +
baudThe baud rate
cThe character you wish to output.
sA null-terminated string.
+
+
+ +
+
+
+ + + + diff --git a/group__deepsleep.html b/group__deepsleep.html new file mode 100644 index 00000000..e95bd01c --- /dev/null +++ b/group__deepsleep.html @@ -0,0 +1,325 @@ + + + + + + + +Sensor Watch: Sleep Control + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Sleep Control
+
+
+ +

This section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void watch_register_extwake_callback (uint8_t pin, ext_irq_cb_t callback, bool level)
 Registers a callback on one of the RTC's external wake pins, which can wake the device from Sleep, Deep Sleep and BACKUP modes (but see warning re: BACKUP mode). More...
 
void watch_disable_extwake_interrupt (uint8_t pin)
 Unregisters the RTC interrupt on one of the EXTWAKE pins. This will prevent a value change on one of these pins from waking the device. More...
 
void watch_store_backup_data (uint32_t data, uint8_t reg)
 Stores data in one of the RTC's backup registers, which retain their data in BACKUP mode. More...
 
uint32_t watch_get_backup_data (uint8_t reg)
 Gets 32 bits of data from the RTC's BACKUP register. More...
 
void watch_enter_sleep_mode (void)
 enters Sleep Mode by disabling all pins and peripherals except the RTC and the LCD. More...
 
void watch_enter_deep_sleep_mode (void)
 enters Deep Sleep Mode by disabling all pins and peripherals except the RTC. More...
 
void watch_enter_backup_mode (void)
 Enters the SAM L22's lowest-power mode, BACKUP. More...
 
__attribute__ ((deprecated("Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead"))) void watch_enter_shallow_sleep(bool display_on)
 
__attribute__ ((deprecated("Use watch_enter_backup_mode instead"))) void watch_enter_deep_sleep(void)
 
+

Detailed Description

+

This section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode.

+

These terms changed meaning a bit over the course of development; if you are coming to this documentation after having worked with an earlier version of the library, these definitions should clarify the terminology. Terms in all caps are modes of the SAM L22; terms in Title Case are specific implementations in this library.

    +
  • ACTIVE mode is the mode the SAM L22 is in when both the main clock and the CPU are running. It is the most power-hungry mode. If you ever call delay_ms to wait a beat, the watch will remain in ACTIVE mode while taking that delay. In addition, whenever your app_loop function returns false, the device will remain in ACTIVE mode and call your app_loop function again.
  • +
  • STANDBY mode turns off the main clock and halts the CPU. Since the PWM driver is run from the main clock, it also stops the buzzer and any dimming of the LEDs. In this mode, the watch can wake from any interrupt source. Whenever your app_loop function returns true, the watch enters STANDBY mode until the next tick or other interrupt. This mode uses much less power than ACTIVE mode.
  • +
  • Sleep Mode is a special case of STANDBY mode. In this mode, the watch turns off almost all peripherals (including the external interrupt controller), and disables all pins except for the external wake pins. In this mode the watch can only wake from the RTC alarm interrupt or an external wake pin (A2, A4 or the alarm button), but the display remains on and your app's state is retained. You can enter this mode by calling watch_enter_sleep_mode. It consumes an order of magnitude less power than STANDBY mode.
  • +
  • Deep Sleep Mode is identical to sleep mode, but it also turns off the LCD to save a bit more power. You can enter this mode by calling watch_enter_deep_sleep_mode.
  • +
  • BACKUP mode is the lowest possible power mode on the SAM L22. It turns off all pins and peripherals except for the RTC. It also turns off the RAM, obliterating your application's state. The only way to wake from this mode is by setting an external wake interrupt on pin A2 or pin A4, and when you do wake it will be much like a wake from reset. You can enter this mode by calling watch_enter_backup_mode.
  • +
+

Function Documentation

+ +

◆ watch_disable_extwake_interrupt()

+ +
+
+ + + + + + + + +
void watch_disable_extwake_interrupt (uint8_t pin)
+
+ +

Unregisters the RTC interrupt on one of the EXTWAKE pins. This will prevent a value change on one of these pins from waking the device.

+
Parameters
+ + +
pinEither pin BTN_ALARM, A2, or A4. If the pin is BTN_ALARM, this function DOES NOT disable the internal pull down on that pin.
+
+
+ +
+
+ +

◆ watch_enter_backup_mode()

+ +
+
+ + + + + + + + +
void watch_enter_backup_mode (void )
+
+ +

Enters the SAM L22's lowest-power mode, BACKUP.

+

This function does some housekeeping before entering BACKUP mode. It first disables all pins and peripherals except for the RTC, and disables the tick interrupt (since that would wake us up from BACKUP mode). Once again, if you wish to wake from the A2 or the A4 interrupt, you must first configure this by calling watch_register_extwake_callback.

Note
If you have a callback set for an external wake interrupt, it will be called if triggered while in ACTIVE, STANDBY, Sleep and Deep Sleep modes, but it will not be called when waking from BACKUP mode. Waking from backup is effectively like waking from reset, except that your app_wake_from_backup function will be called.
+
Warning
On current revisions of the SAM L22 silicon, the ALARM_BTN pin (PA02 RTC/IN2) cannot wake the device from deep sleep mode. There is an errata note (Reference: 15010) that says that due to a silicon bug, RTC/IN2 is not functional in BACKUP. As a result, you should not call this function unless you have a device on the nine-pin connector with an external interrupt on pin A2 or A4 (i.e. an accelerometer with an interrupt pin).
+ +
+
+ +

◆ watch_enter_deep_sleep_mode()

+ +
+
+ + + + + + + + +
void watch_enter_deep_sleep_mode (void )
+
+ +

enters Deep Sleep Mode by disabling all pins and peripherals except the RTC.

+

Short of BACKUP mode, this is the lowest power mode you can enter while retaining your application state (and the ability to wake with the alarm button). Just note that the display will be completely off, so you should document to the user of your application that they will need to press the alarm button to wake the device, or use a sensor board with support for an external wake pin.

+

All notes from watch_enter_sleep_mode apply here, except for power consumption. You can estimate the power consumption of this mode to be on the order of 12 microwatts (about 4µA at 3 V).

+ +
+
+ +

◆ watch_enter_sleep_mode()

+ +
+
+ + + + + + + + +
void watch_enter_sleep_mode (void )
+
+ +

enters Sleep Mode by disabling all pins and peripherals except the RTC and the LCD.

+

This sleep mode is not the lowest power mode available, but it has the benefit of allowing you to display a message to the user while asleep. You can also set an alarm interrupt to wake at a configfurable interval (every minute, hour or day) to update the display. You can wake from this mode by pressing the ALARM button, if you registered an extwake callback on the ALARM button. Also note that when your app wakes from this sleep mode, your app_setup method will be called again, since this function will have disabled things you set up there.

+

Note that to wake from either the ALARM button, the A2 interrupt or the A4 interrupt, you must first configure this by calling watch_register_extwake_callback.

+

You can estimate the power consumption of this mode to be on the order of 30 microwatts (about 10 µA at 3 V).

+ +
+
+ +

◆ watch_get_backup_data()

+ +
+
+ + + + + + + + +
uint32_t watch_get_backup_data (uint8_t reg)
+
+ +

Gets 32 bits of data from the RTC's BACKUP register.

+
Parameters
+ + +
regA register from 0-7.
+
+
+
Returns
An unsigned 32 bit integer with the from the backup register.
+ +
+
+ +

◆ watch_register_extwake_callback()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_register_extwake_callback (uint8_t pin,
ext_irq_cb_t callback,
bool level 
)
+
+ +

Registers a callback on one of the RTC's external wake pins, which can wake the device from Sleep, Deep Sleep and BACKUP modes (but see warning re: BACKUP mode).

+
Parameters
+ + + + +
pinEither pin BTN_ALARM, A2, or A4. These are the three external wake pins. If the pin is BTN_ALARM, this function also enables an internal pull down on that pin.
callbackThe callback to be called if this pin triggers outside of BACKUP mode. If this is NULL, no callback will be called even in normal modes, but the interrupt will still be enabled so that it can wake the device.
levelThe level you wish to scan for: true for rising, false for falling. Note that you cannot scan for both rising and falling edges like you can with the external interrupt pins; with the external wake interrupt, you can only get one or the other.
+
+
+
Note
When in ACTIVE, STANDBY and Sleep / Deep sleep modes, this will function much like a standard external interrupt situation: these pins will wake the device, and your callback will be called. However, if the device enters BACKUP mode and one of these pins wakes the device, your callback WILL NOT be called, as the device is basically waking from reset at that point.
+
Warning
As of the current SAM L22 silicon revision (rev B), the BTN_ALARM pin cannot wake the device from BACKUP mode. You can still use this function to register a BTN_ALARM interrupt in normal or deep sleep mode, but to wake from BACKUP, you will need to use pin A2 or A4.
+ +
+
+ +

◆ watch_store_backup_data()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_store_backup_data (uint32_t data,
uint8_t reg 
)
+
+ +

Stores data in one of the RTC's backup registers, which retain their data in BACKUP mode.

+
Parameters
+ + + +
dataAn unsigned 32 bit integer with the data you wish to store.
regA register from 0-7.
+
+
+ +
+
+
+ + + + diff --git a/group__gpio.html b/group__gpio.html new file mode 100644 index 00000000..abce3977 --- /dev/null +++ b/group__gpio.html @@ -0,0 +1,332 @@ + + + + + + + +Sensor Watch: Digital Input and Output + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Digital Input and Output
+
+
+ +

This section covers functions related to general-purpose input and output signals. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void watch_enable_digital_input (const uint8_t pin)
 Configures the selected pin for digital input. More...
 
void watch_disable_digital_input (const uint8_t pin)
 Disables any digital input, along with any pull-up or pull-down configuration. More...
 
void watch_enable_pull_up (const uint8_t pin)
 Enables a pull-up resistor on the selected pin. More...
 
void watch_enable_pull_down (const uint8_t pin)
 Enables a pull-down resistor on the selected pin. More...
 
bool watch_get_pin_level (const uint8_t pin)
 Gets the level of the selected pin. More...
 
void watch_enable_digital_output (const uint8_t pin)
 Configures the selected pin for digital output. More...
 
void watch_disable_digital_output (const uint8_t pin)
 Disables digital output on the selected pin. More...
 
void watch_set_pin_level (const uint8_t pin, const bool level)
 Sets the level of the selected pin. More...
 
+

Detailed Description

+

This section covers functions related to general-purpose input and output signals.

+

Function Documentation

+ +

◆ watch_disable_digital_input()

+ +
+
+ + + + + + + + +
void watch_disable_digital_input (const uint8_t pin)
+
+ +

Disables any digital input, along with any pull-up or pull-down configuration.

+
Parameters
+ + +
pinThe pin that you wish to disable.
+
+
+ +
+
+ +

◆ watch_disable_digital_output()

+ +
+
+ + + + + + + + +
void watch_disable_digital_output (const uint8_t pin)
+
+ +

Disables digital output on the selected pin.

+
Parameters
+ + +
pinThe pin that you wish disable.
+
+
+ +
+
+ +

◆ watch_enable_digital_input()

+ +
+
+ + + + + + + + +
void watch_enable_digital_input (const uint8_t pin)
+
+ +

Configures the selected pin for digital input.

+
Parameters
+ + +
pinThe pin that you wish to act as an input.
+
+
+ +
+
+ +

◆ watch_enable_digital_output()

+ +
+
+ + + + + + + + +
void watch_enable_digital_output (const uint8_t pin)
+
+ +

Configures the selected pin for digital output.

+
Parameters
+ + +
pinThe pin that you wish to act as an output.
+
+
+ +
+
+ +

◆ watch_enable_pull_down()

+ +
+
+ + + + + + + + +
void watch_enable_pull_down (const uint8_t pin)
+
+ +

Enables a pull-down resistor on the selected pin.

+
Parameters
+ + +
pinThe pin that you wish to configure.
+
+
+ +
+
+ +

◆ watch_enable_pull_up()

+ +
+
+ + + + + + + + +
void watch_enable_pull_up (const uint8_t pin)
+
+ +

Enables a pull-up resistor on the selected pin.

+
Parameters
+ + +
pinThe pin that you wish to configure.
+
+
+ +
+
+ +

◆ watch_get_pin_level()

+ +
+
+ + + + + + + + +
bool watch_get_pin_level (const uint8_t pin)
+
+ +

Gets the level of the selected pin.

+
Parameters
+ + +
pinThe pin whose value you wish to read.
+
+
+
Returns
true if the pin was logic high; otherwise, false.
+ +
+
+ +

◆ watch_set_pin_level()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_set_pin_level (const uint8_t pin,
const bool level 
)
+
+ +

Sets the level of the selected pin.

+
Parameters
+ + + +
pinThe pin whose value you wish to set.
levelThe level you wish to set: true for high, false for low.
+
+
+ +
+
+
+ + + + diff --git a/group__i2c.html b/group__i2c.html new file mode 100644 index 00000000..af989f8d --- /dev/null +++ b/group__i2c.html @@ -0,0 +1,404 @@ + + + + + + + +Sensor Watch: I2C Controller Driver + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
I2C Controller Driver
+
+
+ +

This section covers functions related to the SAM L22's built-I2C driver, including configuring the I2C bus, putting values directly on the bus and reading data from registers on I2C devices. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+void watch_enable_i2c (void)
 Enables the I2C peripheral. Call this before attempting to interface with I2C devices.
 
+void watch_disable_i2c (void)
 Disables the I2C peripheral.
 
void watch_i2c_send (int16_t addr, uint8_t *buf, uint16_t length)
 Sends a series of values to a device on the I2C bus. More...
 
void watch_i2c_receive (int16_t addr, uint8_t *buf, uint16_t length)
 Receives a series of values from a device on the I2C bus. More...
 
void watch_i2c_write8 (int16_t addr, uint8_t reg, uint8_t data)
 Writes a byte to a register in an I2C device. More...
 
uint8_t watch_i2c_read8 (int16_t addr, uint8_t reg)
 Reads a byte from a register in an I2C device. More...
 
uint16_t watch_i2c_read16 (int16_t addr, uint8_t reg)
 Reads an unsigned little-endian word from a register in an I2C device. More...
 
uint32_t watch_i2c_read24 (int16_t addr, uint8_t reg)
 Reads three bytes as an unsigned little-endian int from a register in an I2C device. More...
 
uint32_t watch_i2c_read32 (int16_t addr, uint8_t reg)
 Reads an unsigned little-endian int from a register in an I2C device. More...
 
+

Detailed Description

+

This section covers functions related to the SAM L22's built-I2C driver, including configuring the I2C bus, putting values directly on the bus and reading data from registers on I2C devices.

+

Function Documentation

+ +

◆ watch_i2c_read16()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint16_t watch_i2c_read16 (int16_t addr,
uint8_t reg 
)
+
+ +

Reads an unsigned little-endian word from a register in an I2C device.

+
Parameters
+ + + +
addrThe address of the device you wish to address.
regThe register on the device that you wish to read.
+
+
+
Returns
An unsigned word representing the value of the register that was read.
+
Note
This reads two bytes into the word in bus order. If the device returns the LSB first and then the MSB, you can use this value as returned. If the device returns the data in big-endian order or uses some other kind of fancy bit packing, you may need to shuffle some bits around.
+ +
+
+ +

◆ watch_i2c_read24()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint32_t watch_i2c_read24 (int16_t addr,
uint8_t reg 
)
+
+ +

Reads three bytes as an unsigned little-endian int from a register in an I2C device.

+
Parameters
+ + + +
addrThe address of the device you wish to address.
regThe register on the device that you wish to read.
+
+
+
Returns
An unsigned word representing the value of the register that was read.
+
Note
This reads three bytes into the word in bus order. If the device returns these bytes LSB first, you can use this value as returned. If there is a sign bit, the device returns the data in big-endian order, or it uses some other kind of fancy bit packing, you may need to shuffle some bits around.
+ +
+
+ +

◆ watch_i2c_read32()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint32_t watch_i2c_read32 (int16_t addr,
uint8_t reg 
)
+
+ +

Reads an unsigned little-endian int from a register in an I2C device.

+
Parameters
+ + + +
addrThe address of the device you wish to address.
regThe register on the device that you wish to read.
+
+
+
Returns
An unsigned word representing the value of the register that was read.
+
Note
This reads three bytes into the word in bus order. If the device returns these bytes LSB first, you can use this value as returned. If the device returns the data in big-endian order, or it uses some other kind of fancy bit packing, you may need to shuffle some bits around.
+ +
+
+ +

◆ watch_i2c_read8()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t watch_i2c_read8 (int16_t addr,
uint8_t reg 
)
+
+ +

Reads a byte from a register in an I2C device.

+
Parameters
+ + + +
addrThe address of the device you wish to address.
regThe register on the device that you wish to read.
+
+
+
Returns
An unsigned byte representing the value of the register that was read.
+ +
+
+ +

◆ watch_i2c_receive()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_i2c_receive (int16_t addr,
uint8_t * buf,
uint16_t length 
)
+
+ +

Receives a series of values from a device on the I2C bus.

+
Parameters
+ + + + +
addrThe address of the device you wish to hear from.
bufStorage for the incoming bytes; on return, it will contain the received data.
lengthThe number of bytes that you wish to receive.
+
+
+ +
+
+ +

◆ watch_i2c_send()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_i2c_send (int16_t addr,
uint8_t * buf,
uint16_t length 
)
+
+ +

Sends a series of values to a device on the I2C bus.

+
Parameters
+ + + + +
addrThe address of the device you wish to talk to.
bufA series of unsigned bytes; the data you wish to transmit.
lengthThe number of bytes in buf that you wish to send.
+
+
+ +
+
+ +

◆ watch_i2c_write8()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_i2c_write8 (int16_t addr,
uint8_t reg,
uint8_t data 
)
+
+ +

Writes a byte to a register in an I2C device.

+
Parameters
+ + + + +
addrThe address of the device you wish to address.
regThe register on the device that you wish to set.
dataThe value that you wish to set the register to.
+
+
+ +
+
+
+ + + + diff --git a/group__led.html b/group__led.html new file mode 100644 index 00000000..f21e92c1 --- /dev/null +++ b/group__led.html @@ -0,0 +1,260 @@ + + + + + + + +Sensor Watch: LED Control + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
LED Control
+
+
+ +

This section covers functions related to the bi-color red/green LED mounted behind the LCD. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void watch_enable_leds (void)
 Enables the bi-color LED. More...
 
void watch_disable_leds (void)
 Disables the LEDs. More...
 
void watch_set_led_color (uint8_t red, uint8_t green)
 Sets the LED to a custom color by modulating each output's duty cycle. More...
 
void watch_set_led_red (void)
 Sets the red LED to full brightness, and turns the green LED off. More...
 
void watch_set_led_green (void)
 Sets the green LED to full brightness, and turns the red LED off. More...
 
void watch_set_led_yellow (void)
 Sets both red and green LEDs to full brightness. More...
 
+void watch_set_led_off (void)
 Turns both the red and the green LEDs off.
 
__attribute__ ((deprecated("Use watch_enable_leds instead"))) void watch_enable_led(bool unused)
 
__attribute__ ((deprecated("Use watch_disable_leds instead"))) void watch_disable_led(bool unused)
 
+

Detailed Description

+

This section covers functions related to the bi-color red/green LED mounted behind the LCD.

+

The SAM L22 is an exceedingly power efficient chip, whereas the LED's are relatively power- hungry. The green LED, at full power, consumes more power than the whole chip in active mode, and the red LED consumes about twelve times as much power! The LED's should thus be used only sparingly in order to preserve battery life.

Note
Some watches use a red/blue LED instead of a red/green LED. You will be able to determine this easily when you double tap the reset button: if the pulsing bootloader LED is red, you have a red/green edition; if it is blue, you have a red/blue edition. For red/blue watches, build your project with the command make LED=BLUE, and the watch library will automatically swap the pins so that watch_set_led_red sets the red LED, and watch_set_led_green sets the blue one.
+

Function Documentation

+ +

◆ watch_disable_leds()

+ +
+
+ + + + + + + + +
void watch_disable_leds (void )
+
+ +

Disables the LEDs.

+
Note
This method will also disable the buzzer, since the buzzer and LED both make use of the same peripheral to drive their PWM behavior.
+ +
+
+ +

◆ watch_enable_leds()

+ +
+
+ + + + + + + + +
void watch_enable_leds (void )
+
+ +

Enables the bi-color LED.

+
Note
The TCC peripheral that drives the LEDs does not run in STANDBY mode — but the outputs do! This means that if you set either red, green or both LEDs to full power, they will shine even when your app is asleep. If, however, you set a custom color using watch_set_led_color, the color will not display correctly in STANDBY mode. You will need to keep your app running while the LED is on.
+ +
+
+ +

◆ watch_set_led_color()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_set_led_color (uint8_t red,
uint8_t green 
)
+
+ +

Sets the LED to a custom color by modulating each output's duty cycle.

+
Parameters
+ + + +
redThe red value from 0-255.
greenThe green value from 0-255. If your watch has a red/blue LED, this will be the blue value.
+
+
+
Note
If you are displaying a custom color, you will need to prevent your app from going to sleep while the LED is on; otherwise, the color will not display correctly. You can do this by returning false in your app_loop method.
+ +
+
+ +

◆ watch_set_led_green()

+ +
+
+ + + + + + + + +
void watch_set_led_green (void )
+
+ +

Sets the green LED to full brightness, and turns the red LED off.

+

Of the two LED's in the RG bi-color LED, the green LED is the more power-efficient one (~0.44 mA).

Note
If your watch has a red/blue LED, this method will set the LED to blue.
+ +
+
+ +

◆ watch_set_led_red()

+ +
+
+ + + + + + + + +
void watch_set_led_red (void )
+
+ +

Sets the red LED to full brightness, and turns the green LED off.

+

Of the two LED's in the RG bi-color LED, the red LED is the less power-efficient one (~4.5 mA).

+ +
+
+ +

◆ watch_set_led_yellow()

+ +
+
+ + + + + + + + +
void watch_set_led_yellow (void )
+
+ +

Sets both red and green LEDs to full brightness.

+

The total current draw between the two LED's in this mode will be ~5 mA, which is more than the watch draws in any other mode. Take care not to drain the battery.

Note
If your watch has a red/blue LED, this method will set the LED to pink.
+ +
+
+
+ + + + diff --git a/group__rtc.html b/group__rtc.html new file mode 100644 index 00000000..e7c63354 --- /dev/null +++ b/group__rtc.html @@ -0,0 +1,431 @@ + + + + + + + +Sensor Watch: Real-Time Clock + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Real-Time Clock
+
+
+ +

This section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions. +More...

+ + + + +

+Data Structures

union  watch_date_time
 
+ + + +

+Macros

+#define WATCH_RTC_REFERENCE_YEAR   (2020)
 
+ + + +

+Typedefs

+typedef enum watch_rtc_alarm_match watch_rtc_alarm_match
 
+ + + +

+Enumerations

enum  watch_rtc_alarm_match { ALARM_MATCH_DISABLED = 0 +, ALARM_MATCH_SS +, ALARM_MATCH_MMSS +, ALARM_MATCH_HHMMSS + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+bool _watch_rtc_is_enabled (void)
 Called by main.c to check if the RTC is enabled. You may call this function, but outside of app_init, it should always return true.
 
void watch_rtc_set_date_time (watch_date_time date_time)
 Sets the date and time. More...
 
watch_date_time watch_rtc_get_date_time (void)
 Returns the date and time. More...
 
void watch_rtc_register_alarm_callback (ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask)
 Registers an alarm callback that will be called when the RTC time matches the target time, as masked by the provided mask. More...
 
+void watch_rtc_disable_alarm_callback (void)
 Disables the alarm callback.
 
void watch_rtc_register_tick_callback (ext_irq_cb_t callback)
 Registers a "tick" callback that will be called once per second. More...
 
+void watch_rtc_disable_tick_callback (void)
 Disables the tick callback for the given period.
 
void watch_rtc_register_periodic_callback (ext_irq_cb_t callback, uint8_t frequency)
 Registers a callback that will be called at a configurable period. More...
 
void watch_rtc_disable_periodic_callback (uint8_t frequency)
 Disables the tick callback for the given period. More...
 
+void watch_rtc_disable_all_periodic_callbacks (void)
 Disables all periodic callbacks, including the once-per-second tick callback.
 
 __attribute__ ((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time)
 Sets the system date and time. More...
 
 __attribute__ ((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time)
 Returns the system date and time in the provided struct. More...
 
 __attribute__ ((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback)
 Registers a "tick" callback that will be called once per second. More...
 
+

Detailed Description

+

This section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions.

+

The real-time clock is the only peripheral that main.c enables for you. It is the cornerstone of low power operation on the watch, and it is required for several key functions that we assume will be available, namely the wake from BACKUP mode and the callback on the ALARM button. It is also required for the operation of the 1 Hz tick interrupt, which you will most likely use to wake from STANDBY mode.

+

Function Documentation

+ +

◆ __attribute__() [1/3]

+ +
+
+ + + + + + + + +
__attribute__ ((deprecated("Use the watch_rtc_get_date_time function instead")) )
+
+ +

Returns the system date and time in the provided struct.

+
Parameters
+ + +
date_timeA pointer to a calendar_date_time struct. It will have with the correct date and time on return.
+
+
+ +
+
+ +

◆ __attribute__() [2/3]

+ +
+
+ + + + + + + + +
__attribute__ ((deprecated("Use the watch_rtc_register_tick_callback function instead")) )
+
+ +

Registers a "tick" callback that will be called once per second.

+
Parameters
+ + +
callbackThe function you wish to have called when the clock ticks. If you pass in NULL, the tick interrupt will still be enabled, but no callback function will be called.
+
+
+ +
+
+ +

◆ __attribute__() [3/3]

+ +
+
+ + + + + + + + +
__attribute__ ((deprecated("Use watch_rtc_set_date_time function instead")) )
+
+ +

Sets the system date and time.

+
Parameters
+ + +
date_timeA struct representing the date and time you wish to set.
+
+
+ +
+
+ +

◆ watch_rtc_disable_periodic_callback()

+ +
+
+ + + + + + + + +
void watch_rtc_disable_periodic_callback (uint8_t frequency)
+
+ +

Disables the tick callback for the given period.

+
Parameters
+ + +
frequencyThe frequency of the tick you wish to disable, in Hz. Must be a power of 2, from 1 to 128.
+
+
+ +
+
+ +

◆ watch_rtc_get_date_time()

+ +
+
+ + + + + + + + +
watch_date_time watch_rtc_get_date_time (void )
+
+ +

Returns the date and time.

+
Returns
A watch_date_time with the current date and time, with a year value from 0-63 representing 2020-2083.
+
See also
watch_rtc_set_date_time for notes about how the year is stored.
+ +
+
+ +

◆ watch_rtc_register_alarm_callback()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void watch_rtc_register_alarm_callback (ext_irq_cb_t callback,
watch_date_time alarm_time,
watch_rtc_alarm_match mask 
)
+
+ +

Registers an alarm callback that will be called when the RTC time matches the target time, as masked by the provided mask.

+
Parameters
+ + + + +
callbackThe function you wish to have called when the alarm fires. If this value is NULL, the alarm interrupt will still be enabled, but no callback function will be called.
alarm_timeThe time that you wish to match. The date is currently ignored.
maskOne of the values in watch_rtc_alarm_match indicating which values to check.
+
+
+

The alarm interrupt is a versatile tool for scheduling events in the future, especially since it can wake the device from all sleep modes. The key to its versatility is the mask parameter. Suppose we set an alarm for midnight, 00:00:00.

    +
  • if mask is ALARM_MATCH_SS, the alarm will fire every minute when the clock ticks to seconds == 0.
  • +
  • with ALARM_MATCH_MMSS, the alarm will once an hour, at the top of each hour.
  • +
  • with ALARM_MATCH_HHMMSS, the alarm will fire at midnight every day. In theory the SAM L22's alarm function can match on days, months and even years, but I have not had success with this yet; as such, I am omitting these options for now.
  • +
+ +
+
+ +

◆ watch_rtc_register_periodic_callback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_rtc_register_periodic_callback (ext_irq_cb_t callback,
uint8_t frequency 
)
+
+ +

Registers a callback that will be called at a configurable period.

+
Parameters
+ + + +
callbackThe function you wish to have called at the specified period. If you pass in NULL, the periodic interrupt will still be enabled, but no callback function will be called.
frequencyThe frequency of the tick in Hz. Must be a power of 2, from 1 to 128 inclusive.
+
+
+
Note
A 1 Hz tick (
+
See also
watch_rtc_register_tick_callback) is suitable for most applications, in that it gives you a chance to update the display once a second — an ideal update rate for a watch! If however you are displaying a value (such as an accelerometer output) that updates more frequently than once per second, you may want to tick at 16 or 32 Hz to update the screen more quickly. Just remember that the more frequent the tick, the more power your Application Framework will consume. Ideally you should enable the fast tick only when the user requires it (i.e. in response to an input event), and move back to the slow tick after some time.
+

Also note that the RTC peripheral does not have sub-second resolution, so even if you set a 2 or 4 Hz interval, the system will not have any way of telling you where you are within a given second; watch_rtc_get_date_time will return the exact same timestamp until the second ticks over.

+ +
+
+ +

◆ watch_rtc_register_tick_callback()

+ +
+
+ + + + + + + + +
void watch_rtc_register_tick_callback (ext_irq_cb_t callback)
+
+ +

Registers a "tick" callback that will be called once per second.

+
Parameters
+ + +
callbackThe function you wish to have called when the clock ticks. If you pass in NULL, the tick interrupt will still be enabled, but no callback function will be called.
+
+
+
Note
this is equivalent to calling watch_rtc_register_periodic_callback with a frequency of 1. It can be disabled with either watch_rtc_disable_tick_callback() or watch_rtc_disable_periodic_callback(1), and will also be disabled when watch_rtc_disable_all_periodic_callbacks is called.
+ +
+
+ +

◆ watch_rtc_set_date_time()

+ +
+
+ + + + + + + + +
void watch_rtc_set_date_time (watch_date_time date_time)
+
+ +

Sets the date and time.

+
Parameters
+ + +
date_timeThe date and time you wish to set, with a year value from 0-63 representing 2020-2083.
+
+
+
Note
The SAM L22 stores the year as six bits representing a value from 0 to 63. It treats this as a year offset from a reference year, which must be a leap year. Since 2020 was a leap year, and it allows useful dates through 2083, it is assumed that watch apps will use 2020 as the reference year; thus 1 means 2021, 2 means 2022, etc. You will be responsible for handling this offset in your code, if the calendar year is needed for timestamp calculation logic or display purposes.
+ +
+
+
+ + + + diff --git a/group__slcd.html b/group__slcd.html new file mode 100644 index 00000000..945e3fcc --- /dev/null +++ b/group__slcd.html @@ -0,0 +1,541 @@ + + + + + + + +Sensor Watch: Segment LCD Display + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Segment LCD Display
+
+
+ +

This section covers functions related to the Segment LCD display driver, which is responsible for displaying strings of characters and indicators on the main watch display. +More...

+ + + + + +

+Typedefs

+typedef enum WatchIndicatorSegment WatchIndicatorSegment
 An enum listing the icons and indicators available on the watch.
 
+ + + + +

+Enumerations

enum  WatchIndicatorSegment {
+  WATCH_INDICATOR_SIGNAL = 0 +, WATCH_INDICATOR_BELL +, WATCH_INDICATOR_PM +, WATCH_INDICATOR_24H +,
+  WATCH_INDICATOR_LAP +
+ }
 An enum listing the icons and indicators available on the watch. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+void watch_enable_display (void)
 Enables the Segment LCD display. Call this before attempting to set pixels or display strings.
 
void watch_set_pixel (uint8_t com, uint8_t seg)
 Sets a pixel. Use this to manually set a pixel with a given common and segment number. See segmap.html. More...
 
void watch_clear_pixel (uint8_t com, uint8_t seg)
 Clears a pixel. Use this to manually clear a pixel with a given common and segment number. See segmap.html. More...
 
+void watch_clear_display (void)
 Clears all segments of the display, including incicators and the colon.
 
void watch_display_string (char *string, uint8_t position)
 Displays a string at the given position, starting from the top left. There are ten digits. A space in any position will clear that digit. More...
 
+void watch_set_colon (void)
 Turns the colon segment on.
 
+void watch_clear_colon (void)
 Turns the colon segment off.
 
void watch_set_indicator (WatchIndicatorSegment indicator)
 Sets an indicator on the LCD. Use this to turn on one of the indicator segments. More...
 
void watch_clear_indicator (WatchIndicatorSegment indicator)
 Clears an indicator on the LCD. Use this to turn off one of the indicator segments. More...
 
void watch_clear_all_indicators (void)
 Clears all indicator segments. More...
 
void watch_start_character_blink (char character, uint32_t duration)
 Blinks a single character in position 7. Does not affect other positions. More...
 
void watch_stop_blink (void)
 Stops and clears all blinking segments. More...
 
void watch_start_tick_animation (uint32_t duration)
 Begins a two-segment "tick-tock" animation in position 8. More...
 
bool watch_tick_animation_is_running (void)
 Checks if the tick animation is currently running. More...
 
void watch_stop_tick_animation (void)
 Stops the tick/tock animation and clears all animating segments. More...
 
+

Detailed Description

+

This section covers functions related to the Segment LCD display driver, which is responsible for displaying strings of characters and indicators on the main watch display.

+

The segment LCD controller consumes about 3 microamperes of power with no segments on, and about 4 microamperes with all segments on. There is also a slight power impact associated with updating the screen (about 1 microampere to update at 1 Hz). For the absolute lowest power operation, update the display only when its contents have changed, and disable the SLCD peripheral when the screen is not in use. For a map of all common and segment pins, see segmap.html. You can hover over any segment in that diagram to view the common and segment pins associated with each segment of the display.

+

Enumeration Type Documentation

+ +

◆ WatchIndicatorSegment

+ +
+
+ + + + +
enum WatchIndicatorSegment
+
+ +

An enum listing the icons and indicators available on the watch.

+ + + + + + +
Enumerator
WATCH_INDICATOR_SIGNAL 

The hourly signal indicator; also useful for indicating that sensors are on.

+
WATCH_INDICATOR_BELL 

The small bell indicating that an alarm is set.

+
WATCH_INDICATOR_PM 

The PM indicator, indicating that a time is in the afternoon.

+
WATCH_INDICATOR_24H 

The 24H indicator, indicating that the watch is in a 24-hour mode.

+
WATCH_INDICATOR_LAP 

The LAP indicator; the F-91W uses this in its stopwatch UI.

+
+ +
+
+

Function Documentation

+ +

◆ watch_clear_all_indicators()

+ +
+
+ + + + + + + + +
void watch_clear_all_indicators (void )
+
+ +

Clears all indicator segments.

+
See also
WatchIndicatorSegment
+ +
+
+ +

◆ watch_clear_indicator()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_clear_indicator (WatchIndicatorSegment indicator)
+
+inline
+
+ +

Clears an indicator on the LCD. Use this to turn off one of the indicator segments.

+
Parameters
+ + +
indicatorOne of the indicator segments from the enum.
+
+
+
See also
WatchIndicatorSegment
+ +
+
+ +

◆ watch_clear_pixel()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void watch_clear_pixel (uint8_t com,
uint8_t seg 
)
+
+inline
+
+ +

Clears a pixel. Use this to manually clear a pixel with a given common and segment number. See segmap.html.

+
Parameters
+ + + +
comthe common pin, numbered from 0-2.
segthe segment pin, numbered from 0-23.
+
+
+ +
+
+ +

◆ watch_display_string()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_display_string (char * string,
uint8_t position 
)
+
+ +

Displays a string at the given position, starting from the top left. There are ten digits. A space in any position will clear that digit.

+
Parameters
+ + + +
stringA null-terminated string.
positionThe position where you wish to start displaying the string. The day of week digits are positions 0 and 1; the day of month digits are positions 2 and 3, and the main clock line occupies positions 4-9.
+
+
+
Note
This method does not clear the display; if for example you display a two-character string at position 0, positions 2-9 will retain whatever state they were previously displaying.
+ +
+
+ +

◆ watch_set_indicator()

+ +
+
+ + + + + +
+ + + + + + + + +
void watch_set_indicator (WatchIndicatorSegment indicator)
+
+inline
+
+ +

Sets an indicator on the LCD. Use this to turn on one of the indicator segments.

+
Parameters
+ + +
indicatorOne of the indicator segments from the enum.
+
+
+
See also
WatchIndicatorSegment
+ +
+
+ +

◆ watch_set_pixel()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void watch_set_pixel (uint8_t com,
uint8_t seg 
)
+
+inline
+
+ +

Sets a pixel. Use this to manually set a pixel with a given common and segment number. See segmap.html.

+
Parameters
+ + + +
comthe common pin, numbered from 0-2.
segthe segment pin, numbered from 0-23.
+
+
+ +
+
+ +

◆ watch_start_character_blink()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void watch_start_character_blink (char character,
uint32_t duration 
)
+
+ +

Blinks a single character in position 7. Does not affect other positions.

+

Six of the seven segments in position 7 (and only position 7) are capable of autonomous blinking. This blinking does not require any CPU resources, and will continue even in STANDBY and Sleep mode (but not Deep Sleep mode, since that mode turns off the LCD).

Parameters
+ + + +
characterThe character you wish to blink.
durationThe duration of the on/off cycle in milliseconds, from 50 to ~4250 ms.
+
+
+
Note
Segment B of position 7 cannot blink autonomously, so not all characters will work well. Supported characters for blinking:
    +
  • Punctuation: underscore, apostrophe, comma, hyphen, equals sign, tilde (top segment only)
  • +
  • Numbers: 5, 6, ampersand (lowercase 7)
  • +
  • Letters: b, C, c, E, F, h, i, L, l, n, o, S, t
  • +
+
+ +
+
+ +

◆ watch_start_tick_animation()

+ +
+
+ + + + + + + + +
void watch_start_tick_animation (uint32_t duration)
+
+ +

Begins a two-segment "tick-tock" animation in position 8.

+

Six of the seven segments in position 8 (and only position 8) are capable of autonomous animation. This animation is very basic, and consists of moving a bit pattern forward or backward in a shift register whose positions map to fixed segments on the LCD. Given this constraint, an animation across all six segments does not make sense; so the watch library offers only a simple "tick/tock" in segments D and E. This animation does not require any CPU resources, and will continue even in STANDBY and Sleep mode (but not Deep Sleep mode, since that mode turns off the LCD).

Parameters
+ + +
durationThe duration of each frame in ms. 500 milliseconds produces a classic tick/tock.
+
+
+ +
+
+ +

◆ watch_stop_blink()

+ +
+
+ + + + + + + + +
void watch_stop_blink (void )
+
+ +

Stops and clears all blinking segments.

+

This will stop all blinking in position 7, and clear all segments in that digit.

+ +
+
+ +

◆ watch_stop_tick_animation()

+ +
+
+ + + + + + + + +
void watch_stop_tick_animation (void )
+
+ +

Stops the tick/tock animation and clears all animating segments.

+

This will stop the animation and clear all segments in position 8.

+ +
+
+ +

◆ watch_tick_animation_is_running()

+ +
+
+ + + + + + + + +
bool watch_tick_animation_is_running (void )
+
+ +

Checks if the tick animation is currently running.

+
Returns
true if the animation is running; false otherwise.
+ +
+
+
+ + + + diff --git a/group__utility.html b/group__utility.html new file mode 100644 index 00000000..701bd865 --- /dev/null +++ b/group__utility.html @@ -0,0 +1,347 @@ + + + + + + + +Sensor Watch: Utility Functions + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Utility Functions
+
+
+ +

This section covers various useful functions that don't fit anywhere else. +More...

+ + + + + + + + + + + + + + + + + +

+Functions

const char * watch_utility_get_weekday (watch_date_time date_time)
 Returns a two-letter weekday for the given timestamp, suitable for display in positions 0-1 of the watch face. More...
 
uint32_t watch_utility_convert_to_unix_time (uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset)
 Returns the UNIX time (seconds since 1970) for a given date/time in UTC. More...
 
uint32_t watch_utility_date_time_to_unix_time (watch_date_time date_time, uint32_t utc_offset)
 Returns the UNIX time (seconds since 1970) for a given watch_date_time struct. More...
 
watch_date_time watch_utility_date_time_from_unix_time (uint32_t timestamp, uint32_t utc_offset)
 Returns the UNIX time (seconds since 1970) for a given watch_date_time struct. More...
 
float watch_utility_thermistor_temperature (uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)
 Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit. More...
 
+

Detailed Description

+

This section covers various useful functions that don't fit anywhere else.

+

Function Documentation

+ +

◆ watch_utility_convert_to_unix_time()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t watch_utility_convert_to_unix_time (uint16_t year,
uint8_t month,
uint8_t day,
uint8_t hour,
uint8_t minute,
uint8_t second,
uint32_t utc_offset 
)
+
+ +

Returns the UNIX time (seconds since 1970) for a given date/time in UTC.

+
Parameters
+ + + + + + + + + +
date_timeThe watch_date_time that you wish to convert.
yearThe year of the date you wish to convert.
monthThe month of the date you wish to convert.
dayThe day of the date you wish to convert.
hourThe hour of the date you wish to convert.
minuteThe minute of the date you wish to convert.
secondThe second of the date you wish to convert.
utc_offsetThe number of seconds that date_time is offset from UTC, or 0 if the time is UTC.
+
+
+
Returns
A UNIX timestamp for the given date/time and UTC offset.
+
Note
Implemented by Wesley Ellis (tahnok) and based on BSD-licensed code by Josh Haberman: https://blog.reverberate.org/2020/05/12/optimizing-date-algorithms.html
+ +
+
+ +

◆ watch_utility_date_time_from_unix_time()

+ +
+
+ + + + + + + + + + + + + + + + + + +
watch_date_time watch_utility_date_time_from_unix_time (uint32_t timestamp,
uint32_t utc_offset 
)
+
+ +

Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.

+
Parameters
+ + + +
timestampThe UNIX timestamp that you wish to convert.
utc_offsetThe number of seconds that you wish date_time to be offset from UTC.
+
+
+
Returns
A watch_date_time for the given UNIX timestamp and UTC offset, or if outside the range that watch_date_time can represent, a watch_date_time with all fields set to 0.
+
Note
Adapted from MIT-licensed code from musl, Copyright © 2005-2014 Rich Felker, et al.: https://github.com/esmil/musl/blob/1cc81f5cb0df2b66a795ff0c26d7bbc4d16e13c6/src/time/__secs_to_tm.c
+ +
+
+ +

◆ watch_utility_date_time_to_unix_time()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint32_t watch_utility_date_time_to_unix_time (watch_date_time date_time,
uint32_t utc_offset 
)
+
+ +

Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.

+
Parameters
+ + + +
date_timeThe watch_date_time that you wish to convert.
utc_offsetThe number of seconds that date_time is offset from UTC, or 0 if the time is UTC.
+
+
+
Returns
A UNIX timestamp for the given watch_date_time and UTC offset.
+ +
+
+ +

◆ watch_utility_get_weekday()

+ +
+
+ + + + + + + + +
const char* watch_utility_get_weekday (watch_date_time date_time)
+
+ +

Returns a two-letter weekday for the given timestamp, suitable for display in positions 0-1 of the watch face.

+
Parameters
+ + +
date_timeThe watch_date_time whose weekday you want.
+
+
+ +
+
+ +

◆ watch_utility_thermistor_temperature()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
float watch_utility_thermistor_temperature (uint16_t value,
bool highside,
float b_coefficient,
float nominal_temperature,
float nominal_resistance,
float series_resistance 
)
+
+ +

Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit.

+
Parameters
+ + + + + + + +
valueThe raw analog reading from the thermistor pin (0-65535)
highsideTrue if the thermistor is connected to VCC and the series resistor is connected to GND; false if the thermistor is connected to GND and the series resistor is connected to VCC.
b_coefficientFrom your thermistor's data sheet, the B25/85 coefficient. A typical value will be between 2000 and 5000.
nominal_temperatureFrom your thermistor's data sheet, the temperature (in Celsius) at which the thermistor's resistance is at its nominal value.
nominal_resistanceThe thermistor's resistance at the nominal temperature.
series_resistanceThe value of the other resistor in the voltage divider.
+
+
+
Note
Ported from Adafruit's MIT-licensed CircuitPython thermistor code, (c) 2017 Scott Shawcroft: https://github.com/adafruit/Adafruit_CircuitPython_Thermistor/blob/main/adafruit_thermistor.py
+ +
+
+
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 00000000..42a25091 --- /dev/null +++ b/index.html @@ -0,0 +1,90 @@ + + + + + + + +Sensor Watch: Sensor Watch Documentation + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Sensor Watch Documentation
+
+
+

This documentation covers most of the functions you will use to interact with the Sensor Watch hardware. It is divided into the following sections:

    +
  • Application Framework - This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app.
  • +
  • Real-Time Clock - This section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions.
  • +
  • Segment LCD Display - This section covers functions related to the Segment LCD display driver, which is responsible for displaying strings of characters and indicators on the main watch display.
  • +
  • Buttons & External Interrupts - This section covers functions related to the three buttons: Light, Mode and Alarm.
  • +
  • LED Control - This section covers functions related to the bi-color red/green LED mounted behind the LCD.
  • +
  • Buzzer - This section covers functions related to the piezo buzzer.
  • +
  • Analog Input - This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector.
  • +
  • Digital Input and Output - This section covers functions related to general-purpose input and output signals.
  • +
  • I2C Controller Driver - This section covers functions related to the SAM L22's built-I2C driver, including configuring the I2C bus, putting values directly on the bus and reading data from registers on I2C devices.
  • +
  • Debug UART - This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector.
  • +
  • Sleep Control - This section covers functions related to preparing for and entering BACKUP mode, the deepest sleep mode available on the SAM L22.
  • +
+
+
+ + + + diff --git a/jquery.js b/jquery.js new file mode 100644 index 00000000..103c32d7 --- /dev/null +++ b/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/menu.js b/menu.js new file mode 100644 index 00000000..2fe2214f --- /dev/null +++ b/menu.js @@ -0,0 +1,51 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/menudata.js b/menudata.js new file mode 100644 index 00000000..e455f821 --- /dev/null +++ b/menudata.js @@ -0,0 +1,35 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Modules",url:"modules.html"}, +{text:"Data Structures",url:"annotated.html",children:[ +{text:"Data Structures",url:"annotated.html"}, +{text:"Data Structure Index",url:"classes.html"}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"Globals",url:"globals.html",children:[ +{text:"All",url:"globals.html"}, +{text:"Functions",url:"globals_func.html"}]}]}]} diff --git a/modules.html b/modules.html new file mode 100644 index 00000000..2c1416ef --- /dev/null +++ b/modules.html @@ -0,0 +1,92 @@ + + + + + + + +Sensor Watch: Modules + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Modules
    +
    +
    +
    Here is a list of all modules:
    + + + + + + + + + + + + + +
     Analog InputThis section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector
     Application FrameworkThis section covers the functions that you will implement in your app.c file when designing a Sensor Watch app
     BuzzerThis section covers functions related to the piezo buzzer embedded in the F-91W's back plate
     Sleep ControlThis section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode
     Buttons & External InterruptsThis section covers functions related to the three buttons: Light, Mode and Alarm, as well as external interrupts from devices on the nine-pin connector
     Digital Input and OutputThis section covers functions related to general-purpose input and output signals
     I2C Controller DriverThis section covers functions related to the SAM L22's built-I2C driver, including configuring the I2C bus, putting values directly on the bus and reading data from registers on I2C devices
     LED ControlThis section covers functions related to the bi-color red/green LED mounted behind the LCD
     Real-Time ClockThis section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions
     Segment LCD DisplayThis section covers functions related to the Segment LCD display driver, which is responsible for displaying strings of characters and indicators on the main watch display
     Debug UARTThis section covers functions related to the debug UART, available on pin D1 of the 9-pin connector
     Utility FunctionsThis section covers various useful functions that don't fit anywhere else
    +
    +
    + + + + diff --git a/nav_f.png b/nav_f.png new file mode 100644 index 00000000..72a58a52 Binary files /dev/null and b/nav_f.png differ diff --git a/nav_g.png b/nav_g.png new file mode 100644 index 00000000..2093a237 Binary files /dev/null and b/nav_g.png differ diff --git a/nav_h.png b/nav_h.png new file mode 100644 index 00000000..33389b10 Binary files /dev/null and b/nav_h.png differ diff --git a/open.png b/open.png new file mode 100644 index 00000000..30f75c7e Binary files /dev/null and b/open.png differ diff --git a/search/all_0.html b/search/all_0.html new file mode 100644 index 00000000..1ec5b2d5 --- /dev/null +++ b/search/all_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_0.js b/search/all_0.js new file mode 100644 index 00000000..aaccd83e --- /dev/null +++ b/search/all_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['_5f_5fattribute_5f_5f_0',['__attribute__',['../group__rtc.html#ga98366c1b71e09089b441d704193bb0d4',1,'__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time): watch_rtc.h'],['../group__rtc.html#ga7ce8c01a25eb364efb7ae6ed6dbca373',1,'__attribute__((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time): watch_rtc.h'],['../group__rtc.html#ga811201003a3985a040f1f6bd3c5a69eb',1,'__attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback): watch_rtc.h'],['../group__debug.html#ga2014a199fbd2a6d7cecb24628576722c',1,'__attribute__((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud): watch_uart.h']]], + ['_5fwatch_5frtc_5fis_5fenabled_1',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'_watch_rtc_is_enabled(void): watch_rtc.c'],['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'_watch_rtc_is_enabled(void): watch_rtc.c']]] +]; diff --git a/search/all_1.html b/search/all_1.html new file mode 100644 index 00000000..9f80e904 --- /dev/null +++ b/search/all_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_1.js b/search/all_1.js new file mode 100644 index 00000000..80718576 --- /dev/null +++ b/search/all_1.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['analog_20input_2',['Analog Input',['../group__adc.html',1,'']]], + ['app_5finit_3',['app_init',['../group__app.html#gadd3190cf715f513666f4be42874d91e2',1,'watch_app.h']]], + ['app_5floop_4',['app_loop',['../group__app.html#gad1cfce0ef962cd2afe2d8b2d2d13482a',1,'watch_app.h']]], + ['app_5fprepare_5ffor_5fstandby_5',['app_prepare_for_standby',['../group__app.html#gaee30a1614f76afc41117f7176fb30165',1,'watch_app.h']]], + ['app_5fsetup_6',['app_setup',['../group__app.html#gacce192accedbd296eb8d2182f8101f16',1,'watch_app.h']]], + ['app_5fwake_5ffrom_5fbackup_7',['app_wake_from_backup',['../group__app.html#gab6a9f08ba879ce8d28fb19ca2882890a',1,'watch_app.h']]], + ['app_5fwake_5ffrom_5fstandby_8',['app_wake_from_standby',['../group__app.html#gacc7e7ff6108524545ab4183110811874',1,'watch_app.h']]], + ['application_20framework_9',['Application Framework',['../group__app.html',1,'']]] +]; diff --git a/search/all_2.html b/search/all_2.html new file mode 100644 index 00000000..02cfffc2 --- /dev/null +++ b/search/all_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_2.js b/search/all_2.js new file mode 100644 index 00000000..68657447 --- /dev/null +++ b/search/all_2.js @@ -0,0 +1,94 @@ +var searchData= +[ + ['buttons_20_26_20external_20interrupts_10',['Buttons & External Interrupts',['../group__buttons.html',1,'']]], + ['buzzer_11',['Buzzer',['../group__buzzer.html',1,'']]], + ['buzzer_5fnote_5fa1_12',['BUZZER_NOTE_A1',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afb838bfe650cefe4cfb356acd995a0ab',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa1sharp_5fb1flat_13',['BUZZER_NOTE_A1SHARP_B1FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6aa0d6d561d6ec68cf2fcdfc662e289d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa2_14',['BUZZER_NOTE_A2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa65b1ecb7a62f745465dd341c35aff3e',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa2sharp_5fb2flat_15',['BUZZER_NOTE_A2SHARP_B2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6e1c28d05df3eedfac981a2da1e49be9',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa3_16',['BUZZER_NOTE_A3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8a6bece5281a583f2e22c14d1c8617f1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa3sharp_5fb3flat_17',['BUZZER_NOTE_A3SHARP_B3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66ab13f3ca039caae7d7bc9f88466bdc',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa4_18',['BUZZER_NOTE_A4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6f77c28a116f31e2c09641f9b24e26a5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa4sharp_5fb4flat_19',['BUZZER_NOTE_A4SHARP_B4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a93bff0ab33c2d95301fd68c5940e0e23',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa5_20',['BUZZER_NOTE_A5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f1785f768faf95b68603b9ad4842de7',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa5sharp_5fb5flat_21',['BUZZER_NOTE_A5SHARP_B5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5e22350698cb4f47b0f86985359a8c57',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa6_22',['BUZZER_NOTE_A6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad65f009cb2724296dc84ded01df601db',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa6sharp_5fb6flat_23',['BUZZER_NOTE_A6SHARP_B6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a535918417144d5def0b514e00afede5d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa7_24',['BUZZER_NOTE_A7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae648ffdcdca18cb0d7d11132824a07b1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa7sharp_5fb7flat_25',['BUZZER_NOTE_A7SHARP_B7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7cb85b523319365d9de40a4283c72aab',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa8_26',['BUZZER_NOTE_A8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa3f3f368ade28922f6e127b048586681',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa8sharp_5fb8flat_27',['BUZZER_NOTE_A8SHARP_B8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1ac67083c01b61055db1856f8dc78d6',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb1_28',['BUZZER_NOTE_B1',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a15d132d03442fb7ef68c79a2ea51a03d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb2_29',['BUZZER_NOTE_B2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a4da4372f5404e78b8d9efec023e3a8d6',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb3_30',['BUZZER_NOTE_B3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aee12ae9357fa73f3739053ae66291f56',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb4_31',['BUZZER_NOTE_B4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8e554627b82718d302141ff21761180a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb5_32',['BUZZER_NOTE_B5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a04d424219333aa1fac0cae7de68d94d4',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb6_33',['BUZZER_NOTE_B6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a389ae13e26d89dbe2a811deb7f58ed80',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb7_34',['BUZZER_NOTE_B7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1e4df83378edcdacfbb177f0f9b91629',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb8_35',['BUZZER_NOTE_B8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0821aede51092e8a91d0ff6079041d20',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc2_36',['BUZZER_NOTE_C2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a42510194448233844fe941d63583e465',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc2sharp_5fd2flat_37',['BUZZER_NOTE_C2SHARP_D2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a526a5e7540fec69ede0d7cc019b27232',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc3_38',['BUZZER_NOTE_C3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6acc53dc03a87cd2685eba65f50d78a7fb',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc3sharp_5fd3flat_39',['BUZZER_NOTE_C3SHARP_D3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac00de40ddb3b88af0909b3651e29fd08',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc4_40',['BUZZER_NOTE_C4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9beadf96bfaed65246f61f11e44d8115',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc4sharp_5fd4flat_41',['BUZZER_NOTE_C4SHARP_D4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a52807e5115c73087801ae19400435086',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc5_42',['BUZZER_NOTE_C5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae692ccbfe3b845d6f7ef47fa00dc7fb3',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc5sharp_5fd5flat_43',['BUZZER_NOTE_C5SHARP_D5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f523953b899d2f0a4b238388ba24f96',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc6_44',['BUZZER_NOTE_C6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23be129ddebefc138f7e17d9b1a149f5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc6sharp_5fd6flat_45',['BUZZER_NOTE_C6SHARP_D6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a79ac8c470462646fd9abb06c21a35af2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc7_46',['BUZZER_NOTE_C7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9580b4cd5f44e70b86ba49ffcd2d8569',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc7sharp_5fd7flat_47',['BUZZER_NOTE_C7SHARP_D7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1fb53bd8fe32b3ba14024839e6522908',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc8_48',['BUZZER_NOTE_C8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a07c7bd4fc0230296cdd073af361a2e2b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc8sharp_5fd8flat_49',['BUZZER_NOTE_C8SHARP_D8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac05b42c11b114f0cbe8f1e456704dc67',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd2_50',['BUZZER_NOTE_D2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aced82af34813168c3ba664193f6e8119',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd2sharp_5fe2flat_51',['BUZZER_NOTE_D2SHARP_E2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abf3f3771b6213da95cda4b304180ec9a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd3_52',['BUZZER_NOTE_D3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a68efc589cfd823c2f4d5711db9940935',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd3sharp_5fe3flat_53',['BUZZER_NOTE_D3SHARP_E3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af1aed83c22e09ed6b24da4c1f4bac8f0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd4_54',['BUZZER_NOTE_D4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5f71c43c1f4c98c385ad4571d50dca53',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd4sharp_5fe4flat_55',['BUZZER_NOTE_D4SHARP_E4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3e4854fa8f4113e8716e0d9fd13699a2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd5_56',['BUZZER_NOTE_D5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6c1db9b5c52360e78fcab4769fdecebd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd5sharp_5fe5flat_57',['BUZZER_NOTE_D5SHARP_E5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a67235ce0f70b6a19e2d2e85fa782966b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd6_58',['BUZZER_NOTE_D6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0c7b8f7d40c17383206711ea62671f2f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd6sharp_5fe6flat_59',['BUZZER_NOTE_D6SHARP_E6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a023e51a47ee6b030ebbeeaa6d669889f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd7_60',['BUZZER_NOTE_D7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a702f5911dc2baf7c542072abac9970f0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd7sharp_5fe7flat_61',['BUZZER_NOTE_D7SHARP_E7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24d5bce8eb78d22e39c5dc4117540542',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd8_62',['BUZZER_NOTE_D8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad2d4eb2c5b96529006db88a713039894',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd8sharp_5fe8flat_63',['BUZZER_NOTE_D8SHARP_E8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3a80021428f24fc29b714b768e8a27e2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe2_64',['BUZZER_NOTE_E2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aaa310b469856dcd58e99f77986ce2b2b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe3_65',['BUZZER_NOTE_E3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0b3434b807be2a43e547f5ac5abc0ad1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe4_66',['BUZZER_NOTE_E4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2bf817cf9bfeb3e4735cd25e98810e6c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe5_67',['BUZZER_NOTE_E5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abdcc76d81804c4f246cb8492f8aaf431',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe6_68',['BUZZER_NOTE_E6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24bb6ca4bccedcf1b86853730ae9815c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe7_69',['BUZZER_NOTE_E7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2b60be48ea6333e6a8e88a2743e79392',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe8_70',['BUZZER_NOTE_E8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac162a6c798724f15602aa5cd93ede615',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff2_71',['BUZZER_NOTE_F2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9cc61d7954c7061d75bdf37ff8c752e1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff2sharp_5fg2flat_72',['BUZZER_NOTE_F2SHARP_G2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abc554a8d93518ec83b4c920ccd5aa447',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff3_73',['BUZZER_NOTE_F3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af540f4c703b9602b2bbcfc87b3815f30',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff3sharp_5fg3flat_74',['BUZZER_NOTE_F3SHARP_G3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0604e943a79ddc1da00c9702fa4f424a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff4_75',['BUZZER_NOTE_F4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1909f19a0e2712081ef9869d041ef31',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff4sharp_5fg4flat_76',['BUZZER_NOTE_F4SHARP_G4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa7f6139d251888ec06ba41b5d0e07086',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff5_77',['BUZZER_NOTE_F5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a520b4ccbf94e5ccb1374eb8457df5f77',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff5sharp_5fg5flat_78',['BUZZER_NOTE_F5SHARP_G5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7642b3e8121832fbb3f63b1b9519b838',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff6_79',['BUZZER_NOTE_F6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a99351c6be75c0a687e8d9afaa6028aae',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff6sharp_5fg6flat_80',['BUZZER_NOTE_F6SHARP_G6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8d5e673d7246a98638d236fd0e65bdb0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff7_81',['BUZZER_NOTE_F7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7deb6305d4d6b565d50e3462483a4d90',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff7sharp_5fg7flat_82',['BUZZER_NOTE_F7SHARP_G7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af86ab662181bc5288789d6b272c07a6b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff8_83',['BUZZER_NOTE_F8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0019fe1785c3b63973ed0298d5ae4bb5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff8sharp_5fg8flat_84',['BUZZER_NOTE_F8SHARP_G8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ade5bb5ae6ca75a3b438b7fe70fe7d6a5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg2_85',['BUZZER_NOTE_G2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aec4bcc4bec80db3d64c3391db7edd1c3',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg2sharp_5fa2flat_86',['BUZZER_NOTE_G2SHARP_A2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9e8b9512cd736c66c5c1fd275fbb6e0f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg3_87',['BUZZER_NOTE_G3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ab78e96eaf196b10ea5f673502a035dcd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg3sharp_5fa3flat_88',['BUZZER_NOTE_G3SHARP_A3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23098056c21bc85f54d103d0512fcb31',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg4_89',['BUZZER_NOTE_G4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a18f205be114424d28e6cd009f52e3ff8',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg4sharp_5fa4flat_90',['BUZZER_NOTE_G4SHARP_A4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6943445315c16460ad8226c337ce80b8',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg5_91',['BUZZER_NOTE_G5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae68836e0be8fcad26734b9f2d9481f2e',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg5sharp_5fa5flat_92',['BUZZER_NOTE_G5SHARP_A5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a65296207f5b7e99a41176830cc81dd8c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg6_93',['BUZZER_NOTE_G6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5d998c6bc00b76857c81c1fa19ac2bd2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg6sharp_5fa6flat_94',['BUZZER_NOTE_G6SHARP_A6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aff2cf4fccda5e09c77a6f1aeeee50849',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg7_95',['BUZZER_NOTE_G7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66b1e9a10a75da4aa194555ac0e6ecbd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg7sharp_5fa7flat_96',['BUZZER_NOTE_G7SHARP_A7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afab169ac4c7f142fdf5f96361f23579a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg8_97',['BUZZER_NOTE_G8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5ea3a5a1985ccdf22065c4b49b9b0d5c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg8sharp_5fa8flat_98',['BUZZER_NOTE_G8SHARP_A8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af85b8ab1194b403b84f7a7d99ac63436',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5frest_99',['BUZZER_NOTE_REST',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a38cc9db9a774f5e8f78b26a95f9020ad',1,'watch_buzzer.h']]], + ['buzzernote_100',['BuzzerNote',['../group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6',1,'BuzzerNote(): watch_buzzer.h'],['../group__buzzer.html#gafa12cf05739781d774798dab6b8a3fed',1,'BuzzerNote(): watch_buzzer.h']]] +]; diff --git a/search/all_3.html b/search/all_3.html new file mode 100644 index 00000000..39767b85 --- /dev/null +++ b/search/all_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_3.js b/search/all_3.js new file mode 100644 index 00000000..6ab28a40 --- /dev/null +++ b/search/all_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['debug_20uart_101',['Debug UART',['../group__debug.html',1,'']]], + ['digital_20input_20and_20output_102',['Digital Input and Output',['../group__gpio.html',1,'']]] +]; diff --git a/search/all_4.html b/search/all_4.html new file mode 100644 index 00000000..fc40463c --- /dev/null +++ b/search/all_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_4.js b/search/all_4.js new file mode 100644 index 00000000..641951fb --- /dev/null +++ b/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['i2c_20controller_20driver_103',['I2C Controller Driver',['../group__i2c.html',1,'']]] +]; diff --git a/search/all_5.html b/search/all_5.html new file mode 100644 index 00000000..9dd9344b --- /dev/null +++ b/search/all_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_5.js b/search/all_5.js new file mode 100644 index 00000000..fa61a8d1 --- /dev/null +++ b/search/all_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['led_20control_104',['LED Control',['../group__led.html',1,'']]] +]; diff --git a/search/all_6.html b/search/all_6.html new file mode 100644 index 00000000..f1e516d7 --- /dev/null +++ b/search/all_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_6.js b/search/all_6.js new file mode 100644 index 00000000..95c492ca --- /dev/null +++ b/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['noteperiods_105',['NotePeriods',['../group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b',1,'NotePeriods(): watch_buzzer.c'],['../group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b',1,'NotePeriods(): watch_buzzer.c']]] +]; diff --git a/search/all_7.html b/search/all_7.html new file mode 100644 index 00000000..8ddbf6c8 --- /dev/null +++ b/search/all_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_7.js b/search/all_7.js new file mode 100644 index 00000000..d6174699 --- /dev/null +++ b/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['real_2dtime_20clock_106',['Real-Time Clock',['../group__rtc.html',1,'']]] +]; diff --git a/search/all_8.html b/search/all_8.html new file mode 100644 index 00000000..83c55ae2 --- /dev/null +++ b/search/all_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_8.js b/search/all_8.js new file mode 100644 index 00000000..e6db514e --- /dev/null +++ b/search/all_8.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['segment_20lcd_20display_107',['Segment LCD Display',['../group__slcd.html',1,'']]], + ['sensor_20watch_20documentation_108',['Sensor Watch Documentation',['../index.html',1,'']]], + ['sleep_20control_109',['Sleep Control',['../group__deepsleep.html',1,'']]] +]; diff --git a/search/all_9.html b/search/all_9.html new file mode 100644 index 00000000..1e263c13 --- /dev/null +++ b/search/all_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_9.js b/search/all_9.js new file mode 100644 index 00000000..da194ae3 --- /dev/null +++ b/search/all_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['utility_20functions_110',['Utility Functions',['../group__utility.html',1,'']]] +]; diff --git a/search/all_a.html b/search/all_a.html new file mode 100644 index 00000000..3a6cac10 --- /dev/null +++ b/search/all_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_a.js b/search/all_a.js new file mode 100644 index 00000000..424e66b9 --- /dev/null +++ b/search/all_a.js @@ -0,0 +1,91 @@ +var searchData= +[ + ['watch_2eh_111',['watch.h',['../watch_8h.html',1,'']]], + ['watch_5fbuzzer_5fplay_5fnote_112',['watch_buzzer_play_note',['../group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80',1,'watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms): watch_buzzer.c'],['../group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80',1,'watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms): watch_buzzer.c']]], + ['watch_5fclear_5fall_5findicators_113',['watch_clear_all_indicators',['../group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009',1,'watch_clear_all_indicators(void): watch_slcd.c'],['../group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009',1,'watch_clear_all_indicators(void): watch_slcd.c']]], + ['watch_5fclear_5fcolon_114',['watch_clear_colon',['../group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782',1,'watch_clear_colon(void): watch_slcd.c'],['../group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782',1,'watch_clear_colon(void): watch_slcd.c']]], + ['watch_5fclear_5fdisplay_115',['watch_clear_display',['../group__slcd.html#gad980e302e036abd7e26813de127139a4',1,'watch_clear_display(void): watch_slcd.c'],['../group__slcd.html#gad980e302e036abd7e26813de127139a4',1,'watch_clear_display(void): watch_slcd.c']]], + ['watch_5fclear_5findicator_116',['watch_clear_indicator',['../group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e',1,'watch_clear_indicator(WatchIndicatorSegment indicator): watch_slcd.c'],['../group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e',1,'watch_clear_indicator(WatchIndicatorSegment indicator): watch_slcd.c']]], + ['watch_5fclear_5fpixel_117',['watch_clear_pixel',['../group__slcd.html#gabd583acd4aa18b6377478bf95bdac9b0',1,'watch_clear_pixel(uint8_t com, uint8_t seg): watch_slcd.c'],['../group__slcd.html#gabd583acd4aa18b6377478bf95bdac9b0',1,'watch_clear_pixel(uint8_t com, uint8_t seg): watch_slcd.c']]], + ['watch_5fdate_5ftime_118',['watch_date_time',['../unionwatch__date__time.html',1,'']]], + ['watch_5fdisable_5fadc_119',['watch_disable_adc',['../group__adc.html#gaf443c79008bec5ceecbd21ad401d52cb',1,'watch_disable_adc(void): watch_adc.c'],['../group__adc.html#gaf443c79008bec5ceecbd21ad401d52cb',1,'watch_disable_adc(void): watch_adc.c']]], + ['watch_5fdisable_5fanalog_5finput_120',['watch_disable_analog_input',['../group__adc.html#gae38e15840bc5f3eca16ccb782dbb1c31',1,'watch_disable_analog_input(const uint8_t pin): watch_adc.c'],['../group__adc.html#gae38e15840bc5f3eca16ccb782dbb1c31',1,'watch_disable_analog_input(const uint8_t pin): watch_adc.c']]], + ['watch_5fdisable_5fbuzzer_121',['watch_disable_buzzer',['../group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93',1,'watch_disable_buzzer(void): watch_buzzer.c'],['../group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93',1,'watch_disable_buzzer(void): watch_buzzer.c']]], + ['watch_5fdisable_5fdigital_5finput_122',['watch_disable_digital_input',['../group__gpio.html#gae58e015e96f9e9c42a664b69185265b9',1,'watch_disable_digital_input(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gae58e015e96f9e9c42a664b69185265b9',1,'watch_disable_digital_input(const uint8_t pin): watch_gpio.c']]], + ['watch_5fdisable_5fdigital_5foutput_123',['watch_disable_digital_output',['../group__gpio.html#ga15b40170b4225ac6a927da1d76e4fd3d',1,'watch_disable_digital_output(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga15b40170b4225ac6a927da1d76e4fd3d',1,'watch_disable_digital_output(const uint8_t pin): watch_gpio.c']]], + ['watch_5fdisable_5fexternal_5finterrupts_124',['watch_disable_external_interrupts',['../group__buttons.html#ga14c8fd8d92e4535012fb939ca8f12084',1,'watch_disable_external_interrupts(void): watch_extint.c'],['../group__buttons.html#ga14c8fd8d92e4535012fb939ca8f12084',1,'watch_disable_external_interrupts(void): watch_extint.c']]], + ['watch_5fdisable_5fextwake_5finterrupt_125',['watch_disable_extwake_interrupt',['../group__deepsleep.html#gaae4dfbad44338b179a7b2d8a286bacbe',1,'watch_disable_extwake_interrupt(uint8_t pin): watch_deepsleep.c'],['../group__deepsleep.html#gaae4dfbad44338b179a7b2d8a286bacbe',1,'watch_disable_extwake_interrupt(uint8_t pin): watch_deepsleep.c']]], + ['watch_5fdisable_5fi2c_126',['watch_disable_i2c',['../group__i2c.html#ga2189bdff3dcb40f451d0aa988ea99760',1,'watch_disable_i2c(void): watch_i2c.c'],['../group__i2c.html#ga2189bdff3dcb40f451d0aa988ea99760',1,'watch_disable_i2c(void): watch_i2c.c']]], + ['watch_5fdisable_5fleds_127',['watch_disable_leds',['../group__led.html#ga883bf171196fb5a7a57ef727dca6e04a',1,'watch_disable_leds(void): watch_led.c'],['../group__led.html#ga883bf171196fb5a7a57ef727dca6e04a',1,'watch_disable_leds(void): watch_led.c']]], + ['watch_5fdisplay_5fstring_128',['watch_display_string',['../group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d',1,'watch_display_string(char *string, uint8_t position): watch_slcd.c'],['../group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d',1,'watch_display_string(char *string, uint8_t position): watch_slcd.c']]], + ['watch_5fenable_5fadc_129',['watch_enable_adc',['../group__adc.html#ga908b5334af677309b03d7679d77aaa02',1,'watch_enable_adc(void): watch_adc.c'],['../group__adc.html#ga908b5334af677309b03d7679d77aaa02',1,'watch_enable_adc(void): watch_adc.c']]], + ['watch_5fenable_5fanalog_5finput_130',['watch_enable_analog_input',['../group__adc.html#ga30a491e9cab049a2812f75862a613aa8',1,'watch_enable_analog_input(const uint8_t pin): watch_adc.c'],['../group__adc.html#ga30a491e9cab049a2812f75862a613aa8',1,'watch_enable_analog_input(const uint8_t pin): watch_adc.c']]], + ['watch_5fenable_5fbuzzer_131',['watch_enable_buzzer',['../group__buzzer.html#ga84d2f603c4f87f2199ebc102439fb204',1,'watch_enable_buzzer(void): watch_buzzer.c'],['../group__buzzer.html#ga84d2f603c4f87f2199ebc102439fb204',1,'watch_enable_buzzer(void): watch_buzzer.c']]], + ['watch_5fenable_5fdigital_5finput_132',['watch_enable_digital_input',['../group__gpio.html#ga8f6035dc4a5226fa34504e8a5a930e0c',1,'watch_enable_digital_input(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga8f6035dc4a5226fa34504e8a5a930e0c',1,'watch_enable_digital_input(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fdigital_5foutput_133',['watch_enable_digital_output',['../group__gpio.html#gaf73a6405eb90bc6de32fb66f512fe4a9',1,'watch_enable_digital_output(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gaf73a6405eb90bc6de32fb66f512fe4a9',1,'watch_enable_digital_output(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fdisplay_134',['watch_enable_display',['../group__slcd.html#ga0bb83dc413aeb321daef90d93f258033',1,'watch_enable_display(void): watch_slcd.c'],['../group__slcd.html#ga0bb83dc413aeb321daef90d93f258033',1,'watch_enable_display(void): watch_slcd.c']]], + ['watch_5fenable_5fexternal_5finterrupts_135',['watch_enable_external_interrupts',['../group__buttons.html#ga9bcddd56ef2065183697b471a5fff6d2',1,'watch_enable_external_interrupts(void): watch_extint.c'],['../group__buttons.html#ga9bcddd56ef2065183697b471a5fff6d2',1,'watch_enable_external_interrupts(void): watch_extint.c']]], + ['watch_5fenable_5fi2c_136',['watch_enable_i2c',['../group__i2c.html#gab9f25517d9dc3c32a707266dfd413e5b',1,'watch_enable_i2c(void): watch_i2c.c'],['../group__i2c.html#gab9f25517d9dc3c32a707266dfd413e5b',1,'watch_enable_i2c(void): watch_i2c.c']]], + ['watch_5fenable_5fleds_137',['watch_enable_leds',['../group__led.html#ga86ce31dc95137ed41983fb7c6af5502a',1,'watch_enable_leds(void): watch_led.c'],['../group__led.html#ga86ce31dc95137ed41983fb7c6af5502a',1,'watch_enable_leds(void): watch_led.c']]], + ['watch_5fenable_5fpull_5fdown_138',['watch_enable_pull_down',['../group__gpio.html#gae974fce4ac5d38ffe256186a84c63ff9',1,'watch_enable_pull_down(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gae974fce4ac5d38ffe256186a84c63ff9',1,'watch_enable_pull_down(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fpull_5fup_139',['watch_enable_pull_up',['../group__gpio.html#ga55a16884f634ee0eb2c981d1b9a06a4d',1,'watch_enable_pull_up(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga55a16884f634ee0eb2c981d1b9a06a4d',1,'watch_enable_pull_up(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenter_5fbackup_5fmode_140',['watch_enter_backup_mode',['../group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef',1,'watch_enter_backup_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef',1,'watch_enter_backup_mode(void): watch_deepsleep.c']]], + ['watch_5fenter_5fdeep_5fsleep_5fmode_141',['watch_enter_deep_sleep_mode',['../group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451',1,'watch_enter_deep_sleep_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451',1,'watch_enter_deep_sleep_mode(void): watch_deepsleep.c']]], + ['watch_5fenter_5fsleep_5fmode_142',['watch_enter_sleep_mode',['../group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b',1,'watch_enter_sleep_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b',1,'watch_enter_sleep_mode(void): watch_deepsleep.c']]], + ['watch_5fget_5fanalog_5fpin_5flevel_143',['watch_get_analog_pin_level',['../group__adc.html#ga2064244f68cff87a1df08f6b07183069',1,'watch_get_analog_pin_level(const uint8_t pin): watch_adc.c'],['../group__adc.html#ga2064244f68cff87a1df08f6b07183069',1,'watch_get_analog_pin_level(const uint8_t pin): watch_adc.c']]], + ['watch_5fget_5fbackup_5fdata_144',['watch_get_backup_data',['../group__deepsleep.html#ga2de1f1012475654c4741f60808581196',1,'watch_get_backup_data(uint8_t reg): watch_deepsleep.c'],['../group__deepsleep.html#ga2de1f1012475654c4741f60808581196',1,'watch_get_backup_data(uint8_t reg): watch_deepsleep.c']]], + ['watch_5fget_5fpin_5flevel_145',['watch_get_pin_level',['../group__gpio.html#gacc7c5e867c05cd03f5955e8e8036b879',1,'watch_get_pin_level(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gacc7c5e867c05cd03f5955e8e8036b879',1,'watch_get_pin_level(const uint8_t pin): watch_gpio.c']]], + ['watch_5fget_5fvcc_5fvoltage_146',['watch_get_vcc_voltage',['../group__adc.html#ga465fcb058492d350d29fe4403df85b14',1,'watch_get_vcc_voltage(void): watch_adc.c'],['../group__adc.html#ga465fcb058492d350d29fe4403df85b14',1,'watch_get_vcc_voltage(void): watch_adc.c']]], + ['watch_5fi2c_5fread16_147',['watch_i2c_read16',['../group__i2c.html#gaed749d3ca5e6e3aedcf1aefed3d7663e',1,'watch_i2c_read16(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#gaed749d3ca5e6e3aedcf1aefed3d7663e',1,'watch_i2c_read16(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread24_148',['watch_i2c_read24',['../group__i2c.html#ga6732b5655fdada88d083e4b4d05d1ca8',1,'watch_i2c_read24(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#ga6732b5655fdada88d083e4b4d05d1ca8',1,'watch_i2c_read24(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread32_149',['watch_i2c_read32',['../group__i2c.html#ga3d1c750d1b228b11333d10fc9647d651',1,'watch_i2c_read32(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#ga3d1c750d1b228b11333d10fc9647d651',1,'watch_i2c_read32(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread8_150',['watch_i2c_read8',['../group__i2c.html#gac5644140ddda98198f9d5deabbeaf781',1,'watch_i2c_read8(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#gac5644140ddda98198f9d5deabbeaf781',1,'watch_i2c_read8(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5freceive_151',['watch_i2c_receive',['../group__i2c.html#ga426971387b87286c8decca7342c06b4b',1,'watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c'],['../group__i2c.html#ga426971387b87286c8decca7342c06b4b',1,'watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c']]], + ['watch_5fi2c_5fsend_152',['watch_i2c_send',['../group__i2c.html#ga8b44030f78c30dd4026b349fc0c8cf08',1,'watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c'],['../group__i2c.html#ga8b44030f78c30dd4026b349fc0c8cf08',1,'watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c']]], + ['watch_5fi2c_5fwrite8_153',['watch_i2c_write8',['../group__i2c.html#gaf0a4c78215cbd85ab557fc6c786eb6ad',1,'watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data): watch_i2c.c'],['../group__i2c.html#gaf0a4c78215cbd85ab557fc6c786eb6ad',1,'watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data): watch_i2c.c']]], + ['watch_5findicator_5f24h_154',['WATCH_INDICATOR_24H',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48',1,'watch_slcd.h']]], + ['watch_5findicator_5fbell_155',['WATCH_INDICATOR_BELL',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3',1,'watch_slcd.h']]], + ['watch_5findicator_5flap_156',['WATCH_INDICATOR_LAP',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6',1,'watch_slcd.h']]], + ['watch_5findicator_5fpm_157',['WATCH_INDICATOR_PM',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f',1,'watch_slcd.h']]], + ['watch_5findicator_5fsignal_158',['WATCH_INDICATOR_SIGNAL',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292',1,'watch_slcd.h']]], + ['watch_5finterrupt_5ftrigger_159',['watch_interrupt_trigger',['../group__buttons.html#gadee2b304ce34a8aec5aedabd75934c1b',1,'watch_interrupt_trigger(): watch_extint.h'],['../group__buttons.html#ga0454ca577b6fcc7a7cb03039cb5150d8',1,'watch_interrupt_trigger(): watch_extint.h']]], + ['watch_5fis_5fbattery_5flow_160',['watch_is_battery_low',['../watch_8h.html#a16023aa6b668de61af59b40b2bee5d1d',1,'watch.c']]], + ['watch_5fregister_5fextwake_5fcallback_161',['watch_register_extwake_callback',['../group__deepsleep.html#gacad726423f5f38697c87474ab25244ca',1,'watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level): watch_deepsleep.c'],['../group__deepsleep.html#gacad726423f5f38697c87474ab25244ca',1,'watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level): watch_deepsleep.c']]], + ['watch_5fregister_5finterrupt_5fcallback_162',['watch_register_interrupt_callback',['../group__buttons.html#gae40d2f73d0412680d83c26b8a0e1d31c',1,'watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger): watch_extint.c'],['../group__buttons.html#gae40d2f73d0412680d83c26b8a0e1d31c',1,'watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger): watch_extint.c']]], + ['watch_5frtc_5fdisable_5falarm_5fcallback_163',['watch_rtc_disable_alarm_callback',['../group__rtc.html#ga836cade77c24e93c06bf534eaded55bf',1,'watch_rtc_disable_alarm_callback(void): watch_rtc.c'],['../group__rtc.html#ga836cade77c24e93c06bf534eaded55bf',1,'watch_rtc_disable_alarm_callback(void): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5fall_5fperiodic_5fcallbacks_164',['watch_rtc_disable_all_periodic_callbacks',['../group__rtc.html#ga0150da34307ba61e44f1a00aa90a7f0f',1,'watch_rtc_disable_all_periodic_callbacks(void): watch_rtc.c'],['../group__rtc.html#ga0150da34307ba61e44f1a00aa90a7f0f',1,'watch_rtc_disable_all_periodic_callbacks(void): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5fperiodic_5fcallback_165',['watch_rtc_disable_periodic_callback',['../group__rtc.html#ga4e025485bb50e1c93abd4a185447705f',1,'watch_rtc_disable_periodic_callback(uint8_t frequency): watch_rtc.c'],['../group__rtc.html#ga4e025485bb50e1c93abd4a185447705f',1,'watch_rtc_disable_periodic_callback(uint8_t frequency): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5ftick_5fcallback_166',['watch_rtc_disable_tick_callback',['../group__rtc.html#ga685f2afb2e99dfebf8d2ef058a5bc19d',1,'watch_rtc_disable_tick_callback(void): watch_rtc.c'],['../group__rtc.html#ga685f2afb2e99dfebf8d2ef058a5bc19d',1,'watch_rtc_disable_tick_callback(void): watch_rtc.c']]], + ['watch_5frtc_5fget_5fdate_5ftime_167',['watch_rtc_get_date_time',['../group__rtc.html#ga166b575563d39a0061dc9a28ad0309a7',1,'watch_rtc_get_date_time(void): watch_rtc.c'],['../group__rtc.html#ga166b575563d39a0061dc9a28ad0309a7',1,'watch_rtc_get_date_time(void): watch_rtc.c']]], + ['watch_5frtc_5fregister_5falarm_5fcallback_168',['watch_rtc_register_alarm_callback',['../group__rtc.html#gaa5220d0d7f542a0bc6c9bef176d6d83b',1,'watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask): watch_rtc.c'],['../group__rtc.html#gaa5220d0d7f542a0bc6c9bef176d6d83b',1,'watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask): watch_rtc.c']]], + ['watch_5frtc_5fregister_5fperiodic_5fcallback_169',['watch_rtc_register_periodic_callback',['../group__rtc.html#gaeb4e67aa0062e39eaff465aeebc24f53',1,'watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency): watch_rtc.c'],['../group__rtc.html#gaeb4e67aa0062e39eaff465aeebc24f53',1,'watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency): watch_rtc.c']]], + ['watch_5frtc_5fregister_5ftick_5fcallback_170',['watch_rtc_register_tick_callback',['../group__rtc.html#ga969ea57aaedf13d4950edbeacff3f2be',1,'watch_rtc_register_tick_callback(ext_irq_cb_t callback): watch_rtc.c'],['../group__rtc.html#ga969ea57aaedf13d4950edbeacff3f2be',1,'watch_rtc_register_tick_callback(ext_irq_cb_t callback): watch_rtc.c']]], + ['watch_5frtc_5fset_5fdate_5ftime_171',['watch_rtc_set_date_time',['../group__rtc.html#gadfcc143db9d71e95c2d2dc45732ab4e5',1,'watch_rtc_set_date_time(watch_date_time date_time): watch_rtc.c'],['../group__rtc.html#gadfcc143db9d71e95c2d2dc45732ab4e5',1,'watch_rtc_set_date_time(watch_date_time date_time): watch_rtc.c']]], + ['watch_5fset_5fanalog_5fnum_5fsamples_172',['watch_set_analog_num_samples',['../group__adc.html#ga90bac58a3fa935d8fd640f4b58c8037d',1,'watch_set_analog_num_samples(uint16_t samples): watch_adc.c'],['../group__adc.html#ga90bac58a3fa935d8fd640f4b58c8037d',1,'watch_set_analog_num_samples(uint16_t samples): watch_adc.c']]], + ['watch_5fset_5fanalog_5freference_5fvoltage_173',['watch_set_analog_reference_voltage',['../group__adc.html#ga9ea7b8aef4573f02ff3adafcf891cd93',1,'watch_set_analog_reference_voltage(watch_adc_reference_voltage reference): watch_adc.c'],['../group__adc.html#ga9ea7b8aef4573f02ff3adafcf891cd93',1,'watch_set_analog_reference_voltage(watch_adc_reference_voltage reference): watch_adc.c']]], + ['watch_5fset_5fanalog_5fsampling_5flength_174',['watch_set_analog_sampling_length',['../group__adc.html#gae9f9ed34e8752e211c1692af473a88dc',1,'watch_set_analog_sampling_length(uint8_t cycles): watch_adc.c'],['../group__adc.html#gae9f9ed34e8752e211c1692af473a88dc',1,'watch_set_analog_sampling_length(uint8_t cycles): watch_adc.c']]], + ['watch_5fset_5fbuzzer_5foff_175',['watch_set_buzzer_off',['../group__buzzer.html#ga803568f5bc5f6b77ea9efa5299c6d9f4',1,'watch_set_buzzer_off(void): watch_buzzer.c'],['../group__buzzer.html#ga803568f5bc5f6b77ea9efa5299c6d9f4',1,'watch_set_buzzer_off(void): watch_buzzer.c']]], + ['watch_5fset_5fbuzzer_5fon_176',['watch_set_buzzer_on',['../group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98',1,'watch_set_buzzer_on(void): watch_buzzer.c'],['../group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98',1,'watch_set_buzzer_on(void): watch_buzzer.c']]], + ['watch_5fset_5fbuzzer_5fperiod_177',['watch_set_buzzer_period',['../group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9',1,'watch_set_buzzer_period(uint32_t period): watch_buzzer.c'],['../group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9',1,'watch_set_buzzer_period(uint32_t period): watch_buzzer.c']]], + ['watch_5fset_5fcolon_178',['watch_set_colon',['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_slcd.c'],['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_slcd.c']]], + ['watch_5fset_5findicator_179',['watch_set_indicator',['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_slcd.c'],['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_slcd.c']]], + ['watch_5fset_5fled_5fcolor_180',['watch_set_led_color',['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_set_led_color(uint8_t red, uint8_t green): watch_led.c'],['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_set_led_color(uint8_t red, uint8_t green): watch_led.c']]], + ['watch_5fset_5fled_5fgreen_181',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_set_led_green(void): watch_led.c'],['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_set_led_green(void): watch_led.c']]], + ['watch_5fset_5fled_5foff_182',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_set_led_off(void): watch_led.c'],['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_set_led_off(void): watch_led.c']]], + ['watch_5fset_5fled_5fred_183',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_set_led_red(void): watch_led.c'],['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_set_led_red(void): watch_led.c']]], + ['watch_5fset_5fled_5fyellow_184',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_set_led_yellow(void): watch_led.c'],['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_set_led_yellow(void): watch_led.c']]], + ['watch_5fset_5fpin_5flevel_185',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_set_pin_level(const uint8_t pin, const bool level): watch_gpio.c'],['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_set_pin_level(const uint8_t pin, const bool level): watch_gpio.c']]], + ['watch_5fset_5fpixel_186',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_set_pixel(uint8_t com, uint8_t seg): watch_slcd.c'],['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_set_pixel(uint8_t com, uint8_t seg): watch_slcd.c']]], + ['watch_5fstart_5fcharacter_5fblink_187',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_start_character_blink(char character, uint32_t duration): watch_slcd.c'],['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_start_character_blink(char character, uint32_t duration): watch_slcd.c']]], + ['watch_5fstart_5ftick_5fanimation_188',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_start_tick_animation(uint32_t duration): watch_slcd.c'],['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_start_tick_animation(uint32_t duration): watch_slcd.c']]], + ['watch_5fstop_5fblink_189',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_stop_blink(void): watch_slcd.c'],['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_stop_blink(void): watch_slcd.c']]], + ['watch_5fstop_5ftick_5fanimation_190',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_stop_tick_animation(void): watch_slcd.c'],['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_stop_tick_animation(void): watch_slcd.c']]], + ['watch_5fstore_5fbackup_5fdata_191',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_store_backup_data(uint32_t data, uint8_t reg): watch_deepsleep.c'],['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_store_backup_data(uint32_t data, uint8_t reg): watch_deepsleep.c']]], + ['watch_5ftick_5fanimation_5fis_5frunning_192',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_tick_animation_is_running(void): watch_slcd.c'],['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_tick_animation_is_running(void): watch_slcd.c']]], + ['watch_5futility_5fconvert_5fto_5funix_5ftime_193',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_194',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_195',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fget_5fweekday_196',['watch_utility_get_weekday',['../group__utility.html#ga8f3d6ddf5f22bc61e1dc4b569009b127',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#ga8f3d6ddf5f22bc61e1dc4b569009b127',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]], + ['watch_5futility_5fthermistor_5ftemperature_197',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]], + ['watchindicatorsegment_198',['WatchIndicatorSegment',['../group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2',1,'WatchIndicatorSegment(): watch_slcd.h'],['../group__slcd.html#ga12f90dd93f63366e5a08f161e5f6c9f5',1,'WatchIndicatorSegment(): watch_slcd.h']]] +]; diff --git a/search/classes_0.html b/search/classes_0.html new file mode 100644 index 00000000..af8159ee --- /dev/null +++ b/search/classes_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_0.js b/search/classes_0.js new file mode 100644 index 00000000..90bf16ce --- /dev/null +++ b/search/classes_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['watch_5fdate_5ftime_199',['watch_date_time',['../unionwatch__date__time.html',1,'']]] +]; diff --git a/search/close.svg b/search/close.svg new file mode 100644 index 00000000..a933eea1 --- /dev/null +++ b/search/close.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/search/enums_0.html b/search/enums_0.html new file mode 100644 index 00000000..141fff57 --- /dev/null +++ b/search/enums_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/enums_0.js b/search/enums_0.js new file mode 100644 index 00000000..3e1c7077 --- /dev/null +++ b/search/enums_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buzzernote_292',['BuzzerNote',['../group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6',1,'watch_buzzer.h']]] +]; diff --git a/search/enums_1.html b/search/enums_1.html new file mode 100644 index 00000000..d29f3b16 --- /dev/null +++ b/search/enums_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/enums_1.js b/search/enums_1.js new file mode 100644 index 00000000..8354eda6 --- /dev/null +++ b/search/enums_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['watch_5finterrupt_5ftrigger_293',['watch_interrupt_trigger',['../group__buttons.html#ga0454ca577b6fcc7a7cb03039cb5150d8',1,'watch_extint.h']]], + ['watchindicatorsegment_294',['WatchIndicatorSegment',['../group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2',1,'watch_slcd.h']]] +]; diff --git a/search/enumvalues_0.html b/search/enumvalues_0.html new file mode 100644 index 00000000..0d131d95 --- /dev/null +++ b/search/enumvalues_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/enumvalues_0.js b/search/enumvalues_0.js new file mode 100644 index 00000000..cfd71079 --- /dev/null +++ b/search/enumvalues_0.js @@ -0,0 +1,91 @@ +var searchData= +[ + ['buzzer_5fnote_5fa1_295',['BUZZER_NOTE_A1',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afb838bfe650cefe4cfb356acd995a0ab',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa1sharp_5fb1flat_296',['BUZZER_NOTE_A1SHARP_B1FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6aa0d6d561d6ec68cf2fcdfc662e289d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa2_297',['BUZZER_NOTE_A2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa65b1ecb7a62f745465dd341c35aff3e',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa2sharp_5fb2flat_298',['BUZZER_NOTE_A2SHARP_B2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6e1c28d05df3eedfac981a2da1e49be9',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa3_299',['BUZZER_NOTE_A3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8a6bece5281a583f2e22c14d1c8617f1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa3sharp_5fb3flat_300',['BUZZER_NOTE_A3SHARP_B3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66ab13f3ca039caae7d7bc9f88466bdc',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa4_301',['BUZZER_NOTE_A4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6f77c28a116f31e2c09641f9b24e26a5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa4sharp_5fb4flat_302',['BUZZER_NOTE_A4SHARP_B4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a93bff0ab33c2d95301fd68c5940e0e23',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa5_303',['BUZZER_NOTE_A5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f1785f768faf95b68603b9ad4842de7',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa5sharp_5fb5flat_304',['BUZZER_NOTE_A5SHARP_B5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5e22350698cb4f47b0f86985359a8c57',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa6_305',['BUZZER_NOTE_A6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad65f009cb2724296dc84ded01df601db',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa6sharp_5fb6flat_306',['BUZZER_NOTE_A6SHARP_B6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a535918417144d5def0b514e00afede5d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa7_307',['BUZZER_NOTE_A7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae648ffdcdca18cb0d7d11132824a07b1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa7sharp_5fb7flat_308',['BUZZER_NOTE_A7SHARP_B7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7cb85b523319365d9de40a4283c72aab',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa8_309',['BUZZER_NOTE_A8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa3f3f368ade28922f6e127b048586681',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fa8sharp_5fb8flat_310',['BUZZER_NOTE_A8SHARP_B8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1ac67083c01b61055db1856f8dc78d6',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb1_311',['BUZZER_NOTE_B1',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a15d132d03442fb7ef68c79a2ea51a03d',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb2_312',['BUZZER_NOTE_B2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a4da4372f5404e78b8d9efec023e3a8d6',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb3_313',['BUZZER_NOTE_B3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aee12ae9357fa73f3739053ae66291f56',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb4_314',['BUZZER_NOTE_B4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8e554627b82718d302141ff21761180a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb5_315',['BUZZER_NOTE_B5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a04d424219333aa1fac0cae7de68d94d4',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb6_316',['BUZZER_NOTE_B6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a389ae13e26d89dbe2a811deb7f58ed80',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb7_317',['BUZZER_NOTE_B7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1e4df83378edcdacfbb177f0f9b91629',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fb8_318',['BUZZER_NOTE_B8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0821aede51092e8a91d0ff6079041d20',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc2_319',['BUZZER_NOTE_C2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a42510194448233844fe941d63583e465',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc2sharp_5fd2flat_320',['BUZZER_NOTE_C2SHARP_D2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a526a5e7540fec69ede0d7cc019b27232',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc3_321',['BUZZER_NOTE_C3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6acc53dc03a87cd2685eba65f50d78a7fb',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc3sharp_5fd3flat_322',['BUZZER_NOTE_C3SHARP_D3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac00de40ddb3b88af0909b3651e29fd08',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc4_323',['BUZZER_NOTE_C4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9beadf96bfaed65246f61f11e44d8115',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc4sharp_5fd4flat_324',['BUZZER_NOTE_C4SHARP_D4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a52807e5115c73087801ae19400435086',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc5_325',['BUZZER_NOTE_C5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae692ccbfe3b845d6f7ef47fa00dc7fb3',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc5sharp_5fd5flat_326',['BUZZER_NOTE_C5SHARP_D5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f523953b899d2f0a4b238388ba24f96',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc6_327',['BUZZER_NOTE_C6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23be129ddebefc138f7e17d9b1a149f5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc6sharp_5fd6flat_328',['BUZZER_NOTE_C6SHARP_D6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a79ac8c470462646fd9abb06c21a35af2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc7_329',['BUZZER_NOTE_C7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9580b4cd5f44e70b86ba49ffcd2d8569',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc7sharp_5fd7flat_330',['BUZZER_NOTE_C7SHARP_D7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1fb53bd8fe32b3ba14024839e6522908',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc8_331',['BUZZER_NOTE_C8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a07c7bd4fc0230296cdd073af361a2e2b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fc8sharp_5fd8flat_332',['BUZZER_NOTE_C8SHARP_D8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac05b42c11b114f0cbe8f1e456704dc67',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd2_333',['BUZZER_NOTE_D2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aced82af34813168c3ba664193f6e8119',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd2sharp_5fe2flat_334',['BUZZER_NOTE_D2SHARP_E2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abf3f3771b6213da95cda4b304180ec9a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd3_335',['BUZZER_NOTE_D3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a68efc589cfd823c2f4d5711db9940935',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd3sharp_5fe3flat_336',['BUZZER_NOTE_D3SHARP_E3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af1aed83c22e09ed6b24da4c1f4bac8f0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd4_337',['BUZZER_NOTE_D4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5f71c43c1f4c98c385ad4571d50dca53',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd4sharp_5fe4flat_338',['BUZZER_NOTE_D4SHARP_E4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3e4854fa8f4113e8716e0d9fd13699a2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd5_339',['BUZZER_NOTE_D5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6c1db9b5c52360e78fcab4769fdecebd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd5sharp_5fe5flat_340',['BUZZER_NOTE_D5SHARP_E5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a67235ce0f70b6a19e2d2e85fa782966b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd6_341',['BUZZER_NOTE_D6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0c7b8f7d40c17383206711ea62671f2f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd6sharp_5fe6flat_342',['BUZZER_NOTE_D6SHARP_E6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a023e51a47ee6b030ebbeeaa6d669889f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd7_343',['BUZZER_NOTE_D7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a702f5911dc2baf7c542072abac9970f0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd7sharp_5fe7flat_344',['BUZZER_NOTE_D7SHARP_E7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24d5bce8eb78d22e39c5dc4117540542',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd8_345',['BUZZER_NOTE_D8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad2d4eb2c5b96529006db88a713039894',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fd8sharp_5fe8flat_346',['BUZZER_NOTE_D8SHARP_E8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3a80021428f24fc29b714b768e8a27e2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe2_347',['BUZZER_NOTE_E2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aaa310b469856dcd58e99f77986ce2b2b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe3_348',['BUZZER_NOTE_E3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0b3434b807be2a43e547f5ac5abc0ad1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe4_349',['BUZZER_NOTE_E4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2bf817cf9bfeb3e4735cd25e98810e6c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe5_350',['BUZZER_NOTE_E5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abdcc76d81804c4f246cb8492f8aaf431',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe6_351',['BUZZER_NOTE_E6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24bb6ca4bccedcf1b86853730ae9815c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe7_352',['BUZZER_NOTE_E7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2b60be48ea6333e6a8e88a2743e79392',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fe8_353',['BUZZER_NOTE_E8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac162a6c798724f15602aa5cd93ede615',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff2_354',['BUZZER_NOTE_F2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9cc61d7954c7061d75bdf37ff8c752e1',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff2sharp_5fg2flat_355',['BUZZER_NOTE_F2SHARP_G2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abc554a8d93518ec83b4c920ccd5aa447',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff3_356',['BUZZER_NOTE_F3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af540f4c703b9602b2bbcfc87b3815f30',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff3sharp_5fg3flat_357',['BUZZER_NOTE_F3SHARP_G3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0604e943a79ddc1da00c9702fa4f424a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff4_358',['BUZZER_NOTE_F4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1909f19a0e2712081ef9869d041ef31',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff4sharp_5fg4flat_359',['BUZZER_NOTE_F4SHARP_G4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa7f6139d251888ec06ba41b5d0e07086',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff5_360',['BUZZER_NOTE_F5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a520b4ccbf94e5ccb1374eb8457df5f77',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff5sharp_5fg5flat_361',['BUZZER_NOTE_F5SHARP_G5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7642b3e8121832fbb3f63b1b9519b838',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff6_362',['BUZZER_NOTE_F6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a99351c6be75c0a687e8d9afaa6028aae',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff6sharp_5fg6flat_363',['BUZZER_NOTE_F6SHARP_G6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8d5e673d7246a98638d236fd0e65bdb0',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff7_364',['BUZZER_NOTE_F7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7deb6305d4d6b565d50e3462483a4d90',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff7sharp_5fg7flat_365',['BUZZER_NOTE_F7SHARP_G7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af86ab662181bc5288789d6b272c07a6b',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff8_366',['BUZZER_NOTE_F8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0019fe1785c3b63973ed0298d5ae4bb5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5ff8sharp_5fg8flat_367',['BUZZER_NOTE_F8SHARP_G8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ade5bb5ae6ca75a3b438b7fe70fe7d6a5',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg2_368',['BUZZER_NOTE_G2',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aec4bcc4bec80db3d64c3391db7edd1c3',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg2sharp_5fa2flat_369',['BUZZER_NOTE_G2SHARP_A2FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9e8b9512cd736c66c5c1fd275fbb6e0f',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg3_370',['BUZZER_NOTE_G3',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ab78e96eaf196b10ea5f673502a035dcd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg3sharp_5fa3flat_371',['BUZZER_NOTE_G3SHARP_A3FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23098056c21bc85f54d103d0512fcb31',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg4_372',['BUZZER_NOTE_G4',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a18f205be114424d28e6cd009f52e3ff8',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg4sharp_5fa4flat_373',['BUZZER_NOTE_G4SHARP_A4FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6943445315c16460ad8226c337ce80b8',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg5_374',['BUZZER_NOTE_G5',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae68836e0be8fcad26734b9f2d9481f2e',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg5sharp_5fa5flat_375',['BUZZER_NOTE_G5SHARP_A5FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a65296207f5b7e99a41176830cc81dd8c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg6_376',['BUZZER_NOTE_G6',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5d998c6bc00b76857c81c1fa19ac2bd2',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg6sharp_5fa6flat_377',['BUZZER_NOTE_G6SHARP_A6FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aff2cf4fccda5e09c77a6f1aeeee50849',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg7_378',['BUZZER_NOTE_G7',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66b1e9a10a75da4aa194555ac0e6ecbd',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg7sharp_5fa7flat_379',['BUZZER_NOTE_G7SHARP_A7FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afab169ac4c7f142fdf5f96361f23579a',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg8_380',['BUZZER_NOTE_G8',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5ea3a5a1985ccdf22065c4b49b9b0d5c',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5fg8sharp_5fa8flat_381',['BUZZER_NOTE_G8SHARP_A8FLAT',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af85b8ab1194b403b84f7a7d99ac63436',1,'watch_buzzer.h']]], + ['buzzer_5fnote_5frest_382',['BUZZER_NOTE_REST',['../group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a38cc9db9a774f5e8f78b26a95f9020ad',1,'watch_buzzer.h']]] +]; diff --git a/search/enumvalues_1.html b/search/enumvalues_1.html new file mode 100644 index 00000000..cd9187ab --- /dev/null +++ b/search/enumvalues_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/enumvalues_1.js b/search/enumvalues_1.js new file mode 100644 index 00000000..787a6f30 --- /dev/null +++ b/search/enumvalues_1.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['watch_5findicator_5f24h_383',['WATCH_INDICATOR_24H',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48',1,'watch_slcd.h']]], + ['watch_5findicator_5fbell_384',['WATCH_INDICATOR_BELL',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3',1,'watch_slcd.h']]], + ['watch_5findicator_5flap_385',['WATCH_INDICATOR_LAP',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6',1,'watch_slcd.h']]], + ['watch_5findicator_5fpm_386',['WATCH_INDICATOR_PM',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f',1,'watch_slcd.h']]], + ['watch_5findicator_5fsignal_387',['WATCH_INDICATOR_SIGNAL',['../group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292',1,'watch_slcd.h']]] +]; diff --git a/search/files_0.html b/search/files_0.html new file mode 100644 index 00000000..9498842a --- /dev/null +++ b/search/files_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/files_0.js b/search/files_0.js new file mode 100644 index 00000000..23ffe754 --- /dev/null +++ b/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['watch_2eh_200',['watch.h',['../watch_8h.html',1,'']]] +]; diff --git a/search/functions_0.html b/search/functions_0.html new file mode 100644 index 00000000..eb4c5014 --- /dev/null +++ b/search/functions_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_0.js b/search/functions_0.js new file mode 100644 index 00000000..fa2c937d --- /dev/null +++ b/search/functions_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['_5f_5fattribute_5f_5f_201',['__attribute__',['../group__rtc.html#ga98366c1b71e09089b441d704193bb0d4',1,'__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time): watch_rtc.h'],['../group__rtc.html#ga7ce8c01a25eb364efb7ae6ed6dbca373',1,'__attribute__((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time): watch_rtc.h'],['../group__rtc.html#ga811201003a3985a040f1f6bd3c5a69eb',1,'__attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback): watch_rtc.h'],['../group__debug.html#ga2014a199fbd2a6d7cecb24628576722c',1,'__attribute__((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud): watch_uart.h']]], + ['_5fwatch_5frtc_5fis_5fenabled_202',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'_watch_rtc_is_enabled(void): watch_rtc.c'],['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'_watch_rtc_is_enabled(void): watch_rtc.c']]] +]; diff --git a/search/functions_1.html b/search/functions_1.html new file mode 100644 index 00000000..ef4088b8 --- /dev/null +++ b/search/functions_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_1.js b/search/functions_1.js new file mode 100644 index 00000000..659f7241 --- /dev/null +++ b/search/functions_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['app_5finit_203',['app_init',['../group__app.html#gadd3190cf715f513666f4be42874d91e2',1,'watch_app.h']]], + ['app_5floop_204',['app_loop',['../group__app.html#gad1cfce0ef962cd2afe2d8b2d2d13482a',1,'watch_app.h']]], + ['app_5fprepare_5ffor_5fstandby_205',['app_prepare_for_standby',['../group__app.html#gaee30a1614f76afc41117f7176fb30165',1,'watch_app.h']]], + ['app_5fsetup_206',['app_setup',['../group__app.html#gacce192accedbd296eb8d2182f8101f16',1,'watch_app.h']]], + ['app_5fwake_5ffrom_5fbackup_207',['app_wake_from_backup',['../group__app.html#gab6a9f08ba879ce8d28fb19ca2882890a',1,'watch_app.h']]], + ['app_5fwake_5ffrom_5fstandby_208',['app_wake_from_standby',['../group__app.html#gacc7e7ff6108524545ab4183110811874',1,'watch_app.h']]] +]; diff --git a/search/functions_2.html b/search/functions_2.html new file mode 100644 index 00000000..ca5aa10e --- /dev/null +++ b/search/functions_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_2.js b/search/functions_2.js new file mode 100644 index 00000000..52d0a2b7 --- /dev/null +++ b/search/functions_2.js @@ -0,0 +1,82 @@ +var searchData= +[ + ['watch_5fbuzzer_5fplay_5fnote_209',['watch_buzzer_play_note',['../group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80',1,'watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms): watch_buzzer.c'],['../group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80',1,'watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms): watch_buzzer.c']]], + ['watch_5fclear_5fall_5findicators_210',['watch_clear_all_indicators',['../group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009',1,'watch_clear_all_indicators(void): watch_slcd.c'],['../group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009',1,'watch_clear_all_indicators(void): watch_slcd.c']]], + ['watch_5fclear_5fcolon_211',['watch_clear_colon',['../group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782',1,'watch_clear_colon(void): watch_slcd.c'],['../group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782',1,'watch_clear_colon(void): watch_slcd.c']]], + ['watch_5fclear_5fdisplay_212',['watch_clear_display',['../group__slcd.html#gad980e302e036abd7e26813de127139a4',1,'watch_clear_display(void): watch_slcd.c'],['../group__slcd.html#gad980e302e036abd7e26813de127139a4',1,'watch_clear_display(void): watch_slcd.c']]], + ['watch_5fclear_5findicator_213',['watch_clear_indicator',['../group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e',1,'watch_clear_indicator(WatchIndicatorSegment indicator): watch_slcd.c'],['../group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e',1,'watch_clear_indicator(WatchIndicatorSegment indicator): watch_slcd.c']]], + ['watch_5fclear_5fpixel_214',['watch_clear_pixel',['../group__slcd.html#gabd583acd4aa18b6377478bf95bdac9b0',1,'watch_clear_pixel(uint8_t com, uint8_t seg): watch_slcd.c'],['../group__slcd.html#gabd583acd4aa18b6377478bf95bdac9b0',1,'watch_clear_pixel(uint8_t com, uint8_t seg): watch_slcd.c']]], + ['watch_5fdisable_5fadc_215',['watch_disable_adc',['../group__adc.html#gaf443c79008bec5ceecbd21ad401d52cb',1,'watch_disable_adc(void): watch_adc.c'],['../group__adc.html#gaf443c79008bec5ceecbd21ad401d52cb',1,'watch_disable_adc(void): watch_adc.c']]], + ['watch_5fdisable_5fanalog_5finput_216',['watch_disable_analog_input',['../group__adc.html#gae38e15840bc5f3eca16ccb782dbb1c31',1,'watch_disable_analog_input(const uint8_t pin): watch_adc.c'],['../group__adc.html#gae38e15840bc5f3eca16ccb782dbb1c31',1,'watch_disable_analog_input(const uint8_t pin): watch_adc.c']]], + ['watch_5fdisable_5fbuzzer_217',['watch_disable_buzzer',['../group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93',1,'watch_disable_buzzer(void): watch_buzzer.c'],['../group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93',1,'watch_disable_buzzer(void): watch_buzzer.c']]], + ['watch_5fdisable_5fdigital_5finput_218',['watch_disable_digital_input',['../group__gpio.html#gae58e015e96f9e9c42a664b69185265b9',1,'watch_disable_digital_input(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gae58e015e96f9e9c42a664b69185265b9',1,'watch_disable_digital_input(const uint8_t pin): watch_gpio.c']]], + ['watch_5fdisable_5fdigital_5foutput_219',['watch_disable_digital_output',['../group__gpio.html#ga15b40170b4225ac6a927da1d76e4fd3d',1,'watch_disable_digital_output(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga15b40170b4225ac6a927da1d76e4fd3d',1,'watch_disable_digital_output(const uint8_t pin): watch_gpio.c']]], + ['watch_5fdisable_5fexternal_5finterrupts_220',['watch_disable_external_interrupts',['../group__buttons.html#ga14c8fd8d92e4535012fb939ca8f12084',1,'watch_disable_external_interrupts(void): watch_extint.c'],['../group__buttons.html#ga14c8fd8d92e4535012fb939ca8f12084',1,'watch_disable_external_interrupts(void): watch_extint.c']]], + ['watch_5fdisable_5fextwake_5finterrupt_221',['watch_disable_extwake_interrupt',['../group__deepsleep.html#gaae4dfbad44338b179a7b2d8a286bacbe',1,'watch_disable_extwake_interrupt(uint8_t pin): watch_deepsleep.c'],['../group__deepsleep.html#gaae4dfbad44338b179a7b2d8a286bacbe',1,'watch_disable_extwake_interrupt(uint8_t pin): watch_deepsleep.c']]], + ['watch_5fdisable_5fi2c_222',['watch_disable_i2c',['../group__i2c.html#ga2189bdff3dcb40f451d0aa988ea99760',1,'watch_disable_i2c(void): watch_i2c.c'],['../group__i2c.html#ga2189bdff3dcb40f451d0aa988ea99760',1,'watch_disable_i2c(void): watch_i2c.c']]], + ['watch_5fdisable_5fleds_223',['watch_disable_leds',['../group__led.html#ga883bf171196fb5a7a57ef727dca6e04a',1,'watch_disable_leds(void): watch_led.c'],['../group__led.html#ga883bf171196fb5a7a57ef727dca6e04a',1,'watch_disable_leds(void): watch_led.c']]], + ['watch_5fdisplay_5fstring_224',['watch_display_string',['../group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d',1,'watch_display_string(char *string, uint8_t position): watch_slcd.c'],['../group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d',1,'watch_display_string(char *string, uint8_t position): watch_slcd.c']]], + ['watch_5fenable_5fadc_225',['watch_enable_adc',['../group__adc.html#ga908b5334af677309b03d7679d77aaa02',1,'watch_enable_adc(void): watch_adc.c'],['../group__adc.html#ga908b5334af677309b03d7679d77aaa02',1,'watch_enable_adc(void): watch_adc.c']]], + ['watch_5fenable_5fanalog_5finput_226',['watch_enable_analog_input',['../group__adc.html#ga30a491e9cab049a2812f75862a613aa8',1,'watch_enable_analog_input(const uint8_t pin): watch_adc.c'],['../group__adc.html#ga30a491e9cab049a2812f75862a613aa8',1,'watch_enable_analog_input(const uint8_t pin): watch_adc.c']]], + ['watch_5fenable_5fbuzzer_227',['watch_enable_buzzer',['../group__buzzer.html#ga84d2f603c4f87f2199ebc102439fb204',1,'watch_enable_buzzer(void): watch_buzzer.c'],['../group__buzzer.html#ga84d2f603c4f87f2199ebc102439fb204',1,'watch_enable_buzzer(void): watch_buzzer.c']]], + ['watch_5fenable_5fdigital_5finput_228',['watch_enable_digital_input',['../group__gpio.html#ga8f6035dc4a5226fa34504e8a5a930e0c',1,'watch_enable_digital_input(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga8f6035dc4a5226fa34504e8a5a930e0c',1,'watch_enable_digital_input(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fdigital_5foutput_229',['watch_enable_digital_output',['../group__gpio.html#gaf73a6405eb90bc6de32fb66f512fe4a9',1,'watch_enable_digital_output(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gaf73a6405eb90bc6de32fb66f512fe4a9',1,'watch_enable_digital_output(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fdisplay_230',['watch_enable_display',['../group__slcd.html#ga0bb83dc413aeb321daef90d93f258033',1,'watch_enable_display(void): watch_slcd.c'],['../group__slcd.html#ga0bb83dc413aeb321daef90d93f258033',1,'watch_enable_display(void): watch_slcd.c']]], + ['watch_5fenable_5fexternal_5finterrupts_231',['watch_enable_external_interrupts',['../group__buttons.html#ga9bcddd56ef2065183697b471a5fff6d2',1,'watch_enable_external_interrupts(void): watch_extint.c'],['../group__buttons.html#ga9bcddd56ef2065183697b471a5fff6d2',1,'watch_enable_external_interrupts(void): watch_extint.c']]], + ['watch_5fenable_5fi2c_232',['watch_enable_i2c',['../group__i2c.html#gab9f25517d9dc3c32a707266dfd413e5b',1,'watch_enable_i2c(void): watch_i2c.c'],['../group__i2c.html#gab9f25517d9dc3c32a707266dfd413e5b',1,'watch_enable_i2c(void): watch_i2c.c']]], + ['watch_5fenable_5fleds_233',['watch_enable_leds',['../group__led.html#ga86ce31dc95137ed41983fb7c6af5502a',1,'watch_enable_leds(void): watch_led.c'],['../group__led.html#ga86ce31dc95137ed41983fb7c6af5502a',1,'watch_enable_leds(void): watch_led.c']]], + ['watch_5fenable_5fpull_5fdown_234',['watch_enable_pull_down',['../group__gpio.html#gae974fce4ac5d38ffe256186a84c63ff9',1,'watch_enable_pull_down(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gae974fce4ac5d38ffe256186a84c63ff9',1,'watch_enable_pull_down(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenable_5fpull_5fup_235',['watch_enable_pull_up',['../group__gpio.html#ga55a16884f634ee0eb2c981d1b9a06a4d',1,'watch_enable_pull_up(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#ga55a16884f634ee0eb2c981d1b9a06a4d',1,'watch_enable_pull_up(const uint8_t pin): watch_gpio.c']]], + ['watch_5fenter_5fbackup_5fmode_236',['watch_enter_backup_mode',['../group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef',1,'watch_enter_backup_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef',1,'watch_enter_backup_mode(void): watch_deepsleep.c']]], + ['watch_5fenter_5fdeep_5fsleep_5fmode_237',['watch_enter_deep_sleep_mode',['../group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451',1,'watch_enter_deep_sleep_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451',1,'watch_enter_deep_sleep_mode(void): watch_deepsleep.c']]], + ['watch_5fenter_5fsleep_5fmode_238',['watch_enter_sleep_mode',['../group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b',1,'watch_enter_sleep_mode(void): watch_deepsleep.c'],['../group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b',1,'watch_enter_sleep_mode(void): watch_deepsleep.c']]], + ['watch_5fget_5fanalog_5fpin_5flevel_239',['watch_get_analog_pin_level',['../group__adc.html#ga2064244f68cff87a1df08f6b07183069',1,'watch_get_analog_pin_level(const uint8_t pin): watch_adc.c'],['../group__adc.html#ga2064244f68cff87a1df08f6b07183069',1,'watch_get_analog_pin_level(const uint8_t pin): watch_adc.c']]], + ['watch_5fget_5fbackup_5fdata_240',['watch_get_backup_data',['../group__deepsleep.html#ga2de1f1012475654c4741f60808581196',1,'watch_get_backup_data(uint8_t reg): watch_deepsleep.c'],['../group__deepsleep.html#ga2de1f1012475654c4741f60808581196',1,'watch_get_backup_data(uint8_t reg): watch_deepsleep.c']]], + ['watch_5fget_5fpin_5flevel_241',['watch_get_pin_level',['../group__gpio.html#gacc7c5e867c05cd03f5955e8e8036b879',1,'watch_get_pin_level(const uint8_t pin): watch_gpio.c'],['../group__gpio.html#gacc7c5e867c05cd03f5955e8e8036b879',1,'watch_get_pin_level(const uint8_t pin): watch_gpio.c']]], + ['watch_5fget_5fvcc_5fvoltage_242',['watch_get_vcc_voltage',['../group__adc.html#ga465fcb058492d350d29fe4403df85b14',1,'watch_get_vcc_voltage(void): watch_adc.c'],['../group__adc.html#ga465fcb058492d350d29fe4403df85b14',1,'watch_get_vcc_voltage(void): watch_adc.c']]], + ['watch_5fi2c_5fread16_243',['watch_i2c_read16',['../group__i2c.html#gaed749d3ca5e6e3aedcf1aefed3d7663e',1,'watch_i2c_read16(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#gaed749d3ca5e6e3aedcf1aefed3d7663e',1,'watch_i2c_read16(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread24_244',['watch_i2c_read24',['../group__i2c.html#ga6732b5655fdada88d083e4b4d05d1ca8',1,'watch_i2c_read24(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#ga6732b5655fdada88d083e4b4d05d1ca8',1,'watch_i2c_read24(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread32_245',['watch_i2c_read32',['../group__i2c.html#ga3d1c750d1b228b11333d10fc9647d651',1,'watch_i2c_read32(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#ga3d1c750d1b228b11333d10fc9647d651',1,'watch_i2c_read32(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5fread8_246',['watch_i2c_read8',['../group__i2c.html#gac5644140ddda98198f9d5deabbeaf781',1,'watch_i2c_read8(int16_t addr, uint8_t reg): watch_i2c.c'],['../group__i2c.html#gac5644140ddda98198f9d5deabbeaf781',1,'watch_i2c_read8(int16_t addr, uint8_t reg): watch_i2c.c']]], + ['watch_5fi2c_5freceive_247',['watch_i2c_receive',['../group__i2c.html#ga426971387b87286c8decca7342c06b4b',1,'watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c'],['../group__i2c.html#ga426971387b87286c8decca7342c06b4b',1,'watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c']]], + ['watch_5fi2c_5fsend_248',['watch_i2c_send',['../group__i2c.html#ga8b44030f78c30dd4026b349fc0c8cf08',1,'watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c'],['../group__i2c.html#ga8b44030f78c30dd4026b349fc0c8cf08',1,'watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length): watch_i2c.c']]], + ['watch_5fi2c_5fwrite8_249',['watch_i2c_write8',['../group__i2c.html#gaf0a4c78215cbd85ab557fc6c786eb6ad',1,'watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data): watch_i2c.c'],['../group__i2c.html#gaf0a4c78215cbd85ab557fc6c786eb6ad',1,'watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data): watch_i2c.c']]], + ['watch_5fis_5fbattery_5flow_250',['watch_is_battery_low',['../watch_8h.html#a16023aa6b668de61af59b40b2bee5d1d',1,'watch.c']]], + ['watch_5fregister_5fextwake_5fcallback_251',['watch_register_extwake_callback',['../group__deepsleep.html#gacad726423f5f38697c87474ab25244ca',1,'watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level): watch_deepsleep.c'],['../group__deepsleep.html#gacad726423f5f38697c87474ab25244ca',1,'watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level): watch_deepsleep.c']]], + ['watch_5fregister_5finterrupt_5fcallback_252',['watch_register_interrupt_callback',['../group__buttons.html#gae40d2f73d0412680d83c26b8a0e1d31c',1,'watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger): watch_extint.c'],['../group__buttons.html#gae40d2f73d0412680d83c26b8a0e1d31c',1,'watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger): watch_extint.c']]], + ['watch_5frtc_5fdisable_5falarm_5fcallback_253',['watch_rtc_disable_alarm_callback',['../group__rtc.html#ga836cade77c24e93c06bf534eaded55bf',1,'watch_rtc_disable_alarm_callback(void): watch_rtc.c'],['../group__rtc.html#ga836cade77c24e93c06bf534eaded55bf',1,'watch_rtc_disable_alarm_callback(void): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5fall_5fperiodic_5fcallbacks_254',['watch_rtc_disable_all_periodic_callbacks',['../group__rtc.html#ga0150da34307ba61e44f1a00aa90a7f0f',1,'watch_rtc_disable_all_periodic_callbacks(void): watch_rtc.c'],['../group__rtc.html#ga0150da34307ba61e44f1a00aa90a7f0f',1,'watch_rtc_disable_all_periodic_callbacks(void): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5fperiodic_5fcallback_255',['watch_rtc_disable_periodic_callback',['../group__rtc.html#ga4e025485bb50e1c93abd4a185447705f',1,'watch_rtc_disable_periodic_callback(uint8_t frequency): watch_rtc.c'],['../group__rtc.html#ga4e025485bb50e1c93abd4a185447705f',1,'watch_rtc_disable_periodic_callback(uint8_t frequency): watch_rtc.c']]], + ['watch_5frtc_5fdisable_5ftick_5fcallback_256',['watch_rtc_disable_tick_callback',['../group__rtc.html#ga685f2afb2e99dfebf8d2ef058a5bc19d',1,'watch_rtc_disable_tick_callback(void): watch_rtc.c'],['../group__rtc.html#ga685f2afb2e99dfebf8d2ef058a5bc19d',1,'watch_rtc_disable_tick_callback(void): watch_rtc.c']]], + ['watch_5frtc_5fget_5fdate_5ftime_257',['watch_rtc_get_date_time',['../group__rtc.html#ga166b575563d39a0061dc9a28ad0309a7',1,'watch_rtc_get_date_time(void): watch_rtc.c'],['../group__rtc.html#ga166b575563d39a0061dc9a28ad0309a7',1,'watch_rtc_get_date_time(void): watch_rtc.c']]], + ['watch_5frtc_5fregister_5falarm_5fcallback_258',['watch_rtc_register_alarm_callback',['../group__rtc.html#gaa5220d0d7f542a0bc6c9bef176d6d83b',1,'watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask): watch_rtc.c'],['../group__rtc.html#gaa5220d0d7f542a0bc6c9bef176d6d83b',1,'watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask): watch_rtc.c']]], + ['watch_5frtc_5fregister_5fperiodic_5fcallback_259',['watch_rtc_register_periodic_callback',['../group__rtc.html#gaeb4e67aa0062e39eaff465aeebc24f53',1,'watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency): watch_rtc.c'],['../group__rtc.html#gaeb4e67aa0062e39eaff465aeebc24f53',1,'watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency): watch_rtc.c']]], + ['watch_5frtc_5fregister_5ftick_5fcallback_260',['watch_rtc_register_tick_callback',['../group__rtc.html#ga969ea57aaedf13d4950edbeacff3f2be',1,'watch_rtc_register_tick_callback(ext_irq_cb_t callback): watch_rtc.c'],['../group__rtc.html#ga969ea57aaedf13d4950edbeacff3f2be',1,'watch_rtc_register_tick_callback(ext_irq_cb_t callback): watch_rtc.c']]], + ['watch_5frtc_5fset_5fdate_5ftime_261',['watch_rtc_set_date_time',['../group__rtc.html#gadfcc143db9d71e95c2d2dc45732ab4e5',1,'watch_rtc_set_date_time(watch_date_time date_time): watch_rtc.c'],['../group__rtc.html#gadfcc143db9d71e95c2d2dc45732ab4e5',1,'watch_rtc_set_date_time(watch_date_time date_time): watch_rtc.c']]], + ['watch_5fset_5fanalog_5fnum_5fsamples_262',['watch_set_analog_num_samples',['../group__adc.html#ga90bac58a3fa935d8fd640f4b58c8037d',1,'watch_set_analog_num_samples(uint16_t samples): watch_adc.c'],['../group__adc.html#ga90bac58a3fa935d8fd640f4b58c8037d',1,'watch_set_analog_num_samples(uint16_t samples): watch_adc.c']]], + ['watch_5fset_5fanalog_5freference_5fvoltage_263',['watch_set_analog_reference_voltage',['../group__adc.html#ga9ea7b8aef4573f02ff3adafcf891cd93',1,'watch_set_analog_reference_voltage(watch_adc_reference_voltage reference): watch_adc.c'],['../group__adc.html#ga9ea7b8aef4573f02ff3adafcf891cd93',1,'watch_set_analog_reference_voltage(watch_adc_reference_voltage reference): watch_adc.c']]], + ['watch_5fset_5fanalog_5fsampling_5flength_264',['watch_set_analog_sampling_length',['../group__adc.html#gae9f9ed34e8752e211c1692af473a88dc',1,'watch_set_analog_sampling_length(uint8_t cycles): watch_adc.c'],['../group__adc.html#gae9f9ed34e8752e211c1692af473a88dc',1,'watch_set_analog_sampling_length(uint8_t cycles): watch_adc.c']]], + ['watch_5fset_5fbuzzer_5foff_265',['watch_set_buzzer_off',['../group__buzzer.html#ga803568f5bc5f6b77ea9efa5299c6d9f4',1,'watch_set_buzzer_off(void): watch_buzzer.c'],['../group__buzzer.html#ga803568f5bc5f6b77ea9efa5299c6d9f4',1,'watch_set_buzzer_off(void): watch_buzzer.c']]], + ['watch_5fset_5fbuzzer_5fon_266',['watch_set_buzzer_on',['../group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98',1,'watch_set_buzzer_on(void): watch_buzzer.c'],['../group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98',1,'watch_set_buzzer_on(void): watch_buzzer.c']]], + ['watch_5fset_5fbuzzer_5fperiod_267',['watch_set_buzzer_period',['../group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9',1,'watch_set_buzzer_period(uint32_t period): watch_buzzer.c'],['../group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9',1,'watch_set_buzzer_period(uint32_t period): watch_buzzer.c']]], + ['watch_5fset_5fcolon_268',['watch_set_colon',['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_slcd.c'],['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_slcd.c']]], + ['watch_5fset_5findicator_269',['watch_set_indicator',['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_slcd.c'],['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_slcd.c']]], + ['watch_5fset_5fled_5fcolor_270',['watch_set_led_color',['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_set_led_color(uint8_t red, uint8_t green): watch_led.c'],['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_set_led_color(uint8_t red, uint8_t green): watch_led.c']]], + ['watch_5fset_5fled_5fgreen_271',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_set_led_green(void): watch_led.c'],['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_set_led_green(void): watch_led.c']]], + ['watch_5fset_5fled_5foff_272',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_set_led_off(void): watch_led.c'],['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_set_led_off(void): watch_led.c']]], + ['watch_5fset_5fled_5fred_273',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_set_led_red(void): watch_led.c'],['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_set_led_red(void): watch_led.c']]], + ['watch_5fset_5fled_5fyellow_274',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_set_led_yellow(void): watch_led.c'],['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_set_led_yellow(void): watch_led.c']]], + ['watch_5fset_5fpin_5flevel_275',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_set_pin_level(const uint8_t pin, const bool level): watch_gpio.c'],['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_set_pin_level(const uint8_t pin, const bool level): watch_gpio.c']]], + ['watch_5fset_5fpixel_276',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_set_pixel(uint8_t com, uint8_t seg): watch_slcd.c'],['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_set_pixel(uint8_t com, uint8_t seg): watch_slcd.c']]], + ['watch_5fstart_5fcharacter_5fblink_277',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_start_character_blink(char character, uint32_t duration): watch_slcd.c'],['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_start_character_blink(char character, uint32_t duration): watch_slcd.c']]], + ['watch_5fstart_5ftick_5fanimation_278',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_start_tick_animation(uint32_t duration): watch_slcd.c'],['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_start_tick_animation(uint32_t duration): watch_slcd.c']]], + ['watch_5fstop_5fblink_279',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_stop_blink(void): watch_slcd.c'],['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_stop_blink(void): watch_slcd.c']]], + ['watch_5fstop_5ftick_5fanimation_280',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_stop_tick_animation(void): watch_slcd.c'],['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_stop_tick_animation(void): watch_slcd.c']]], + ['watch_5fstore_5fbackup_5fdata_281',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_store_backup_data(uint32_t data, uint8_t reg): watch_deepsleep.c'],['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_store_backup_data(uint32_t data, uint8_t reg): watch_deepsleep.c']]], + ['watch_5ftick_5fanimation_5fis_5frunning_282',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_tick_animation_is_running(void): watch_slcd.c'],['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_tick_animation_is_running(void): watch_slcd.c']]], + ['watch_5futility_5fconvert_5fto_5funix_5ftime_283',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_284',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_285',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]], + ['watch_5futility_5fget_5fweekday_286',['watch_utility_get_weekday',['../group__utility.html#ga8f3d6ddf5f22bc61e1dc4b569009b127',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#ga8f3d6ddf5f22bc61e1dc4b569009b127',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]], + ['watch_5futility_5fthermistor_5ftemperature_287',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]] +]; diff --git a/search/groups_0.html b/search/groups_0.html new file mode 100644 index 00000000..c600b497 --- /dev/null +++ b/search/groups_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_0.js b/search/groups_0.js new file mode 100644 index 00000000..9afaaaea --- /dev/null +++ b/search/groups_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['analog_20input_388',['Analog Input',['../group__adc.html',1,'']]], + ['application_20framework_389',['Application Framework',['../group__app.html',1,'']]] +]; diff --git a/search/groups_1.html b/search/groups_1.html new file mode 100644 index 00000000..2eb3550d --- /dev/null +++ b/search/groups_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_1.js b/search/groups_1.js new file mode 100644 index 00000000..00fcc132 --- /dev/null +++ b/search/groups_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['buttons_20_26_20external_20interrupts_390',['Buttons & External Interrupts',['../group__buttons.html',1,'']]], + ['buzzer_391',['Buzzer',['../group__buzzer.html',1,'']]] +]; diff --git a/search/groups_2.html b/search/groups_2.html new file mode 100644 index 00000000..12f4af7a --- /dev/null +++ b/search/groups_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_2.js b/search/groups_2.js new file mode 100644 index 00000000..48ec5453 --- /dev/null +++ b/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['debug_20uart_392',['Debug UART',['../group__debug.html',1,'']]], + ['digital_20input_20and_20output_393',['Digital Input and Output',['../group__gpio.html',1,'']]] +]; diff --git a/search/groups_3.html b/search/groups_3.html new file mode 100644 index 00000000..5e235b53 --- /dev/null +++ b/search/groups_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_3.js b/search/groups_3.js new file mode 100644 index 00000000..aec448c0 --- /dev/null +++ b/search/groups_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['i2c_20controller_20driver_394',['I2C Controller Driver',['../group__i2c.html',1,'']]] +]; diff --git a/search/groups_4.html b/search/groups_4.html new file mode 100644 index 00000000..99405e15 --- /dev/null +++ b/search/groups_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_4.js b/search/groups_4.js new file mode 100644 index 00000000..eef69447 --- /dev/null +++ b/search/groups_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['led_20control_395',['LED Control',['../group__led.html',1,'']]] +]; diff --git a/search/groups_5.html b/search/groups_5.html new file mode 100644 index 00000000..583f5f58 --- /dev/null +++ b/search/groups_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_5.js b/search/groups_5.js new file mode 100644 index 00000000..a51c8319 --- /dev/null +++ b/search/groups_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['real_2dtime_20clock_396',['Real-Time Clock',['../group__rtc.html',1,'']]] +]; diff --git a/search/groups_6.html b/search/groups_6.html new file mode 100644 index 00000000..df6a310f --- /dev/null +++ b/search/groups_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_6.js b/search/groups_6.js new file mode 100644 index 00000000..3e6f5bc8 --- /dev/null +++ b/search/groups_6.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['segment_20lcd_20display_397',['Segment LCD Display',['../group__slcd.html',1,'']]], + ['sleep_20control_398',['Sleep Control',['../group__deepsleep.html',1,'']]] +]; diff --git a/search/groups_7.html b/search/groups_7.html new file mode 100644 index 00000000..8964e050 --- /dev/null +++ b/search/groups_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/groups_7.js b/search/groups_7.js new file mode 100644 index 00000000..ecc78802 --- /dev/null +++ b/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['utility_20functions_399',['Utility Functions',['../group__utility.html',1,'']]] +]; diff --git a/search/mag_sel.svg b/search/mag_sel.svg new file mode 100644 index 00000000..03626f64 --- /dev/null +++ b/search/mag_sel.svg @@ -0,0 +1,74 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/search/nomatches.html b/search/nomatches.html new file mode 100644 index 00000000..2b9360b6 --- /dev/null +++ b/search/nomatches.html @@ -0,0 +1,13 @@ + + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/search/pages_0.html b/search/pages_0.html new file mode 100644 index 00000000..8517b48f --- /dev/null +++ b/search/pages_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/pages_0.js b/search/pages_0.js new file mode 100644 index 00000000..757321ff --- /dev/null +++ b/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['sensor_20watch_20documentation_400',['Sensor Watch Documentation',['../index.html',1,'']]] +]; diff --git a/search/search.css b/search/search.css new file mode 100644 index 00000000..9074198f --- /dev/null +++ b/search/search.css @@ -0,0 +1,257 @@ +/*---------------- Search Box */ + +#MSearchBox { + white-space : nowrap; + background: white; + border-radius: 0.65em; + box-shadow: inset 0.5px 0.5px 3px 0px #555; + z-index: 102; +} + +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; +} + +#MSearchSelect { + display: inline-block; + vertical-align: middle; + height: 1.4em; + padding: 0 0 0 0.3em; + margin: 0; +} + +#MSearchField { + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 1.1em; + margin: 0 0.15em; + padding: 0; + line-height: 1em; + border:none; + color: #909090; + outline: none; + font-family: Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; + border-radius: 0px; + background: none; +} + + +#MSearchBox .right { + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; +} + +#MSearchClose { + display: none; + font-size: inherit; + background : none; + border: none; + margin: 0; + padding: 0; + outline: none; + +} + +#MSearchCloseImg { + height: 1.4em; + padding: 0.3em; + margin: 0; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; + font-family: Arial, Verdana, sans-serif; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; + font-family: Arial, Verdana, sans-serif; +} + +.SRResult { + display: none; +} + +div.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/search/search.js b/search/search.js new file mode 100644 index 00000000..fb226f73 --- /dev/null +++ b/search/search.js @@ -0,0 +1,816 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches' + this.extension; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline-block'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/typedefs_0.js b/search/typedefs_0.js new file mode 100644 index 00000000..493eaec1 --- /dev/null +++ b/search/typedefs_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buzzernote_289',['BuzzerNote',['../group__buzzer.html#gafa12cf05739781d774798dab6b8a3fed',1,'watch_buzzer.h']]] +]; diff --git a/search/typedefs_1.html b/search/typedefs_1.html new file mode 100644 index 00000000..46cf01e6 --- /dev/null +++ b/search/typedefs_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/typedefs_1.js b/search/typedefs_1.js new file mode 100644 index 00000000..490ded9c --- /dev/null +++ b/search/typedefs_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['watch_5finterrupt_5ftrigger_290',['watch_interrupt_trigger',['../group__buttons.html#gadee2b304ce34a8aec5aedabd75934c1b',1,'watch_extint.h']]], + ['watchindicatorsegment_291',['WatchIndicatorSegment',['../group__slcd.html#ga12f90dd93f63366e5a08f161e5f6c9f5',1,'watch_slcd.h']]] +]; diff --git a/search/variables_0.html b/search/variables_0.html new file mode 100644 index 00000000..1e477c08 --- /dev/null +++ b/search/variables_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_0.js b/search/variables_0.js new file mode 100644 index 00000000..14fe8eff --- /dev/null +++ b/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['noteperiods_288',['NotePeriods',['../group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b',1,'NotePeriods(): watch_buzzer.c'],['../group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b',1,'NotePeriods(): watch_buzzer.c']]] +]; diff --git a/splitbar.png b/splitbar.png new file mode 100644 index 00000000..fe895f2c Binary files /dev/null and b/splitbar.png differ diff --git a/sync_off.png b/sync_off.png new file mode 100644 index 00000000..3b443fc6 Binary files /dev/null and b/sync_off.png differ diff --git a/sync_on.png b/sync_on.png new file mode 100644 index 00000000..e08320fb Binary files /dev/null and b/sync_on.png differ diff --git a/tab_a.png b/tab_a.png new file mode 100644 index 00000000..3b725c41 Binary files /dev/null and b/tab_a.png differ diff --git a/tab_b.png b/tab_b.png new file mode 100644 index 00000000..e2b4a863 Binary files /dev/null and b/tab_b.png differ diff --git a/tab_h.png b/tab_h.png new file mode 100644 index 00000000..fd5cb705 Binary files /dev/null and b/tab_h.png differ diff --git a/tab_s.png b/tab_s.png new file mode 100644 index 00000000..ab478c95 Binary files /dev/null and b/tab_s.png differ diff --git a/tabs.css b/tabs.css new file mode 100644 index 00000000..85a0cd5b --- /dev/null +++ b/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/tusb__config_8h_source.html b/tusb__config_8h_source.html new file mode 100644 index 00000000..590a1e81 --- /dev/null +++ b/tusb__config_8h_source.html @@ -0,0 +1,171 @@ + + + + + + + +Sensor Watch: watch-library/watch/tusb_config.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    tusb_config.h
    +
    +
    +
    1 /*
    +
    2  * The MIT License (MIT)
    +
    3  *
    +
    4  * Copyright (c) 2019 Ha Thach (tinyusb.org)
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in
    +
    14  * all copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    +
    22  * THE SOFTWARE.
    +
    23  *
    +
    24  */
    +
    25 
    +
    26 #ifndef _TUSB_CONFIG_H_
    +
    27 #define _TUSB_CONFIG_H_
    +
    28 
    +
    29 #ifdef __cplusplus
    +
    30  extern "C" {
    +
    31 #endif
    +
    32 
    +
    33 //--------------------------------------------------------------------
    +
    34 // COMMON CONFIGURATION
    +
    35 //--------------------------------------------------------------------
    +
    36 
    +
    37 // defined by board.mk
    +
    38 #define CFG_TUSB_MCU OPT_MCU_SAML22
    +
    39 
    +
    40 #define BOARD_DEVICE_RHPORT_NUM 0
    +
    41 #define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_FULL_SPEED
    +
    42 #define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE | OPT_MODE_FULL_SPEED)
    +
    43 
    +
    44 #define CFG_TUSB_OS OPT_OS_NONE
    +
    45 
    +
    46 // disable TinyUSB debug. our printf method prints stuff to the USB console, so you just get infinite noise.
    +
    47 // if you need to debug tinyUSB issues, use the alternate _write function in watch_private.c to echo to the UART.
    +
    48 #define CFG_TUSB_DEBUG 0
    +
    49 
    +
    50 /* USB DMA on some MCUs can only access a specific SRAM region with restriction on alignment.
    +
    51  * Tinyusb use follows macros to declare transferring memory so that they can be put
    +
    52  * into those specific section.
    +
    53  * e.g
    +
    54  * - CFG_TUSB_MEM SECTION : __attribute__ (( section(".usb_ram") ))
    +
    55  * - CFG_TUSB_MEM_ALIGN : __attribute__ ((aligned(4)))
    +
    56  */
    +
    57 #ifndef CFG_TUSB_MEM_SECTION
    +
    58 #define CFG_TUSB_MEM_SECTION
    +
    59 #endif
    +
    60 
    +
    61 #ifndef CFG_TUSB_MEM_ALIGN
    +
    62 #define CFG_TUSB_MEM_ALIGN __attribute__ ((aligned(4)))
    +
    63 #endif
    +
    64 
    +
    65 //--------------------------------------------------------------------
    +
    66 // DEVICE CONFIGURATION
    +
    67 //--------------------------------------------------------------------
    +
    68 
    +
    69 #ifndef CFG_TUD_ENDPOINT0_SIZE
    +
    70 #define CFG_TUD_ENDPOINT0_SIZE 64
    +
    71 #endif
    +
    72 
    +
    73 //------------- CLASS -------------//
    +
    74 #define CFG_TUD_CDC 1
    +
    75 #define CFG_TUD_MSC 0
    +
    76 #define CFG_TUD_HID 0
    +
    77 #define CFG_TUD_MIDI 0
    +
    78 #define CFG_TUD_VENDOR 0
    +
    79 
    +
    80 // CDC FIFO size of TX and RX
    +
    81 #define CFG_TUD_CDC_RX_BUFSIZE (64)
    +
    82 #define CFG_TUD_CDC_TX_BUFSIZE (64)
    +
    83 
    +
    84 // CDC Endpoint transfer buffer size, more is faster
    +
    85 #define CFG_TUD_CDC_EP_BUFSIZE (64)
    +
    86 
    +
    87 #ifdef __cplusplus
    +
    88  }
    +
    89 #endif
    +
    90 
    +
    91 #endif /* _TUSB_CONFIG_H_ */
    +
    + + + + diff --git a/unionwatch__date__time.html b/unionwatch__date__time.html new file mode 100644 index 00000000..3faaaa35 --- /dev/null +++ b/unionwatch__date__time.html @@ -0,0 +1,110 @@ + + + + + + + +Sensor Watch: watch_date_time Union Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    watch_date_time Union Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + +

    +Data Fields

    +struct {
    +   uint32_t   second: 6
     
    +   uint32_t   minute: 6
     
    +   uint32_t   hour: 5
     
    +   uint32_t   day: 5
     
    +   uint32_t   month: 4
     
    +   uint32_t   year: 6
     
    unit
     
    +uint32_t reg
     
    +
    The documentation for this union was generated from the following file: +
    + + + + diff --git a/watch_8h.html b/watch_8h.html new file mode 100644 index 00000000..5a00d3b0 --- /dev/null +++ b/watch_8h.html @@ -0,0 +1,128 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch.h File Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    watch.h File Reference
    +
    +
    +
    #include <stdint.h>
    +#include <stdbool.h>
    +#include "driver_init.h"
    +#include "watch_app.h"
    +#include "watch_rtc.h"
    +#include "watch_slcd.h"
    +#include "watch_extint.h"
    +#include "watch_led.h"
    +#include "watch_buzzer.h"
    +#include "watch_adc.h"
    +#include "watch_gpio.h"
    +#include "watch_i2c.h"
    +#include "watch_uart.h"
    +#include "watch_deepsleep.h"
    +#include "watch_private.h"
    +
    +

    Go to the source code of this file.

    + + + + + +

    +Functions

    bool watch_is_battery_low (void)
     Returns true when the battery voltage dips below 2.5V. More...
     
    +

    Function Documentation

    + +

    ◆ watch_is_battery_low()

    + +
    +
    + + + + + + + + +
    bool watch_is_battery_low (void )
    +
    + +

    Returns true when the battery voltage dips below 2.5V.

    +

    A CR2016 battery will have a nominal voltage between 2.9 and 3 volts for most of its lifespan. Once the battery discharges to about 60%, the voltage will drift slightly lower; this may manifest as a dimmer LED. By the time the battery voltage has fallen to 2.5 volts, it will have probably less than 10% of its capacity remaining, and you can expect the voltage to drop relatively quickly as the battery dies.

    + +
    +
    +
    + + + + diff --git a/watch_8h_source.html b/watch_8h_source.html new file mode 100644 index 00000000..fc6219c2 --- /dev/null +++ b/watch_8h_source.html @@ -0,0 +1,128 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    25 
    +
    26 #ifndef WATCH_H_
    +
    27 #define WATCH_H_
    +
    28 #include <stdint.h>
    +
    29 #include <stdbool.h>
    +
    30 #include "driver_init.h"
    +
    31 
    +
    54 #include "watch_app.h"
    +
    55 #include "watch_rtc.h"
    +
    56 #include "watch_slcd.h"
    +
    57 #include "watch_extint.h"
    +
    58 #include "watch_led.h"
    +
    59 #include "watch_buzzer.h"
    +
    60 #include "watch_adc.h"
    +
    61 #include "watch_gpio.h"
    +
    62 #include "watch_i2c.h"
    +
    63 #include "watch_uart.h"
    +
    64 #include "watch_deepsleep.h"
    +
    65 
    +
    66 #include "watch_private.h"
    +
    67 
    +
    74 bool watch_is_battery_low(void);
    +
    75 
    +
    76 #endif /* WATCH_H_ */
    +
    bool watch_is_battery_low(void)
    Returns true when the battery voltage dips below 2.5V.
    Definition: watch.c:38
    +
    + + + + diff --git a/watch__adc_8h_source.html b/watch__adc_8h_source.html new file mode 100644 index 00000000..4f23491a --- /dev/null +++ b/watch__adc_8h_source.html @@ -0,0 +1,146 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_adc.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_adc.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_ADC_H_INCLUDED
    +
    25 #define _WATCH_ADC_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    36 
    +
    39 void watch_enable_adc(void);
    +
    40 
    +
    44 void watch_enable_analog_input(const uint8_t pin);
    +
    45 
    +
    52 uint16_t watch_get_analog_pin_level(const uint8_t pin);
    +
    53 
    +
    75 void watch_set_analog_num_samples(uint16_t samples);
    +
    76 
    +
    95 void watch_set_analog_sampling_length(uint8_t cycles);
    +
    96 
    +
    97 typedef enum {
    +
    98  ADC_REFERENCE_INTREF = ADC_REFCTRL_REFSEL_INTREF_Val,
    +
    99  ADC_REFERENCE_VCC_DIV1POINT6 = ADC_REFCTRL_REFSEL_INTVCC0_Val,
    +
    100  ADC_REFERENCE_VCC_DIV2 = ADC_REFCTRL_REFSEL_INTVCC1_Val,
    +
    101  ADC_REFERENCE_VCC = ADC_REFCTRL_REFSEL_INTVCC2_Val,
    +
    102 } watch_adc_reference_voltage;
    +
    103 
    +
    104 
    +
    130 void watch_set_analog_reference_voltage(watch_adc_reference_voltage reference);
    +
    131 
    +
    142 uint16_t watch_get_vcc_voltage(void);
    +
    143 
    +
    147 void watch_disable_analog_input(const uint8_t pin);
    +
    148 
    +
    154 void watch_disable_adc(void);
    +
    155 
    +
    157 #endif
    +
    uint16_t watch_get_analog_pin_level(const uint8_t pin)
    Reads an analog value from one of the pins.
    Definition: watch_adc.c:104
    +
    void watch_enable_analog_input(const uint8_t pin)
    Configures the selected pin for analog input.
    Definition: watch_adc.c:81
    +
    uint16_t watch_get_vcc_voltage(void)
    Returns the voltage of the VCC supply in millivolts (i.e. 3000 mV == 3.0 V). If running on a coin cel...
    Definition: watch_adc.c:154
    +
    void watch_enable_adc(void)
    Enables the ADC peripheral. You must call this before attempting to read a value from an analog pin.
    Definition: watch_adc.c:43
    +
    void watch_set_analog_num_samples(uint16_t samples)
    Sets the number of samples to accumulate when measuring a pin level. Default is 16.
    Definition: watch_adc.c:121
    +
    void watch_set_analog_reference_voltage(watch_adc_reference_voltage reference)
    Selects the reference voltage to use for analog readings. Default is ADC_REFERENCE_VCC.
    Definition: watch_adc.c:141
    +
    void watch_disable_analog_input(const uint8_t pin)
    Disables the analog circuitry on the selected pin.
    Definition: watch_adc.c:170
    +
    void watch_set_analog_sampling_length(uint8_t cycles)
    Sets the length of time spent sampling, which allows measurement of higher impedance inputs....
    Definition: watch_adc.c:133
    +
    void watch_disable_adc(void)
    Disables the ADC peripheral.
    Definition: watch_adc.c:174
    + +
    + + + + diff --git a/watch__app_8h_source.html b/watch__app_8h_source.html new file mode 100644 index 00000000..ec16a44d --- /dev/null +++ b/watch__app_8h_source.html @@ -0,0 +1,126 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_app.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_app.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_APP_H_INCLUDED
    +
    25 #define _WATCH_APP_H_INCLUDED
    +
    27 
    +
    54 
    +
    58 void app_init(void);
    +
    59 
    + +
    65 
    +
    74 void app_setup(void);
    +
    75 
    +
    89 bool app_loop(void);
    +
    90 
    + +
    102 
    + +
    106 
    +
    108 #endif
    +
    void app_wake_from_backup(void)
    A function you will implement to wake from BACKUP mode, which wipes the system's RAM,...
    +
    void app_wake_from_standby(void)
    A method you will implement to configure the app after waking from STANDBY mode.
    +
    void app_setup(void)
    A function you will implement to set up your application. The app_setup function is like setup() in A...
    +
    bool app_loop(void)
    A function you will implement to serve as the app's main run loop. This method will be called repeate...
    +
    void app_init(void)
    A function you will implement to initialize your application state. The app_init function is called b...
    +
    void app_prepare_for_standby(void)
    A function you will implement to prepare to enter STANDBY mode. The app_prepare_for_standby function ...
    +
    + + + + diff --git a/watch__buzzer_8h_source.html b/watch__buzzer_8h_source.html new file mode 100644 index 00000000..a6c2865f --- /dev/null +++ b/watch__buzzer_8h_source.html @@ -0,0 +1,312 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_buzzer.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_buzzer.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_BUZZER_H_INCLUDED
    +
    25 #define _WATCH_BUZZER_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    34 
    +
    36 void watch_enable_buzzer(void);
    +
    37 
    +
    42 void watch_set_buzzer_period(uint32_t period);
    +
    43 
    +
    48 void watch_disable_buzzer(void);
    +
    49 
    +
    54 void watch_set_buzzer_on(void);
    +
    55 
    +
    58 void watch_set_buzzer_off(void);
    +
    59 
    +
    61 typedef enum BuzzerNote {
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    151 
    +
    158 void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms);
    +
    159 
    +
    161 extern const uint16_t NotePeriods[108];
    +
    162 
    +
    164 #endif
    +
    void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms)
    Plays the given note for a set duration.
    Definition: watch_buzzer.c:54
    +
    BuzzerNote
    87 notes for use with watch_buzzer_play_note
    Definition: watch_buzzer.h:61
    +
    void watch_disable_buzzer(void)
    Disables the TCC peripheral that drives the buzzer.
    Definition: watch_buzzer.c:36
    +
    void watch_set_buzzer_on(void)
    Turns the buzzer output on. It will emit a continuous sound at the given frequency.
    Definition: watch_buzzer.c:40
    +
    const uint16_t NotePeriods[108]
    An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote.
    Definition: watch_buzzer.c:52
    +
    void watch_set_buzzer_period(uint32_t period)
    Sets the period of the buzzer.
    Definition: watch_buzzer.c:32
    +
    void watch_set_buzzer_off(void)
    Turns the buzzer output off.
    Definition: watch_buzzer.c:45
    +
    void watch_enable_buzzer(void)
    Enables the TCC peripheral, which drives the buzzer.
    Definition: watch_buzzer.c:27
    +
    @ BUZZER_NOTE_F8
    5587.65 Hz
    Definition: watch_buzzer.h:142
    +
    @ BUZZER_NOTE_D6SHARP_E6FLAT
    1244.51 Hz
    Definition: watch_buzzer.h:116
    +
    @ BUZZER_NOTE_B5
    987.77 Hz
    Definition: watch_buzzer.h:112
    +
    @ BUZZER_NOTE_F3SHARP_G3FLAT
    185.00 Hz
    Definition: watch_buzzer.h:83
    +
    @ BUZZER_NOTE_C8
    4186.01 Hz
    Definition: watch_buzzer.h:137
    +
    @ BUZZER_NOTE_B8
    7902.13 Hz
    Definition: watch_buzzer.h:148
    +
    @ BUZZER_NOTE_E3
    164.81 Hz
    Definition: watch_buzzer.h:81
    +
    @ BUZZER_NOTE_D6
    1174.66 Hz
    Definition: watch_buzzer.h:115
    +
    @ BUZZER_NOTE_B1
    61.74 Hz
    Definition: watch_buzzer.h:64
    +
    @ BUZZER_NOTE_G4
    392.00 Hz
    Definition: watch_buzzer.h:96
    +
    @ BUZZER_NOTE_B7
    3951.07 Hz
    Definition: watch_buzzer.h:136
    +
    @ BUZZER_NOTE_C7SHARP_D7FLAT
    2217.46 Hz
    Definition: watch_buzzer.h:126
    +
    @ BUZZER_NOTE_G3SHARP_A3FLAT
    207.65 Hz
    Definition: watch_buzzer.h:85
    +
    @ BUZZER_NOTE_C6
    1046.50 Hz
    Definition: watch_buzzer.h:113
    +
    @ BUZZER_NOTE_E6
    1318.51 Hz
    Definition: watch_buzzer.h:117
    +
    @ BUZZER_NOTE_D7SHARP_E7FLAT
    2489.02 Hz
    Definition: watch_buzzer.h:128
    +
    @ BUZZER_NOTE_E7
    2637.02 Hz
    Definition: watch_buzzer.h:129
    +
    @ BUZZER_NOTE_E4
    329.63 Hz
    Definition: watch_buzzer.h:93
    +
    @ BUZZER_NOTE_B6
    1975.53 Hz
    Definition: watch_buzzer.h:124
    +
    @ BUZZER_NOTE_REST
    no sound
    Definition: watch_buzzer.h:149
    +
    @ BUZZER_NOTE_D8SHARP_E8FLAT
    4978.03 Hz
    Definition: watch_buzzer.h:140
    +
    @ BUZZER_NOTE_D4SHARP_E4FLAT
    311.13 Hz
    Definition: watch_buzzer.h:92
    +
    @ BUZZER_NOTE_C2
    65.41 Hz
    Definition: watch_buzzer.h:65
    +
    @ BUZZER_NOTE_B2
    123.47 Hz
    Definition: watch_buzzer.h:76
    +
    @ BUZZER_NOTE_F5
    698.46 Hz
    Definition: watch_buzzer.h:106
    +
    @ BUZZER_NOTE_C2SHARP_D2FLAT
    69.30 Hz
    Definition: watch_buzzer.h:66
    +
    @ BUZZER_NOTE_C4SHARP_D4FLAT
    277.18 Hz
    Definition: watch_buzzer.h:90
    +
    @ BUZZER_NOTE_A6SHARP_B6FLAT
    1864.66 Hz
    Definition: watch_buzzer.h:123
    +
    @ BUZZER_NOTE_G6
    1567.98 Hz
    Definition: watch_buzzer.h:120
    +
    @ BUZZER_NOTE_A5SHARP_B5FLAT
    932.33 Hz
    Definition: watch_buzzer.h:111
    +
    @ BUZZER_NOTE_G8
    6271.93 Hz
    Definition: watch_buzzer.h:144
    +
    @ BUZZER_NOTE_D4
    293.66 Hz
    Definition: watch_buzzer.h:91
    +
    @ BUZZER_NOTE_G5SHARP_A5FLAT
    830.61 Hz
    Definition: watch_buzzer.h:109
    +
    @ BUZZER_NOTE_A3SHARP_B3FLAT
    233.08 Hz
    Definition: watch_buzzer.h:87
    +
    @ BUZZER_NOTE_G7
    3135.96 Hz
    Definition: watch_buzzer.h:132
    +
    @ BUZZER_NOTE_D5SHARP_E5FLAT
    622.25 Hz
    Definition: watch_buzzer.h:104
    +
    @ BUZZER_NOTE_D3
    146.83 Hz
    Definition: watch_buzzer.h:79
    +
    @ BUZZER_NOTE_G4SHARP_A4FLAT
    415.30 Hz
    Definition: watch_buzzer.h:97
    +
    @ BUZZER_NOTE_A1SHARP_B1FLAT
    58.27 Hz
    Definition: watch_buzzer.h:63
    +
    @ BUZZER_NOTE_D5
    587.33 Hz
    Definition: watch_buzzer.h:103
    +
    @ BUZZER_NOTE_A2SHARP_B2FLAT
    116.54 Hz
    Definition: watch_buzzer.h:75
    +
    @ BUZZER_NOTE_A4
    440.00 Hz
    Definition: watch_buzzer.h:98
    +
    @ BUZZER_NOTE_D7
    2349.32 Hz
    Definition: watch_buzzer.h:127
    +
    @ BUZZER_NOTE_F5SHARP_G5FLAT
    739.99 Hz
    Definition: watch_buzzer.h:107
    +
    @ BUZZER_NOTE_C6SHARP_D6FLAT
    1108.73 Hz
    Definition: watch_buzzer.h:114
    +
    @ BUZZER_NOTE_A7SHARP_B7FLAT
    3729.31 Hz
    Definition: watch_buzzer.h:135
    +
    @ BUZZER_NOTE_F7
    2793.83 Hz
    Definition: watch_buzzer.h:130
    +
    @ BUZZER_NOTE_A3
    220.00 Hz
    Definition: watch_buzzer.h:86
    +
    @ BUZZER_NOTE_F6SHARP_G6FLAT
    1479.98 Hz
    Definition: watch_buzzer.h:119
    +
    @ BUZZER_NOTE_B4
    493.88 Hz
    Definition: watch_buzzer.h:100
    +
    @ BUZZER_NOTE_A5
    880.00 Hz
    Definition: watch_buzzer.h:110
    +
    @ BUZZER_NOTE_C5SHARP_D5FLAT
    554.37 Hz
    Definition: watch_buzzer.h:102
    +
    @ BUZZER_NOTE_A4SHARP_B4FLAT
    466.16 Hz
    Definition: watch_buzzer.h:99
    +
    @ BUZZER_NOTE_C7
    2093.00 Hz
    Definition: watch_buzzer.h:125
    +
    @ BUZZER_NOTE_F6
    1396.91 Hz
    Definition: watch_buzzer.h:118
    +
    @ BUZZER_NOTE_C4
    261.63 Hz
    Definition: watch_buzzer.h:89
    +
    @ BUZZER_NOTE_F2
    87.31 Hz
    Definition: watch_buzzer.h:70
    +
    @ BUZZER_NOTE_G2SHARP_A2FLAT
    103.83 Hz
    Definition: watch_buzzer.h:73
    +
    @ BUZZER_NOTE_A8
    7040.00 Hz
    Definition: watch_buzzer.h:146
    +
    @ BUZZER_NOTE_A2
    110.00 Hz
    Definition: watch_buzzer.h:74
    +
    @ BUZZER_NOTE_F4SHARP_G4FLAT
    369.99 Hz
    Definition: watch_buzzer.h:95
    +
    @ BUZZER_NOTE_E2
    82.41 Hz
    Definition: watch_buzzer.h:69
    +
    @ BUZZER_NOTE_G3
    196.00 Hz
    Definition: watch_buzzer.h:84
    +
    @ BUZZER_NOTE_F2SHARP_G2FLAT
    92.50 Hz
    Definition: watch_buzzer.h:71
    +
    @ BUZZER_NOTE_E5
    659.25 Hz
    Definition: watch_buzzer.h:105
    +
    @ BUZZER_NOTE_D2SHARP_E2FLAT
    77.78 Hz
    Definition: watch_buzzer.h:68
    +
    @ BUZZER_NOTE_C3SHARP_D3FLAT
    138.59 Hz
    Definition: watch_buzzer.h:78
    +
    @ BUZZER_NOTE_C8SHARP_D8FLAT
    4434.92 Hz
    Definition: watch_buzzer.h:138
    +
    @ BUZZER_NOTE_E8
    5274.04 Hz
    Definition: watch_buzzer.h:141
    +
    @ BUZZER_NOTE_C3
    130.81 Hz
    Definition: watch_buzzer.h:77
    +
    @ BUZZER_NOTE_D2
    73.42 Hz
    Definition: watch_buzzer.h:67
    +
    @ BUZZER_NOTE_D8
    4698.63 Hz
    Definition: watch_buzzer.h:139
    +
    @ BUZZER_NOTE_A6
    1760.00 Hz
    Definition: watch_buzzer.h:122
    +
    @ BUZZER_NOTE_F8SHARP_G8FLAT
    5919.91 Hz
    Definition: watch_buzzer.h:143
    +
    @ BUZZER_NOTE_F4
    349.23 Hz
    Definition: watch_buzzer.h:94
    +
    @ BUZZER_NOTE_A8SHARP_B8FLAT
    7458.62 Hz
    Definition: watch_buzzer.h:147
    +
    @ BUZZER_NOTE_A7
    3520.00 Hz
    Definition: watch_buzzer.h:134
    +
    @ BUZZER_NOTE_G5
    783.99 Hz
    Definition: watch_buzzer.h:108
    +
    @ BUZZER_NOTE_C5
    523.25 Hz
    Definition: watch_buzzer.h:101
    +
    @ BUZZER_NOTE_G2
    98.00 Hz
    Definition: watch_buzzer.h:72
    +
    @ BUZZER_NOTE_B3
    246.94 Hz
    Definition: watch_buzzer.h:88
    +
    @ BUZZER_NOTE_D3SHARP_E3FLAT
    155.56 Hz
    Definition: watch_buzzer.h:80
    +
    @ BUZZER_NOTE_F3
    174.61 Hz
    Definition: watch_buzzer.h:82
    +
    @ BUZZER_NOTE_G8SHARP_A8FLAT
    6644.88 Hz
    Definition: watch_buzzer.h:145
    +
    @ BUZZER_NOTE_F7SHARP_G7FLAT
    2959.96 Hz
    Definition: watch_buzzer.h:131
    +
    @ BUZZER_NOTE_G7SHARP_A7FLAT
    3322.44 Hz
    Definition: watch_buzzer.h:133
    +
    @ BUZZER_NOTE_A1
    55.00 Hz
    Definition: watch_buzzer.h:62
    +
    @ BUZZER_NOTE_G6SHARP_A6FLAT
    1661.22 Hz
    Definition: watch_buzzer.h:121
    + +
    + + + + diff --git a/watch__deepsleep_8h_source.html b/watch__deepsleep_8h_source.html new file mode 100644 index 00000000..ae518975 --- /dev/null +++ b/watch__deepsleep_8h_source.html @@ -0,0 +1,142 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_deepsleep.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_deepsleep.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_DEEPSLEEP_H_INCLUDED
    +
    25 #define _WATCH_DEEPSLEEP_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    30 // These are declared in watch_rtc.c.
    +
    31 extern ext_irq_cb_t btn_alarm_callback;
    +
    32 extern ext_irq_cb_t a2_callback;
    +
    33 extern ext_irq_cb_t a4_callback;
    +
    34 
    +
    68 
    +
    87 void watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level);
    +
    88 
    +
    94 void watch_disable_extwake_interrupt(uint8_t pin);
    +
    95 
    +
    100 void watch_store_backup_data(uint32_t data, uint8_t reg);
    +
    101 
    +
    106 uint32_t watch_get_backup_data(uint8_t reg);
    +
    107 
    +
    122 void watch_enter_sleep_mode(void);
    +
    123 
    +
    134 void watch_enter_deep_sleep_mode(void);
    +
    135 
    +
    151 void watch_enter_backup_mode(void);
    +
    152 
    +
    153 __attribute__((deprecated("Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead")))
    +
    154 void watch_enter_shallow_sleep(bool display_on);
    +
    155 
    +
    156 __attribute__((deprecated("Use watch_enter_backup_mode instead")))
    +
    157 void watch_enter_deep_sleep(void);
    +
    159 #endif
    +
    uint32_t watch_get_backup_data(uint8_t reg)
    Gets 32 bits of data from the RTC's BACKUP register.
    Definition: watch_deepsleep.c:121
    +
    void watch_store_backup_data(uint32_t data, uint8_t reg)
    Stores data in one of the RTC's backup registers, which retain their data in BACKUP mode.
    Definition: watch_deepsleep.c:115
    +
    void watch_enter_backup_mode(void)
    Enters the SAM L22's lowest-power mode, BACKUP.
    Definition: watch_deepsleep.c:188
    +
    void watch_enter_sleep_mode(void)
    enters Sleep Mode by disabling all pins and peripherals except the RTC and the LCD.
    Definition: watch_deepsleep.c:154
    +
    void watch_disable_extwake_interrupt(uint8_t pin)
    Unregisters the RTC interrupt on one of the EXTWAKE pins. This will prevent a value change on one of ...
    Definition: watch_deepsleep.c:87
    +
    void watch_register_extwake_callback(uint8_t pin, ext_irq_cb_t callback, bool level)
    Registers a callback on one of the RTC's external wake pins, which can wake the device from Sleep,...
    Definition: watch_deepsleep.c:34
    +
    void watch_enter_deep_sleep_mode(void)
    enters Deep Sleep Mode by disabling all pins and peripherals except the RTC.
    Definition: watch_deepsleep.c:180
    + +
    + + + + diff --git a/watch__extint_8h_source.html b/watch__extint_8h_source.html new file mode 100644 index 00000000..df96abfa --- /dev/null +++ b/watch__extint_8h_source.html @@ -0,0 +1,134 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_extint.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_extint.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_EXTINT_H_INCLUDED
    +
    25 #define _WATCH_EXTINT_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 #include "hal_ext_irq.h"
    +
    30 
    +
    42 
    + +
    45  INTERRUPT_TRIGGER_NONE = 0,
    +
    46  INTERRUPT_TRIGGER_RISING,
    +
    47  INTERRUPT_TRIGGER_FALLING,
    +
    48  INTERRUPT_TRIGGER_BOTH,
    + +
    50 
    + +
    53 
    + +
    56 
    +
    77 void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger);
    +
    78 
    +
    79 __attribute__((deprecated("Use watch_register_interrupt_callback or watch_register_extwake_callback instead")))
    +
    80 void watch_register_button_callback(const uint8_t pin, ext_irq_cb_t callback);
    +
    81 
    +
    82 __attribute__((deprecated("Use watch_enable_external_interrupts instead")))
    +
    83 void watch_enable_buttons(void);
    +
    85 #endif
    +
    watch_interrupt_trigger
    An enum defining the types of interrupt trigger you wish to scan for.
    Definition: watch_extint.h:44
    +
    void watch_disable_external_interrupts(void)
    Disables the external interrupt controller.
    Definition: watch_extint.c:36
    +
    void watch_enable_external_interrupts(void)
    Enables the external interrupt controller.
    Definition: watch_extint.c:27
    +
    void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger)
    Configures an external interrupt callback on one of the external interrupt pins.
    Definition: watch_extint.c:41
    + +
    + + + + diff --git a/watch__gpio_8h_source.html b/watch__gpio_8h_source.html new file mode 100644 index 00000000..cda94912 --- /dev/null +++ b/watch__gpio_8h_source.html @@ -0,0 +1,134 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_gpio.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_gpio.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_GPIO_H_INCLUDED
    +
    25 #define _WATCH_GPIO_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    34 
    +
    37 void watch_enable_digital_input(const uint8_t pin);
    +
    38 
    +
    42 void watch_disable_digital_input(const uint8_t pin);
    +
    43 
    +
    47 void watch_enable_pull_up(const uint8_t pin);
    +
    48 
    +
    52 void watch_enable_pull_down(const uint8_t pin);
    +
    53 
    +
    58 bool watch_get_pin_level(const uint8_t pin);
    +
    59 
    +
    63 void watch_enable_digital_output(const uint8_t pin);
    +
    64 
    +
    68 void watch_disable_digital_output(const uint8_t pin);
    +
    69 
    +
    74 void watch_set_pin_level(const uint8_t pin, const bool level);
    +
    76 #endif
    +
    void watch_disable_digital_output(const uint8_t pin)
    Disables digital output on the selected pin.
    Definition: watch_gpio.c:55
    +
    void watch_set_pin_level(const uint8_t pin, const bool level)
    Sets the level of the selected pin.
    Definition: watch_gpio.c:59
    +
    void watch_enable_pull_up(const uint8_t pin)
    Enables a pull-up resistor on the selected pin.
    Definition: watch_gpio.c:38
    +
    void watch_enable_digital_input(const uint8_t pin)
    Configures the selected pin for digital input.
    Definition: watch_gpio.c:27
    +
    bool watch_get_pin_level(const uint8_t pin)
    Gets the level of the selected pin.
    Definition: watch_gpio.c:46
    +
    void watch_disable_digital_input(const uint8_t pin)
    Disables any digital input, along with any pull-up or pull-down configuration.
    Definition: watch_gpio.c:32
    +
    void watch_enable_pull_down(const uint8_t pin)
    Enables a pull-down resistor on the selected pin.
    Definition: watch_gpio.c:42
    +
    void watch_enable_digital_output(const uint8_t pin)
    Configures the selected pin for digital output.
    Definition: watch_gpio.c:50
    + +
    + + + + diff --git a/watch__i2c_8h_source.html b/watch__i2c_8h_source.html new file mode 100644 index 00000000..ccb17a28 --- /dev/null +++ b/watch__i2c_8h_source.html @@ -0,0 +1,138 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_i2c.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_i2c.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_I2C_H_INCLUDED
    +
    25 #define _WATCH_I2C_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    36 
    +
    38 void watch_enable_i2c(void);
    +
    39 
    +
    42 void watch_disable_i2c(void);
    +
    43 
    +
    49 void watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length);
    +
    50 
    +
    56 void watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length);
    +
    57 
    +
    63 void watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data);
    +
    64 
    +
    70 uint8_t watch_i2c_read8(int16_t addr, uint8_t reg);
    +
    71 
    +
    81 uint16_t watch_i2c_read16(int16_t addr, uint8_t reg);
    +
    82 
    +
    92 uint32_t watch_i2c_read24(int16_t addr, uint8_t reg);
    +
    93 
    +
    94 
    +
    104 uint32_t watch_i2c_read32(int16_t addr, uint8_t reg);
    +
    106 #endif
    +
    void watch_disable_i2c(void)
    Disables the I2C peripheral.
    Definition: watch_i2c.c:35
    +
    uint32_t watch_i2c_read32(int16_t addr, uint8_t reg)
    Reads an unsigned little-endian int from a register in an I2C device.
    Definition: watch_i2c.c:86
    +
    void watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length)
    Receives a series of values from a device on the I2C bus.
    Definition: watch_i2c.c:45
    +
    uint32_t watch_i2c_read24(int16_t addr, uint8_t reg)
    Reads three bytes as an unsigned little-endian int from a register in an I2C device.
    Definition: watch_i2c.c:76
    +
    void watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length)
    Sends a series of values to a device on the I2C bus.
    Definition: watch_i2c.c:40
    +
    void watch_enable_i2c(void)
    Enables the I2C peripheral. Call this before attempting to interface with I2C devices.
    Definition: watch_i2c.c:29
    +
    uint8_t watch_i2c_read8(int16_t addr, uint8_t reg)
    Reads a byte from a register in an I2C device.
    Definition: watch_i2c.c:58
    +
    uint16_t watch_i2c_read16(int16_t addr, uint8_t reg)
    Reads an unsigned little-endian word from a register in an I2C device.
    Definition: watch_i2c.c:67
    +
    void watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data)
    Writes a byte to a register in an I2C device.
    Definition: watch_i2c.c:50
    + +
    + + + + diff --git a/watch__led_8h_source.html b/watch__led_8h_source.html new file mode 100644 index 00000000..2783cc83 --- /dev/null +++ b/watch__led_8h_source.html @@ -0,0 +1,137 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_led.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_led.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_LED_H_INCLUDED
    +
    25 #define _WATCH_LED_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    43 
    +
    49 void watch_enable_leds(void);
    +
    50 
    +
    55 void watch_disable_leds(void);
    +
    56 
    +
    64 void watch_set_led_color(uint8_t red, uint8_t green);
    +
    65 
    +
    69 void watch_set_led_red(void);
    +
    70 
    +
    75 void watch_set_led_green(void);
    +
    76 
    +
    82 void watch_set_led_yellow(void);
    +
    83 
    +
    85 void watch_set_led_off(void);
    +
    86 
    +
    87 __attribute__((deprecated("Use watch_enable_leds instead")))
    +
    88 void watch_enable_led(bool unused);
    +
    89 
    +
    90 __attribute__((deprecated("Use watch_disable_leds instead")))
    +
    91 void watch_disable_led(bool unused);
    +
    93 #endif
    +
    void watch_set_led_color(uint8_t red, uint8_t green)
    Sets the LED to a custom color by modulating each output's duty cycle.
    Definition: watch_led.c:47
    +
    void watch_set_led_red(void)
    Sets the red LED to full brightness, and turns the green LED off.
    Definition: watch_led.c:55
    +
    void watch_set_led_yellow(void)
    Sets both red and green LEDs to full brightness.
    Definition: watch_led.c:63
    +
    void watch_set_led_off(void)
    Turns both the red and the green LEDs off.
    Definition: watch_led.c:67
    +
    void watch_enable_leds(void)
    Enables the bi-color LED.
    Definition: watch_led.c:27
    +
    void watch_disable_leds(void)
    Disables the LEDs.
    Definition: watch_led.c:33
    +
    void watch_set_led_green(void)
    Sets the green LED to full brightness, and turns the red LED off.
    Definition: watch_led.c:59
    + +
    + + + + diff --git a/watch__private_8h_source.html b/watch__private_8h_source.html new file mode 100644 index 00000000..3ed0e20d --- /dev/null +++ b/watch__private_8h_source.html @@ -0,0 +1,126 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_private.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_private.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2021 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_PRIVATE_H_INCLUDED
    +
    25 #define _WATCH_PRIVATE_H_INCLUDED
    +
    26 
    +
    27 #include "watch.h"
    +
    28 
    +
    30 void _watch_init(void);
    +
    31 
    +
    33 void _watch_rtc_init(void);
    +
    34 
    +
    36 void _watch_enable_tcc(void);
    +
    37 
    +
    39 void _watch_disable_tcc(void);
    +
    40 
    +
    42 void _watch_enable_usb(void);
    +
    43 
    +
    44 // this function ends up getting called by printf to log stuff to the USB console.
    +
    45 int _write(int file, char *ptr, int len);
    +
    46 
    +
    47 // this method could be overridden to read stuff from the USB console? but no need rn.
    +
    48 int _read(void);
    +
    49 
    +
    50 #endif
    + +
    + + + + diff --git a/watch__rtc_8h_source.html b/watch__rtc_8h_source.html new file mode 100644 index 00000000..10578d66 --- /dev/null +++ b/watch__rtc_8h_source.html @@ -0,0 +1,174 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_rtc.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_rtc.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_RTC_H_INCLUDED
    +
    25 #define _WATCH_RTC_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 #include "hpl_calendar.h"
    +
    30 
    +
    41 
    +
    42 #define WATCH_RTC_REFERENCE_YEAR (2020)
    +
    43 
    +
    44 typedef union {
    +
    45  struct {
    +
    46  uint32_t second : 6; // 0-59
    +
    47  uint32_t minute : 6; // 0-59
    +
    48  uint32_t hour : 5; // 0-23
    +
    49  uint32_t day : 5; // 1-31
    +
    50  uint32_t month : 4; // 1-12
    +
    51  uint32_t year : 6; // 0-63 (representing 2020-2083)
    +
    52  } unit;
    +
    53  uint32_t reg; // the bit-packed value as expected by the RTC peripheral's CLOCK register.
    + +
    55 
    +
    56 typedef enum watch_rtc_alarm_match {
    +
    57  ALARM_MATCH_DISABLED = 0,
    +
    58  ALARM_MATCH_SS,
    +
    59  ALARM_MATCH_MMSS,
    +
    60  ALARM_MATCH_HHMMSS,
    +
    61 } watch_rtc_alarm_match;
    +
    62 
    +
    66 bool _watch_rtc_is_enabled(void);
    +
    67 
    + +
    77 
    + +
    83 
    +
    99 void watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask);
    +
    100 
    + +
    104 
    +
    112 void watch_rtc_register_tick_callback(ext_irq_cb_t callback);
    +
    113 
    + +
    117 
    +
    133 void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency);
    +
    134 
    +
    138 void watch_rtc_disable_periodic_callback(uint8_t frequency);
    +
    139 
    + +
    143 
    +
    147 __attribute__((deprecated("Use watch_rtc_set_date_time function instead")))
    +
    148 void watch_set_date_time(struct calendar_date_time date_time);
    +
    149 
    +
    153 __attribute__((deprecated("Use the watch_rtc_get_date_time function instead")))
    +
    154 void watch_get_date_time(struct calendar_date_time *date_time);
    +
    155 
    +
    160 __attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead")))
    +
    161 void watch_register_tick_callback(ext_irq_cb_t callback);
    +
    162 
    +
    164 #endif
    +
    void watch_rtc_disable_all_periodic_callbacks(void)
    Disables all periodic callbacks, including the once-per-second tick callback.
    Definition: watch_rtc.c:105
    +
    watch_date_time watch_rtc_get_date_time(void)
    Returns the date and time.
    Definition: watch_rtc.c:64
    +
    bool _watch_rtc_is_enabled(void)
    Called by main.c to check if the RTC is enabled. You may call this function, but outside of app_init,...
    Definition: watch_rtc.c:33
    +
    void watch_rtc_disable_periodic_callback(uint8_t frequency)
    Disables the tick callback for the given period.
    Definition: watch_rtc.c:99
    +
    void watch_rtc_disable_tick_callback(void)
    Disables the tick callback for the given period.
    Definition: watch_rtc.c:77
    +
    void watch_rtc_disable_alarm_callback(void)
    Disables the alarm callback.
    Definition: watch_rtc.c:119
    +
    void watch_rtc_register_tick_callback(ext_irq_cb_t callback)
    Registers a "tick" callback that will be called once per second.
    Definition: watch_rtc.c:73
    +
    __attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time)
    Sets the system date and time.
    +
    void watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask)
    Registers an alarm callback that will be called when the RTC time matches the target time,...
    Definition: watch_rtc.c:109
    +
    void watch_rtc_set_date_time(watch_date_time date_time)
    Sets the date and time.
    Definition: watch_rtc.c:59
    +
    void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency)
    Registers a callback that will be called at a configurable period.
    Definition: watch_rtc.c:81
    +
    Definition: watch_rtc.h:44
    + +
    + + + + diff --git a/watch__slcd_8h_source.html b/watch__slcd_8h_source.html new file mode 100644 index 00000000..8d68ec58 --- /dev/null +++ b/watch__slcd_8h_source.html @@ -0,0 +1,169 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_slcd.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_slcd.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_SLCD_H_INCLUDED
    +
    25 #define _WATCH_SLCD_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    43 
    +
    45 typedef enum WatchIndicatorSegment {
    + + + + + + +
    52 
    +
    56 void watch_enable_display(void);
    +
    57 
    +
    63 void watch_set_pixel(uint8_t com, uint8_t seg);
    +
    64 
    +
    70 void watch_clear_pixel(uint8_t com, uint8_t seg);
    +
    71 
    +
    74 void watch_clear_display(void);
    +
    75 
    +
    85 void watch_display_string(char *string, uint8_t position);
    +
    86 
    +
    89 void watch_set_colon(void);
    +
    90 
    +
    93 void watch_clear_colon(void);
    +
    94 
    + +
    99 
    + +
    104 
    +
    108 void watch_clear_all_indicators(void);
    +
    109 
    +
    122 void watch_start_character_blink(char character, uint32_t duration);
    +
    123 
    +
    127 void watch_stop_blink(void);
    +
    128 
    +
    139 void watch_start_tick_animation(uint32_t duration);
    +
    140 
    + +
    145 
    +
    149 void watch_stop_tick_animation(void);
    +
    151 #endif
    +
    void watch_set_colon(void)
    Turns the colon segment on.
    Definition: watch_slcd.c:248
    +
    void watch_enable_display(void)
    Enables the Segment LCD display. Call this before attempting to set pixels or display strings.
    Definition: watch_slcd.c:157
    +
    void watch_display_string(char *string, uint8_t position)
    Displays a string at the given position, starting from the top left. There are ten digits....
    Definition: watch_slcd.c:234
    +
    bool watch_tick_animation_is_running(void)
    Checks if the tick animation is currently running.
    Definition: watch_slcd.c:310
    +
    WatchIndicatorSegment
    An enum listing the icons and indicators available on the watch.
    Definition: watch_slcd.h:45
    +
    void watch_set_pixel(uint8_t com, uint8_t seg)
    Sets a pixel. Use this to manually set a pixel with a given common and segment number....
    Definition: watch_slcd.c:162
    +
    void watch_clear_colon(void)
    Turns the colon segment off.
    Definition: watch_slcd.c:252
    +
    void watch_start_character_blink(char character, uint32_t duration)
    Blinks a single character in position 7. Does not affect other positions.
    Definition: watch_slcd.c:272
    +
    void watch_clear_indicator(WatchIndicatorSegment indicator)
    Clears an indicator on the LCD. Use this to turn off one of the indicator segments.
    Definition: watch_slcd.c:260
    +
    void watch_stop_blink(void)
    Stops and clears all blinking segments.
    Definition: watch_slcd.c:299
    +
    void watch_start_tick_animation(uint32_t duration)
    Begins a two-segment "tick-tock" animation in position 8.
    Definition: watch_slcd.c:304
    +
    void watch_clear_all_indicators(void)
    Clears all indicator segments.
    Definition: watch_slcd.c:264
    +
    void watch_set_indicator(WatchIndicatorSegment indicator)
    Sets an indicator on the LCD. Use this to turn on one of the indicator segments.
    Definition: watch_slcd.c:256
    +
    void watch_clear_pixel(uint8_t com, uint8_t seg)
    Clears a pixel. Use this to manually clear a pixel with a given common and segment number....
    Definition: watch_slcd.c:166
    +
    void watch_clear_display(void)
    Clears all segments of the display, including incicators and the colon.
    Definition: watch_slcd.c:170
    +
    void watch_stop_tick_animation(void)
    Stops the tick/tock animation and clears all animating segments.
    Definition: watch_slcd.c:314
    +
    @ WATCH_INDICATOR_PM
    The PM indicator, indicating that a time is in the afternoon.
    Definition: watch_slcd.h:48
    +
    @ WATCH_INDICATOR_BELL
    The small bell indicating that an alarm is set.
    Definition: watch_slcd.h:47
    +
    @ WATCH_INDICATOR_SIGNAL
    The hourly signal indicator; also useful for indicating that sensors are on.
    Definition: watch_slcd.h:46
    +
    @ WATCH_INDICATOR_LAP
    The LAP indicator; the F-91W uses this in its stopwatch UI.
    Definition: watch_slcd.h:50
    +
    @ WATCH_INDICATOR_24H
    The 24H indicator, indicating that the watch is in a 24-hour mode.
    Definition: watch_slcd.h:49
    + +
    + + + + diff --git a/watch__uart_8h_source.html b/watch__uart_8h_source.html new file mode 100644 index 00000000..529419eb --- /dev/null +++ b/watch__uart_8h_source.html @@ -0,0 +1,120 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_uart.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_uart.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2020 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 #ifndef _WATCH_UART_H_INCLUDED
    +
    25 #define _WATCH_UART_H_INCLUDED
    +
    27 
    +
    28 #include "watch.h"
    +
    29 
    +
    40 
    +
    43 __attribute__((deprecated("Use printf to log debug messages over USB.")))
    +
    44 void watch_enable_debug_uart(uint32_t baud);
    +
    45 
    +
    49 __attribute__((deprecated("Use printf to log debug messages over USB.")))
    +
    50 void watch_debug_putc(char c);
    +
    51 
    +
    55 __attribute__((deprecated("Use printf to log debug messages over USB.")))
    +
    56 void watch_debug_puts(char *s);
    +
    58 #endif
    +
    __attribute__((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud)
    Initializes the debug UART.
    + +
    + + + + diff --git a/watch__utility_8h_source.html b/watch__utility_8h_source.html new file mode 100644 index 00000000..b2e40d0e --- /dev/null +++ b/watch__utility_8h_source.html @@ -0,0 +1,128 @@ + + + + + + + +Sensor Watch: watch-library/watch/watch_utility.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    Sensor Watch +  0.0.0 +
    +
    A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    watch_utility.h
    +
    +
    +
    1 /*
    +
    2  * MIT License
    +
    3  *
    +
    4  * Copyright (c) 2021 Joey Castillo
    +
    5  *
    +
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    +
    7  * of this software and associated documentation files (the "Software"), to deal
    +
    8  * in the Software without restriction, including without limitation the rights
    +
    9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +
    10  * copies of the Software, and to permit persons to whom the Software is
    +
    11  * furnished to do so, subject to the following conditions:
    +
    12  *
    +
    13  * The above copyright notice and this permission notice shall be included in all
    +
    14  * copies or substantial portions of the Software.
    +
    15  *
    +
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +
    22  * SOFTWARE.
    +
    23  */
    +
    24 
    +
    25 #ifndef _WATCH_UTILITY_H_INCLUDED
    +
    26 #define _WATCH_UTILITY_H_INCLUDED
    +
    28 
    +
    29 #include "watch.h"
    +
    30 
    +
    35 
    +
    39 const char * watch_utility_get_weekday(watch_date_time date_time);
    +
    40 
    +
    54 uint32_t watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset);
    +
    55 
    +
    61 uint32_t watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset);
    +
    62 
    +
    71 watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset);
    +
    72 
    +
    87 float watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance);
    +
    88 
    +
    89 #endif
    +
    float watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)
    Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit.
    Definition: watch_utility.c:149
    +
    watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset)
    Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
    Definition: watch_utility.c:79
    +
    const char * watch_utility_get_weekday(watch_date_time date_time)
    Returns a two-letter weekday for the given timestamp, suitable for display in positions 0-1 of the wa...
    Definition: watch_utility.c:28
    +
    uint32_t watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset)
    Returns the UNIX time (seconds since 1970) for a given date/time in UTC.
    Definition: watch_utility.c:38
    +
    uint32_t watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset)
    Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
    Definition: watch_utility.c:69
    +
    Definition: watch_rtc.h:44
    + +
    + + + + -- cgit v1.2.3