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 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::ptm::CTR</title> 51 </head> 52 <body> 53<h1><CODE>nn::ptm::CTR</CODE> Namespace</h1> 54<h2>Description</h2> 55 <div class="section"> 56<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 "::CTR" portion.))</p><!-- write here --></div> 57 <a name="enum" id="enum"> 58<h2>Enumerated Types</h2> 59 <div class="section"> 60 <table class="members"> 61 <tr> 62<th class="category" colspan="3">Hardware States</th> 63 </tr> 64 <tr> 65 <td width="100"> </td> 66 <th> 67<a href="../../../nn/ptm/CTR/AdapterState.html">AdapterState</a> 68 </th> 69<td>Indicates the state of the power adapter.</td> 70 </tr> 71 <tr> 72 <td width="100"> </td> 73 <th> 74<a href="../../../nn/ptm/CTR/BatteryChargeState.html">BatteryChargeState</a> 75 </th> 76<td>Indicates the battery's charging state.</td> 77 </tr> 78 <tr> 79 <td width="100"> </td> 80 <th> 81<a href="../../../nn/ptm/CTR/BatteryLevel.html">BatteryLevel</a> 82 </th> 83<td>Indicates the remaining battery charge level.</td> 84 </tr> </table> 85 </div> 86 </a> <a name="function" id="function"> 87<h2>Functions</h2> 88 <div class="section"> 89 <table class="members"> 90 <tr> 91<th class="category" colspan="3">Hardware States</th> 92 </tr> 93 <tr> 94 <td width="100"> </td> 95 <th> 96<a href="../../../nn/ptm/CTR/GetAdapterState.html">GetAdapterState</a> 97 </th> 98<td>Gets the state of the power adapter.</td> 99 </tr> 100 <tr> 101 <td width="100"> </td> 102 <th> 103<a href="../../../nn/ptm/CTR/GetBatteryLevel.html">GetBatteryLevel</a> 104 </th> 105<td>Gets the remaining battery charge level.</td> 106 </tr> 107 <tr> 108 <td width="100"> </td> 109 <th> 110<a href="../../../nn/ptm/CTR/GetBatteryChargeState.html">GetBatteryChargeState</a> 111 </th> 112<td>Gets the battery's charging state.</td> 113 </tr> 114 <tr> 115<th class="category" colspan="3">Alarm-Related</th> 116 </tr> 117 <tr> 118 <td width="100"> </td> 119 <th> 120<a href="../../../nn/ptm/CTR/RegisterAlarmEvent.html">RegisterAlarmEvent</a> 121 </th> 122<td>Registers an event for getting an alarm notification.</td> 123 </tr> 124 <tr> 125 <td width="100"> </td> 126 <th> 127<a href="../../../nn/ptm/CTR/SetRtcAlarm.html">SetRtcAlarm</a> 128 </th> 129<td>Sets an alarm.</td> 130 </tr> 131 <tr> 132 <td width="100"> </td> 133 <th> 134<a href="../../../nn/ptm/CTR/GetRtcAlarm.html">GetRtcAlarm</a> 135 </th> 136<td>Gets the time for which the alarm has been set.</td> 137 </tr> 138 <tr> 139 <td width="100"> </td> 140 <th> 141<a href="../../../nn/ptm/CTR/CancelRtcAlarm.html">CancelRtcAlarm</a> 142 </th> 143<td>Cancels a configured alarm.</td> 144 </tr> 145 <tr> 146<th class="category" colspan="3">Other</th> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<a href="../../../nn/ptm/CTR/Initialize.html"><CODE>Initialize</CODE></a> 152 </th> 153<td>Initializes the PTM library.</td> 154 </tr> 155 <tr> 156 <td width="100"> </td> 157 <th> 158<a href="../../../nn/ptm/CTR/Finalize.html"><CODE>Finalize</CODE></a> 159 </th> 160<td>Finalizes the PTM library.</td> 161 </tr> </table> 162 </div> 163 </a> 164<h2>Revision History</h2> 165 <div class="section"> 166 <dl class="history"> 167 <dt>2010/11/10</dt> 168<dd>Initial version.<br /> 169 </dd> 170 </dl> 171 </div> 172 <hr><p>CONFIDENTIAL</p></body> 173</html>