1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::pl::CTR</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/pl/Overview.html">pl</a>::CTR</CODE> Namespace</h1> 52<h2>Description</h2> 53 <div class="section"> 54<p>Namespace for <a href="../../../nn/pl/CTR/Overview.html">CTR</a>-specific API functions.</p><p>(This can also be written without the "::CTR" portion.))</p>Use the <CODE>nn::ptm::CTR::Initialize</CODE> and <CODE>nn::ptm::CTR::Finalize</CODE> functions to initialize and finalize the Pedometer library.</div> 55 <a name="class" id="class"> 56<h2>Classes</h2> 57 <div class="section"> 58 <table class="members"> 59 <tr> 60 <th> 61<a href="../../../nn/pl/CTR/ResultIsWriting/Overview.html">nn::pl::CTR::ResultIsWriting</a> 62 </th> 63<td>Indicates that step count data is currently being written. Try again in a little while.</td> 64 </tr> </table> 65 </div> 66 </a> <a name="struct" id="struct"> 67<h2>Structures</h2> 68 <div class="section"> 69 <table class="members"> 70 <tr> 71 <th> 72<a href="../../../nn/pl/CTR/PedometerMonthHeader/Overview.html"><CODE>nn::pl::CTR::PedometerMonthHeader</CODE></a> 73 </th> 74<td>Structure that holds the recorded year and month for step count entries.</td> 75 </tr> 76 <tr> 77 <th> 78<a href="../../../nn/pl/CTR/PedometerHistoryHeader/Overview.html"><CODE>nn::pl::CTR::PedometerHistoryHeader</CODE></a> 79 </th> 80<td>Structure that indicates the header information for step count data.</td> 81 </tr> 82 <tr> 83 <th> 84<a href="../../../nn/pl/CTR/PedometerEntry/Overview.html">nn::pl::CTR::PedometerEntry</a> 85 </th> 86<td>The structure for the entry that indicates the year and month that step counts were recorded.</td> 87 </tr> </table> 88 </div> 89 </a> <a name="enum" id="enum"> 90<h2>Enumerated Types</h2> 91 <div class="section"> 92 <table class="members"> 93 <tr> 94<th class="category" colspan="3">Shared Fonts</th> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99<a href="../../../nn/pl/CTR/SharedFontType.html">SharedFontType</a> 100 </th> 101<td>Indicates the type of shared font.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106<a href="../../../nn/pl/CTR/SharedFontLoadState.html">SharedFontLoadState</a> 107 </th> 108<td>Indicates the load state of the shared font.</td> 109 </tr> </table> 110 </div> 111 </a> <a name="typedef" id="typedef"> 112<h2><CODE>typedef</CODE> Definitions</h2> 113 <div class="section"> 114 <table class="members"> 115 <tr> 116<th class="category" colspan="3">Pedometer Library</th> 117 </tr> 118 <tr> 119 <td width="100" /> 120 <th> 121<a href="../../../nn/pl/CTR/PedometerMonthData.html"><CODE>PedometerMonthData</CODE></a> 122 </th> 123<td>Type that stores one month's worth of step counts.</td> 124 </tr> 125 <tr> 126 <td width="100" /> 127 <th> 128<a href="../../../nn/pl/CTR/PedometerHistoryData.html"><CODE>PedometerHistoryData</CODE></a> 129 </th> 130<td>Type that stores all step count data (10 years' worth) stored by the Pedometer library.</td> 131 </tr> </table> 132 </div> 133 </a> <a name="constant" id="constant"> 134<h2>Constants</h2> 135 <div class="section"> 136 <table class="members"> 137 <tr> 138<th class="category" colspan="4">Pedometer Library</th> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143<span class="argument"><a href="../../../nn/pl/CTR/MAX_MONTHDAYS.html"><CODE>MAX_MONTHDAYS</CODE></a></span> 144 </th> 145<td width="100">const s32</td> 146<td>The number of days saved in entries in a single month.</td> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<span class="argument"><a href="../../../nn/pl/CTR/DAYHOURS.html"><CODE>DAYHOURS</CODE></a></span> 152 </th> 153<td width="100">const s32</td> 154<td>The number of hours saved in entries in a single day.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159<span class="argument"><a href="../../../nn/pl/CTR/NUM_FREESPACE.html"><CODE>NUM_FREESPACE</CODE></a></span> 160 </th> 161<td width="100">const s32</td> 162<td>Number of entries, used internally.</td> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167<span class="argument"><a href="../../../nn/pl/CTR/NUM_MONTHHISTORIES.html"><CODE>NUM_MONTHHISTORIES</CODE></a></span> 168 </th> 169<td width="100">const s32</td> 170<td>The maximum number of entries per month saved by the Pedometer library.</td> 171 </tr> 172 <tr> 173 <td width="100"> </td> 174 <th> 175<span class="argument"><a href="../../../nn/pl/CTR/MAX_MONTHHISTORIES.html"><CODE>MAX_MONTHHISTORIES</CODE></a></span> 176 </th> 177<td width="100">const s32</td> 178<td>The internally saved number of entries per month.</td> 179 </tr> 180 <tr> 181 <td width="100"> </td> 182 <th> 183<span class="argument"><a href="../../../nn/pl/CTR/NUM_MONTHHISTORYENTRIES.html"><CODE>NUM_MONTHHISTORYENTRIES</CODE></a></span> 184 </th> 185<td width="100">const s32</td> 186<td>The number of data instances saved per month.</td> 187 </tr> 188 <tr> 189 <td width="100"> </td> 190 <th> 191<span class="argument"><a href="../../../nn/pl/CTR/INVALID_COUNTER.html"><CODE>INVALID_COUNTER</CODE></a></span> 192 </th> 193<td width="100">const u16</td> 194<td>A value that indicates an invalid entry.</td> 195 </tr> </table> 196 </div> 197 </a> <a name="function" id="function"> 198<h2>Functions</h2> 199 <div class="section"> 200 <table class="members"> 201 <tr> 202<th class="category" colspan="3">Pedometer Library</th> 203 </tr> 204 <tr> 205 <td width="100"> </td> 206 <th> 207<a href="../../../nn/pl/CTR/GetPedometerState.html">GetPedometerState</a> 208 </th> 209<td>Returns the status of the pedometer.</td> 210 </tr> 211 <tr> 212 <td width="100"> </td> 213 <th> 214<a href="../../../nn/pl/CTR/GetStepHistoryEntry.html">GetStepHistoryEntry</a> 215 </th> 216<td>Gets the entry information for the step counts recorded by the library.</td> 217 </tr> 218 <tr> 219 <td width="100"> </td> 220 <th> 221<a href="../../../nn/pl/CTR/GetStepHistory.html">GetStepHistory</a> 222 </th> 223<td>Gets the number of steps recorded for each hour.</td> 224 </tr> 225 <tr> 226 <td width="100"> </td> 227 <th> 228<a href="../../../nn/pl/CTR/GetTotalStepCount.html">GetTotalStepCount</a> 229 </th> 230<td>Gets the total number of steps.</td> 231 </tr> 232 <tr> 233 <td width="100"> </td> 234 <th> 235<a href="../../../nn/pl/CTR/GetStepHistoryAll.html"><CODE>GetStepHistoryAll</CODE></a> 236 </th> 237<td>Gets all step count data saved by the library.</td> 238 </tr> 239 <tr> 240<th class="category" colspan="3">Shared Fonts</th> 241 </tr> 242 <tr> 243 <td width="100"> </td> 244 <th> 245<a href="../../../nn/pl/CTR/InitializeSharedFont.html">InitializeSharedFont</a> 246 </th> 247<td>Enables use of shared font.</td> 248 </tr> 249 <tr> 250 <td width="100"> </td> 251 <th> 252<a href="../../../nn/pl/CTR/GetSharedFontAddress.html">GetSharedFontAddress</a> 253 </th> 254<td>Gets the address of the shared font.</td> 255 </tr> 256 <tr> 257 <td width="100"> </td> 258 <th> 259<a href="../../../nn/pl/CTR/GetSharedFontSize.html">GetSharedFontSize</a> 260 </th> 261<td>Gets the size of the shared font.</td> 262 </tr> 263 <tr> 264 <td width="100"> </td> 265 <th> 266<a href="../../../nn/pl/CTR/GetSharedFontType.html">GetSharedFontType</a> 267 </th> 268<td>Gets the type of the shared font.</td> 269 </tr> 270 <tr> 271 <td width="100"> </td> 272 <th> 273<a href="../../../nn/pl/CTR/GetSharedFontLoadState.html">GetSharedFontLoadState</a> 274 </th> 275<td>Gets the load state of the shared font.</td> 276 </tr> 277 <tr> 278 <td width="100"> </td> 279 <th> 280<a href="../../../nn/pl/CTR/MountSharedFont.html">MountSharedFont</a> 281 </th> 282<td>Mounts the archive of the shared font.</td> 283 </tr> 284 <tr> 285 <td width="100"> </td> 286 <th> 287<a href="../../../nn/pl/CTR/UnmountSharedFont.html">UnmountSharedFont</a> 288 </th> 289<td>Unmounts the archive of the shared font.</td> 290 </tr> </table> 291 </div> 292 </a> 293<h2>Revision History</h2> 294 <div class="section"> 295 <dl class="history"> 296 <dt>2010/11/16</dt> 297<dd>Added description of how to initialize and finalize the Pedometer library.<br /> 298 </dd> 299 <dt>2010/09/02</dt> 300<dd>Initial version.<br /> 301 </dd> 302 </dl> 303 </div> 304 <hr><p>CONFIDENTIAL</p></body> 305</html> 306