1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
7<BASE target="main">
8<TITLE>ARM7 Processor Peripheral Device API Function List</TITLE>
9<LINK rel="stylesheet" href="../css/apilist.css">
10</HEAD>
11<BODY>
12<H1>ARM7 Processor Peripheral Device (SPI) API Function List</H1>
13<H3><FONT color="#ff0000"><B>This interface is used so that ARM9 can operate peripheral devices that are connected on the ARM7 side. Access to the Touch Screen, microphone, and the power management IC is performed using mutexes, so errors may be returned in response to requests. Note this when you access simultaneously.</B></FONT></H3>
14<H3>Touch Screen (TP)</H3>
15<H4><A name="TP_Init">Initialization</A></H4>
16<TABLE border="1" width="100%">
17  <TBODY>
18    <TR>
19<TH width="25%"><A href="tp/TP_Init.html" target="_self">TP_Init</A></TH>
20      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
21<TD>Initializes the Touch Screen API.</TD>
22    </TR>
23    <TR>
24<TH><A href="tp/TP_SetCallback.html" target="_self">TP_SetCallback</A></TH>
25      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
26<TD>Sets the callback function that will be used when a request instruction to ARM7 completes.</TD>
27    </TR>
28    <TR>
29<TH><A href="tp/TP_SetCalibrateParam.html" target="_self">TP_SetCalibrateParam</A></TH>
30      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
31<TD>Sets the parameters that are used for calibration.</TD>
32    </TR>
33    <TR>
34<TH><A href="tp/TP_RequestSetStability.html" target="_self">TP_RequestSetStability</A></TH>
35      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
36<TD>Requests ARM7 to set parameters for counteracting chattering.</TD>
37    </TR>
38  </TBODY>
39</TABLE>
40<H4><A name="TP_SamplingNow">Sampling Caused by a Request</A></H4>
41<TABLE border="1" width="100%">
42  <TBODY>
43    <TR>
44<TH><A href="tp/TP_RequestRawSampling.html" target="_self">TP_RequestRawSampling</A></TH>
45      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
46<TD>Requests ARM7 for one cycle of Touch Screen values, and acquires coordinate values as unconverted, raw touch panel values.</TD>
47    </TR>
48    <TR>
49<TH><A href="tp/TP_RequestCalibratedSampling.html" target="_self">TP_RequestCalibratedSampling</A></TH>
50      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
51<TD>Requests ARM7 for one cycle of Touch Screen values. It converts coordinate values to screen coordinates and acquires them.</TD>
52    </TR>
53    <TR>
54<TH><A href="tp/TP_RequestSamplingAsync.html" target="_self">TP_RequestSamplingAsync</A></TH>
55      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
56<TD>Asynchronously requests ARM7 for one cycle of Touch Screen values.</TD>
57    </TR>
58    <TR>
59<TH><A href="tp/TP_WaitRawResult.html" target="_self">TP_WaitRawResult</A></TH>
60      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
61<TD>Acquires one cycle of coordinate values as unconverted, raw Touch Screen values.</TD>
62    </TR>
63    <TR>
64<TH><A href="tp/TP_WaitCalibratedResult.html" target="_self">TP_WaitCalibratedResult</A></TH>
65      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
66<TD>Converts one cycle of coordinate values to screen coordinates and acquires it.</TD>
67    </TR>
68    <TR>
69<TH><A href="tp/TP_GetCalibratedResult.html" target="_self">TP_GetCalibratedResult</A></TH>
70      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
71<TD>Converts and gets coordinate values that have arrived to screen coordinates.</TD>
72    </TR>
73  </TBODY>
74</TABLE>
75<H4><A name="TP_SamplingAuto">Auto-Sampling</A></H4>
76<TABLE border="1" width="100%">
77  <TBODY>
78    <TR>
79<TH><A href="tp/TP_RequestAutoSamplingStart.html" target="_self">TP_RequestAutoSamplingStart</A></TH>
80      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
81<TD>Requests ARM7 to begin auto-sampling.</TD>
82    </TR>
83    <TR>
84<TH><A href="tp/TP_RequestAutoSamplingStartAsync.html" target="_self">TP_RequestAutoSamplingStartAsync</A></TH>
85      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
86<TD>Asynchronously requests ARM7 to begin auto-sampling.</TD>
87    </TR>
88    <TR>
89<TH><A href="tp/TP_RequestAutoSamplingStop.html" target="_self">TP_RequestAutoSamplingStop</A></TH>
90      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
91<TD>Requests ARM7 to stop auto-sampling.</TD>
92    </TR>
93    <TR>
94<TH><A href="tp/TP_RequestAutoSamplingStopAsync.html" target="_self">TP_RequestAutoSamplingStopAsync</A></TH>
95      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
96<TD>Asynchronously requests ARM7 to stop auto-sampling.</TD>
97    </TR>
98    <TR>
99<TH><A href="tp/TP_GetLatestRawPointInAuto.html" target="_self">TP_GetLatestRawPointInAuto</A></TH>
100      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
101<TD>Acquires the most recent valid values that were obtained by auto-sampling, as raw unconverted Touch Screen values.</TD>
102    </TR>
103    <TR>
104<TH><A href="tp/TP_GetLatestCalibratedPointInAuto.html" target="_self">TP_GetLatestCalibratedPointInAuto</A></TH>
105      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
106<TD>Acquires the most recent valid values that were obtained by auto-sampling, as converted screen coordinates.</TD>
107    </TR>
108    <TR>
109<TH><A href="tp/TP_GetLatestIndexInAuto.html">TP_GetLatestIndexInAuto</A></TH>
110      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
111<TD>Acquires the index of the most recent data that was stored by auto-sampling.</TD>
112    </TR>
113  </TBODY>
114</TABLE>
115<H4><A name="TP_Calibration">Calibration</A></H4>
116<TABLE border="1" width="100%">
117  <TBODY>
118    <TR>
119<TH><A href="tp/TP_GetUserInfo.html" target="_self">TP_GetUserInfo</A></TH>
120      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
121<TD>Gets parameters for calibration from the system flash memory.</TD>
122    </TR>
123    <TR>
124<TH><A href="tp/TP_CalcCalibrateParam.html" target="_self">TP_CalcCalibrateParam</A></TH>
125      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
126<TD>Calibrates parameters for calibration from 2 coordinate points.</TD>
127    </TR>
128    <TR>
129<TH><A href="tp/TP_GetCalibratedPoint.html" target="_self">TP_GetCalibratedPoint</A></TH>
130      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
131<TD>Converts raw Touch Screen values and acquires screen coordinates.</TD>
132    </TR>
133    <TR>
134<TH><A href="tp/TP_GetUnCalibratedPoint.html" target="_self">TP_GetUnCalibratedPoint</A></TH>
135      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
136<TD>Back-converts screen coordinates, and acquires Touch Screen values.</TD>
137    </TR>
138  </TBODY>
139</TABLE>
140<H4><A name="TP_Check">Success/Failure Determination</A></H4>
141<TABLE border="1" width="100%">
142  <TBODY>
143    <TR>
144<TH><A href="tp/TP_WaitBusy.html" target="_self">TP_WaitBusy</A></TH>
145      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
146<TD>Waits for the return from ARM7 of a termination acknowledgement for a particular request.</TD>
147    </TR>
148    <TR>
149<TH><A href="tp/TP_WaitAllBusy.html" target="_self">TP_WaitAllBusy</A></TH>
150      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
151<TD>Waits for the return from ARM7 of termination acknowledgements for all requests.</TD>
152    </TR>
153    <TR>
154<TH><A href="tp/TP_CheckBusy.html" target="_self">TP_CheckBusy</A></TH>
155      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
156<TD>Asynchronously checks termination acknowledgements from ARM7.</TD>
157    </TR>
158    <TR>
159<TH><A href="tp/TP_CheckError.html" target="_self">TP_CheckError</A></TH>
160      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
161<TD>Checks whether a process on ARM7 ended without error.</TD>
162    </TR>
163  </TBODY>
164</TABLE>
165<H4><A name="TP_Struct">Types and Structures</A></H4>
166<TABLE border="1" width="100%">
167  <TBODY>
168    <TR>
169<TH width="25%"><A href="tp/TPData.html" target="_self">TPData</A></TH>
170      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
171<TD>Structure that points to the coordinates of the Touch Screen.</TD>
172    </TR>
173    <TR>
174<TH><A href="tp/TPRecvCallback.html" target="_self">TPRecvCallback</A></TH>
175      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
176<TD>Sets the callback function that will be used when a request instruction to ARM7 completes.</TD>
177    </TR>
178    <TR>
179<TH><A href="tp/TPRequestResult.html" target="_self">TPRequestResult</A></TH>
180      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
181<TD>Enumerated type of process results for the Touch Screen API functions.</TD>
182    </TR>
183  </TBODY>
184</TABLE>
185
186<H3>Microphone (MIC)</H3>
187<H4><A name="MIC_Init">Initialization</A></H4>
188<TABLE border="1" width="100%">
189  <TBODY>
190    <TR>
191<TH width="25%"><A href="mic/MIC_Init.html" target="_self">MIC_Init</A></TH>
192      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
193<TD>Initializes the microphone API.</TD>
194    </TR>
195  </TBODY>
196</TABLE>
197
198<H4><A name="MIC_Sampling">Sampling</A></H4>
199<TABLE border="1" width="100%">
200  <TBODY>
201    <TR>
202<TH width="25%"><A href="mic/MIC_DoSampling.html" target="_self">MIC_DoSampling</A></TH>
203      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
204<TD>Samples the microphone one time.</TD>
205    </TR>
206    <TR>
207<TH width="25%"><A href="mic/MIC_DoSamplingAsync.html" target="_self">MIC_DoSamplingAsync</A></TH>
208      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
209<TD>Asynchronously samples the microphone one time.</TD>
210    </TR>
211  </TBODY>
212</TABLE>
213
214<H4><A name="MIC_Auto">Auto-Sampling</A></H4>
215<TABLE border="1" width="100%">
216  <TBODY>
217    <TR>
218<TH width="25%"><A href="mic/MIC_StartAutoSampling.html" target="_self">MIC_StartAutoSampling</A></TH>
219      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
220<TD>Starts microphone auto-sampling.</TD>
221    </TR>
222    <TR>
223<TH width="25%"><A href="mic/MIC_StartAutoSamplingAsync.html" target="_self">MIC_StartAutoSamplingAsync</A></TH>
224      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
225<TD>Asynchronously starts microphone auto-sampling.</TD>
226    </TR>
227    <TR>
228<TH width="25%"><A href="mic/MIC_StopAutoSampling.html" target="_self">MIC_StopAutoSampling</A></TH>
229      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
230<TD>Stops microphone auto-sampling.</TD>
231    </TR>
232    <TR>
233<TH width="25%"><A href="mic/MIC_StopAutoSamplingAsync.html" target="_self">MIC_StopAutoSamplingAsync</A></TH>
234      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
235<TD>Asynchronously stops microphone auto-sampling.</TD>
236    </TR>
237    <TR>
238<TH width="25%"><A href="mic/MIC_AdjustAutoSampling.html" target="_self">MIC_AdjustAutoSampling</A></TH>
239      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
240<TD>Changes sampling rate in microphone auto-sampling.</TD>
241    </TR>
242    <TR>
243<TH width="25%"><A href="mic/MIC_AdjustAutoSamplingAsync.html" target="_self">MIC_AdjustAutoSamplingAsync</A></TH>
244      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
245<TD>Asynchronously changes sampling rate in microphone auto-sampling.</TD>
246    </TR>
247    <TR>
248<TH width="25%"><A href="mic/MIC_StartLimitedSampling.html">MIC_StartLimitedSampling</A></TH>
249      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
250<TD>Starts frequency-limited microphone auto-sampling.</TD>
251    </TR>
252    <TR>
253<TH width="25%"><A href="mic/MIC_StartLimitedSamplingAsync.html">MIC_StartLimitedSamplingAsync</A></TH>
254      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
255<TD>Asynchronously starts frequency-limited microphone auto-sampling.</TD>
256    </TR>
257    <TR>
258<TH width="25%"><A href="mic/MIC_StopLimitedSampling.html">MIC_StopLimitedSampling</A></TH>
259      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
260<TD>Stops frequency-limited microphone auto-sampling.</TD>
261    </TR>
262    <TR>
263<TH width="25%"><A href="mic/MIC_StopLimitedSamplingAsync.html">MIC_StopLimitedSamplingAsync</A></TH>
264      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
265<TD>Asynchronously stops frequency-limited microphone auto-sampling.</TD>
266    </TR>
267    <TR>
268<TH width="25%"><A href="mic/MIC_AdjustLimitedSampling.html">MIC_AdjustLimitedSampling</A></TH>
269      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
270<TD>Changes the sampling rate for frequency-limited microphone auto-sampling.</TD>
271    </TR>
272    <TR>
273<TH width="25%"><A href="mic/MIC_AdjustLimitedSamplingAsync.html">MIC_AdjustLimitedSamplingAsync</A></TH>
274      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
275<TD>Asynchronously changes the sampling rate for frequency-limited microphone auto-sampling.</TD>
276    </TR>
277    <TR>
278<TH width="25%"><A href="mic/MIC_GetLastSamplingAddress.html" target="_self">MIC_GetLastSamplingAddress</A></TH>
279      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
280<TD>Gets the address at which the most recent microphone sampling results are stored.</TD>
281    </TR>
282  </TBODY>
283</TABLE>
284
285<H4><A name="MIC_Type">Types and Structures</A></H4>
286<TABLE border="1" width="100%">
287  <TBODY>
288    <TR>
289<TH width="25%"><A href="mic/MICAutoParam.html" target="_self">MICAutoParam</A></TH>
290      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
291<TD>Structure for microphone auto-sampling parameters</TD>
292    </TR>
293    <TR>
294<TH width="25%"><A href="mic/MICSamplingType.html" target="_self">MICSamplingType</A></TH>
295      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
296<TD>Enumerator type for microphone sampling types</TD>
297    </TR>
298    <TR>
299<TH width="25%"><A href="mic/MICSamplingRate.html" target="_self">MICSamplingRate</A></TH>
300      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
301<TD>Enumerator type for microphone sampling rates</TD>
302    </TR>
303    <TR>
304<TH width="25%"><A href="mic/MICCallback.html" target="_self">MICCallback</A></TH>
305      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
306<TD>Callback function type for asynchronous microphone functions</TD>
307    </TR>
308    <TR>
309<TH width="25%"><A href="mic/MICResult.html" target="_self">MICResult</A></TH>
310      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
311<TD>Enumerator type for the process results that are shared by the microphone API function group</TD>
312    </TR>
313  </TBODY>
314</TABLE>
315
316<H3>Power Management (PM)</H3>
317<H4><A name="PM_Init">Initialization</A></H4>
318<TABLE border="1" width="100%">
319  <TBODY>
320    <TR>
321<TH width="100"><A href="pm/PM_Init.html" target="_self">PM_Init</A></TH>
322      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
323<TD>Initializes the power management API                             </TD>
324    </TR>
325  </TBODY>
326</TABLE>
327
328<H4><A name="PM_Utility">PMIC Operation</A></H4>
329<TABLE border="1" width="100%">
330  <TBODY>
331    <TR>
332<TH width="100"><A href="pm/PM_SetBackLight.html" target="_self">PM_SetBackLight*</A></TH>
333      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
334<TD>Sets the backlight status.</TD>
335    </TR>
336    <TR>
337<TH width="100"><A href="pm/PM_SetAmp.html" target="_self">PM_SetAmp*</A></TH>
338      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
339<TD>Toggles the output of the programmable gain amp.</TD>
340    </TR>
341    <TR>
342<TH width="100"><A href="pm/PM_SetAmpGain.html" target="_self">PM_SetAmpGain*</A></TH>
343      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
344<TD>Sets the gain of the programmable gain amp.</TD>
345    </TR>
346    <TR>
347<TH><A href="pm/PM_SetAmpGainLevel.html" target="_self">PM_SetAmpGainLevel*</A></TH>
348      <TD><IMG src="../image/BPT.gif"><IMG src="../image/TWL.gif"></TD>
349<TD>Sets the gain of the programmable gain amp.</TD>
350    </TR>
351    <TR>
352<TH width="100"><A href="pm/PM_SetLCDPower.html" target="_self">PM_SetLCDPower</A></TH>
353      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
354<TD>Toggles the LCD switch.</TD>
355    </TR>
356  </TBODY>
357</TABLE>
358
359<H4><A name="PM_GetPMIC">PMIC Status</A></H4>
360<TABLE border="1" width="100%">
361  <TBODY>
362    <TR>
363<TH width="25%"><A href="pm/PM_GetBackLight.html" target="_self">PM_GetBackLight</A></TH>
364      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
365<TD>Gets the backlight status.</TD>
366    </TR>
367    <TR>
368<TH width="25%"><A href="pm/PM_GetAmp.html" target="_self">PM_GetAmp</A></TH>
369      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
370<TD>Gets the output switch setting of the programmable gain amp.</TD>
371    </TR>
372    <TR>
373<TH width="25%"><A href="pm/PM_GetAmpGain.html" target="_self">PM_GetAmpGain</A></TH>
374      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
375<TD>Gets the gain setting of the programmable gain amp.</TD>
376    </TR>
377    <TR>
378<TH><A href="pm/PM_GetAmpGainLevel.html" target="_self">PM_GetAmpGainLevel</A></TH>
379      <TD><IMG src="../image/BPT.gif"><IMG src="../image/TWL.gif"></TD>
380<TD>Gets the gain setting of the programmable gain amp.</TD>
381    </TR>
382    <TR>
383<TH width="25%"><A href="pm/PM_GetLCDPower.html" target="_self">PM_GetLCDPower</A></TH>
384      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
385<TD>Gets the LCD switch status.</TD>
386    </TR>
387    <TR>
388<TH width="25%"><A href="pm/PM_GetLEDPattern.html" target="_self">PM_GetLEDPattern*</A></TH>
389      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
390<TD>Gets the LCD status.</TD>
391    </TR>
392  </TBODY>
393</TABLE>
394
395<H4><A name="PM_Battery">Battery</A></H4>
396<TABLE border="1" width="100%">
397  <TBODY>
398    <TR>
399<TH width="25%"><A href="pm/PM_GetBattery.html" target="_self">PM_GetBattery</A></TH>
400      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
401<TD>Checks the remaining battery capacity of the battery pack. (2 levels)</TD>
402    </TR>
403    <TR>
404<TH width="25%"><A href="pm/PM_GetBatteryLevel.html" target="_self">PM_GetBatteryLevel</A></TH>
405      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
406<TD>Checks the remaining battery capacity of the battery pack. (5 levels)</TD>
407    </TR>
408    <TR>
409<TH width="25%"><A href="pm/PM_SetBatteryLowCallback.html" target="_self">PM_SetBatteryLowCallback</A></TH>
410      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
411<TD>Sets the callback that is invoked when a drop in the remaining battery life is detected.</TD>
412    </TR>
413    <TR>
414<TH width="25%"><A href="pm/PM_GetACAdapter.html" target="_self">PM_GetACAdapter</A></TH>
415      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
416<TD>Determines if an AC adapter is plugged into the DC connector.</TD>
417    </TR>
418  </TBODY>
419</TABLE>
420
421
422<H4><A name="PM_Sleep">Sleep</A></H4>
423<TABLE border="1" width="100%">
424  <TBODY>
425    <TR>
426<TH width="25%"><A href="pm/PM_GoSleepMode.html" target="_self">PM_GoSleepMode</A></TH>
427      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
428<TD>Changes to the sleep mode.</TD>
429    </TR>
430 <TR><TD class="separator" colspan=3></TD></TR>
431    <TR>
432<TH width="25%"><A href="pm/PM_SetSleepCallbackInfo.html" target="_self">PM_SetSleepCallbackInfo</A></TH>
433      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
434<TD>Sets sleep mode callback information.</TD>
435    </TR>
436    <TR>
437<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_AppendPreSleepCallback</A></TH>
438      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
439<TD>Adds a callback function for changing to sleep mode at the end of the list.</TD>
440    </TR>
441    <TR>
442<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_PrependPreSleepCallback</A></TH>
443      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
444<TD>Adds a callback function for changing to sleep mode at the beginning of the list.</TD>
445    </TR>
446    <TR>
447<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_InsertPreSleepCallback</A></TH>
448      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
449<TD>Adds a callback function called when entering sleep mode to the list, giving the callback the specified priority.</TD>
450    </TR>
451    <TR>
452<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_AppendPostSleepCallback</A></TH>
453      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
454<TD>Adds a callback function for awakening from sleep mode at the end of the list.</TD>
455    </TR>
456    <TR>
457<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_PrependPostSleepCallback</A></TH>
458      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
459<TD>Adds a callback function for awakening from sleep mode at the beginning of the list.</TD>
460    </TR>
461    <TR>
462<TH width="25%"><A href="pm/PM_AppendSleepCallback.html" target="_self">PM_InsertPostSleepCallback</A></TH>
463      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
464<TD>Adds a callback function for recovering from sleep mode to the list, giving the callback the specified priority.</TD>
465    </TR>
466 <TR><TD class="separator" colspan=3></TD></TR>
467    <TR>
468<TH width="25%"><A href="pm/PM_DeleteSleepCallback.html" target="_self">PM_DeletePreSleepCallback</A></TH>
469      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
470<TD>Deletes a registered callback function for entering sleep mode.</TD>
471    </TR>
472    <TR>
473<TH width="25%"><A href="pm/PM_DeleteSleepCallback.html" target="_self">PM_DeletePostSleepCallback</A></TH>
474      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
475<TD>Deletes a registered callback function for awakening from sleep mode.</TD>
476    </TR>
477 <TR><TD class="separator" colspan=3></TD></TR>
478    <TR>
479<TH width="25%"><A href="pm/PM_DumpSleepCallback.html" target="_self">PM_DumpSleepCallback</A></TH>
480      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
481<TD>Displays the registered callback functions for entering and recovering from sleep mode, respectively. (Used in debugging)</TD>
482    </TR>
483  </TBODY>
484</TABLE>
485
486<H4><A name="PM_Shutdown">Hardware Reset and Shutdown</A></H4>
487<TABLE border="1" width="100%">
488  <TBODY>
489    <TR>
490<TH width="100"><A href="pm/PM_ForceToPowerOff.html" target="_self">PM_ForceToPowerOff</A>*</TH>
491      <TD width="60"><img src="../image/NTR.gif"><img src="../image/TWL.gif"></TD>
492<TD>Forcibly turns off the power.</TD>
493    </TR>
494    <TR>
495<TH width="25%"><A href="pm/PM_ForceToResetHardware.html" target="_self">PM_ForceToResetHardware</A></TH>
496      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
497<TD>Forcibly resets the hardware.</TD>
498    </TR>
499 <TR><TD class="separator" colspan=3></TD></TR>
500    <TR>
501<TH width="25%"><A href="pm/PM_SetExitCallbackInfo.html" target="_self">PM_SetExitCallbackInfo</A></TH>
502      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
503<TD>Sets exit callback information.</TD>
504    </TR>
505    <TR>
506<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_AppendPreExitCallback</A></TH>
507      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
508<TD>Adds an exit callback function to the end of the pre-processing list.</TD>
509    </TR>
510    <TR>
511<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_PrependPreExitCallback</A></TH>
512      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
513<TD>Adds an exit callback function to the start of the pre-processing list.</TD>
514    </TR>
515    <TR>
516<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_InsertPreExitCallback</A></TH>
517      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
518<TD>Adds an exit callback function to the pre-processing list, giving the callback the specified priority.</TD>
519    </TR>
520    <TR>
521<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_AppendPostExitCallback</A></TH>
522      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
523<TD>Adds an exit callback function to the end of the post-processing list.</TD>
524    </TR>
525    <TR>
526<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_PrependPostExitCallback</A></TH>
527      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
528<TD>Adds an exit callback function to the start of the post-processing list.</TD>
529    </TR>
530    <TR>
531<TH width="25%"><A href="pm/PM_AppendExitCallback.html" target="_self">PM_InsertPostExitCallback</A></TH>
532      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
533<TD>Adds an exit callback function to the post-processing list, giving the callback the specified priority.</TD>
534    </TR>
535 <TR><TD class="separator" colspan=3></TD></TR>
536    <TR>
537<TH width="25%"><A href="pm/PM_DeleteExitCallback.html" target="_self">PM_DeletePreExitCallback</A></TH>
538      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
539<TD>Removes an exit callback function that was registered with the pre-processing list.</TD>
540    </TR>
541    <TR>
542<TH width="25%"><A href="pm/PM_DeleteExitCallback.html" target="_self">PM_DeletePostExitCallback</A></TH>
543      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
544<TD>Removes an exit callback function that was registered with the post-processing list.</TD>
545    </TR>
546 <TR><TD class="separator" colspan=3></TD></TR>
547    <TR>
548<TH width="25%"><A href="pm/PM_DumpExitCallback.html" target="_self">PM_DumpExitCallback</A></TH>
549      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
550<TD>Displays the registered pre- and post-processing callbacks. (Used in debugging)</TD>
551    </TR>
552 <TR><TD class="separator" colspan=3></TD></TR>
553    <TR>
554<TH width="25%"><A href="pm/PM_SetAutoExit.html" target="_self">PM_SetAutoExit</A></TH>
555      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
556<TD>Configures whether exit processing will finish automatically after the callbacks have been invoked.</TD>
557    </TR>
558    <TR>
559<TH width="25%"><A href="pm/PM_GetAutoExit.html" target="_self">PM_GetAutoExit</A></TH>
560      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
561<TD>Gets the setting value indicating whether exit processing will finish automatically after the callbacks have been invoked.</TD>
562    </TR>
563    <TR>
564<TH width="25%"><A href="pm/PM_GetExitFactor.html" target="_self">PM_GetExitFactor</A></TH>
565      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
566<TD>Gets the cause that led to exit processing.</TD>
567    </TR>
568    <TR>
569<TH width="25%"><A href="pm/PM_ReadyToExit.html" target="_self">PM_ReadyToExit</A></TH>
570      <TD width="60"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD>
571<TD>After finishing exit processing, explicitly tells the ARM7 to exit.</TD>
572    </TR>
573  </TBODY>
574</TABLE>
575
576
577<table border="0" height="100%"><tr><td style="background-color : white;"></td></tr></table>
578
579<hr><p>CONFIDENTIAL</p></body>
580</HTML>