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<title>ReadLatest</title>
8  </head>
9  <body>
10<h1><CODE>nn::hid::CTR::DebugPadReader::ReadLatest</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14bool ReadLatest(
15     <a href="../../../../nn/hid/CTR/DebugPadStatus/Overview.html">nn::hid::CTR::DebugPadStatus</a> * pBuf
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21      <table class="arguments">
22        <thead>
23          <tr>
24            <td width="15" />
25<th>Name</th>
26<td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30<td>out</td>
31<th>pBuf</th>
32<td>Loads the sampling data.</td>
33        </tr> </table>
34    </div>
35<h2>Return Values</h2>
36<div class="section">Returns the result of loading sampling data.<br />
37    <br />
38      <table class="arguments">
39        <thead>
40          <tr>
41<th>Value</th>
42<td>Description</td>
43          </tr>
44        </thead>
45        <tr>
46<th><CODE>true</CODE></th>
47<td>Successfully loaded.</td>
48</tr>
49<th><CODE>false</CODE></th>
50<td>Could not be loaded. (The data cannot be loaded immediately following the first sampling that occurs after the system starts up or wakes up from sleep.)</td>
51        </tr>
52        </table>
53</div>
54<h2>Description</h2>
55    <div class="section">
56<p>Reads the latest sampling data from the debug pad. Unlike the <a href="../../../../nn/hid/CTR/DebugPadReader/Read.html"><CODE>nn::hid::CTR::DebugPadReader::Read</CODE></a> function, this function can read the same sampling data more than once.</p><p>The trigger and release values are generated with respect to the previous <CODE>ReadLatest</CODE> results.</p><!-- write here --></div>
57<h2>Revision History</h2>
58    <div class="section">
59      <dl class="history">
60        <dt>2010/06/14</dt>
61<dd>Initial version.<br />
62        </dd>
63      </dl>
64    </div>
65  <hr><p>CONFIDENTIAL</p></body>
66</html>