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::ptm::CTR</title>
49  </head>
50  <body>
51<h1><CODE>nn::ptm::CTR</CODE> Namespace</h1>
52<h2>Description</h2>
53    <div class="section">
54<p>Namespace for <a href="../../../nn/ptm/CTR/Overview.html">CTR</a> functions relating to power management and clock.</p><p>(This can also be written without the &quot;::CTR&quot; portion.))</p><!-- write here --></div>
55    <a name="enum" id="enum">
56<h2>Enumerated Types</h2>
57      <div class="section">
58        <table class="members">
59          <tr>
60<th class="category" colspan="3">Hardware States</th>
61          </tr>
62          <tr>
63            <td width="100"> </td>
64            <th>
65<a href="../../../nn/ptm/CTR/AdapterState.html">AdapterState</a>
66            </th>
67<td>Indicates the state of the power adapter.</td>
68          </tr>
69          <tr>
70            <td width="100"> </td>
71            <th>
72<a href="../../../nn/ptm/CTR/BatteryChargeState.html">BatteryChargeState</a>
73            </th>
74<td>Indicates the battery's charging state.</td>
75          </tr>
76          <tr>
77            <td width="100"> </td>
78            <th>
79<a href="../../../nn/ptm/CTR/BatteryLevel.html">BatteryLevel</a>
80            </th>
81<td>Indicates the remaining battery charge level.</td>
82          </tr> </table>
83      </div>
84    </a> <a name="function" id="function">
85<h2>Functions</h2>
86      <div class="section">
87        <table class="members">
88          <tr>
89<th class="category" colspan="3">Hardware States</th>
90          </tr>
91          <tr>
92            <td width="100">  </td>
93            <th>
94<a href="../../../nn/ptm/CTR/GetAdapterState.html">GetAdapterState</a>
95            </th>
96<td>Gets the state of the power adapter.</td>
97          </tr>
98          <tr>
99            <td width="100">  </td>
100            <th>
101<a href="../../../nn/ptm/CTR/GetBatteryLevel.html">GetBatteryLevel</a>
102            </th>
103<td>Gets the remaining battery charge level.</td>
104          </tr>
105          <tr>
106            <td width="100">  </td>
107            <th>
108<a href="../../../nn/ptm/CTR/GetBatteryChargeState.html">GetBatteryChargeState</a>
109            </th>
110<td>Gets the battery's charging state.</td>
111          </tr>
112          <tr>
113<th class="category" colspan="3">Alarm-Related</th>
114          </tr>
115          <tr>
116            <td width="100">  </td>
117            <th>
118<a href="../../../nn/ptm/CTR/RegisterAlarmEvent.html">RegisterAlarmEvent</a>
119            </th>
120<td>Registers an event for getting an alarm notification.</td>
121          </tr>
122          <tr>
123            <td width="100">  </td>
124            <th>
125<a href="../../../nn/ptm/CTR/SetRtcAlarm.html">SetRtcAlarm</a>
126            </th>
127<td>Sets an alarm.</td>
128          </tr>
129          <tr>
130            <td width="100">  </td>
131            <th>
132<a href="../../../nn/ptm/CTR/GetRtcAlarm.html">GetRtcAlarm</a>
133            </th>
134<td>Gets the time for which the alarm has been set.</td>
135          </tr>
136          <tr>
137            <td width="100">  </td>
138            <th>
139<a href="../../../nn/ptm/CTR/CancelRtcAlarm.html">CancelRtcAlarm</a>
140            </th>
141<td>Cancels a configured alarm.</td>
142          </tr>
143          <tr>
144<th class="category" colspan="3">Other</th>
145          </tr>
146          <tr>
147            <td width="100">  </td>
148            <th>
149<a href="../../../nn/ptm/CTR/Initialize.html"><CODE>Initialize</CODE></a>
150            </th>
151<td>Initializes the PTM library.</td>
152          </tr>
153          <tr>
154            <td width="100">  </td>
155            <th>
156<a href="../../../nn/ptm/CTR/Finalize.html"><CODE>Finalize</CODE></a>
157            </th>
158<td>Finalizes the PTM library.</td>
159          </tr> </table>
160      </div>
161    </a>
162<h2>Revision History</h2>
163    <div class="section">
164      <dl class="history">
165        <dt>2010/11/10</dt>
166<dd>Initial version.<br />
167        </dd>
168      </dl>
169    </div>
170  <hr><p>CONFIDENTIAL</p></body>
171</html>
172