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::dsp::CTR</title>
49  </head>
50  <body>
51<h1><CODE>nn::dsp::CTR</CODE> Namespace</h1>
52<h2>Description</h2>
53    <div class="section">
54<p>The DSP namespace. <br />(This can also be written without the &quot;<CODE>::CTR</CODE>&quot; portion.)</p><!-- write here --></div>
55    <a name="function" id="function">
56<h2>Functions</h2>
57      <div class="section">
58        <table class="members">
59          <tr>
60<th class="category" colspan="3">Initialize/Finalize</th>
61          </tr>
62          <tr>
63            <td width="100">  </td>
64            <th>
65<a href="../../../nn/dsp/CTR/Initialize.html"><CODE>Initialize</CODE></a>
66            </th>
67<td>Initializes the DSP library and establishes a session with the DSP process.</td>
68          </tr>
69          <tr>
70            <td width="100">  </td>
71            <th>
72<a href="../../../nn/dsp/CTR/Finalize.html"><CODE>Finalize</CODE></a>
73            </th>
74<td>Shuts down the DSP library.</td>
75          </tr>
76          <tr>
77            <td width="100">  </td>
78            <th>
79<a href="../../../nn/dsp/CTR/LoadComponent.html"><CODE>LoadComponent</CODE></a>
80            </th>
81<td>Loads a DSP component file and starts the DSP.</td>
82          </tr>
83          <tr>
84            <td width="100">  </td>
85            <th>
86<a href="../../../nn/dsp/CTR/LoadDefaultComponent.html"><CODE>LoadDefaultComponent</CODE></a>
87            </th>
88<td>Loads the default DSP component file (sound) and starts the DSP.</td>
89          </tr>
90          <tr>
91            <td width="100">  </td>
92            <th>
93<a href="../../../nn/dsp/CTR/UnloadComponent.html"><CODE>UnloadComponent</CODE></a>
94            </th>
95<td>Stops the DSP.</td>
96          </tr>
97          <tr>
98<th class="category" colspan="3">CPU-DSP Communication</th>
99          </tr>
100          <tr>
101            <td width="100">  </td>
102            <th>
103<a href="../../../nn/dsp/CTR/RegisterInterruptEvents.html"><CODE>RegisterInterruptEvents</CODE></a>
104            </th>
105<td>Registers an event handle with the DSP process in order to receive DSP interrupts.</td>
106          </tr>
107          <tr>
108            <td width="100">  </td>
109            <th>
110<a href="../../../nn/dsp/CTR/RecvData.html"><CODE>RecvData</CODE></a>
111            </th>
112<td>Gets the value of a reply register.</td>
113          </tr>
114          <tr>
115            <td width="100">  </td>
116            <th>
117<a href="../../../nn/dsp/CTR/SendData.html"><CODE>SendData</CODE></a>
118            </th>
119<td>Sets the value of a command register.</td>
120          </tr>
121          <tr>
122            <td width="100">  </td>
123            <th>
124<a href="../../../nn/dsp/CTR/RecvDataIsReady.html"><CODE>RecvDataIsReady</CODE></a>
125            </th>
126<td>Determines whether a value has been written to the reply register.</td>
127          </tr>
128          <tr>
129            <td width="100">  </td>
130            <th>
131<a href="../../../nn/dsp/CTR/SendDataIsEmpty.html"><CODE>SendDataIsEmpty</CODE></a>
132            </th>
133<td>Determines whether a command register has been loaded.</td>
134          </tr>
135          <tr>
136            <td width="100">  </td>
137            <th>
138<a href="../../../nn/dsp/CTR/ReadPipeIfPossible.html"><CODE>ReadPipeIfPossible</CODE></a>
139            </th>
140<td>Reads data from a DSP pipe.</td>
141          </tr>
142          <tr>
143            <td width="100">  </td>
144            <th>
145<a href="../../../nn/dsp/CTR/WriteProcessPipe.html"><CODE>WriteProcessPipe</CODE></a>
146            </th>
147<td>Writes data to a DSP pipe.</td>
148          </tr>
149          <tr>
150            <td width="100">  </td>
151            <th>
152<a href="../../../nn/dsp/CTR/CheckSemaphoreRequest.html"><CODE>CheckSemaphoreRequest</CODE></a>
153            </th>
154<td>Gets a semaphore request.</td>
155          </tr>
156          <tr>
157            <td width="100">  </td>
158            <th>
159<a href="../../../nn/dsp/CTR/ClearSemaphore.html"><CODE>ClearSemaphore</CODE></a>
160            </th>
161<td>Clears semaphores.</td>
162          </tr>
163          <tr>
164            <td width="100">  </td>
165            <th>
166<a href="../../../nn/dsp/CTR/MaskSemaphore.html"><CODE>MaskSemaphore</CODE></a>
167            </th>
168<td>Sets a semaphore mask.</td>
169          </tr>
170          <tr>
171            <td width="100">  </td>
172            <th>
173<a href="../../../nn/dsp/CTR/GetSemaphore.html"><CODE>GetSemaphore</CODE></a>
174            </th>
175<td>Gets semaphore values.</td>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180<a href="../../../nn/dsp/CTR/SetSemaphore.html"><CODE>SetSemaphore</CODE></a>
181            </th>
182<td>Sets semaphore values.</td>
183          </tr>
184          <tr>
185<th class="category" colspan="3">Other</th>
186          </tr>
187          <tr>
188            <td width="100">  </td>
189            <th>
190<a href="../../../nn/dsp/CTR/FlushDataCache.html"><CODE>FlushDataCache</CODE></a>
191            </th>
192<td>Writes data for the specified cache range back into memory and invalidates the cache.</td>
193          </tr>
194          <tr>
195            <td width="100">  </td>
196            <th>
197<a href="../../../nn/dsp/CTR/InvalidateDataCache.html"><CODE>InvalidateDataCache</CODE></a>
198            </th>
199<td>Invalidates the specified cache range.</td>
200          </tr>
201          <tr>
202            <td width="100">  </td>
203            <th>
204<a href="../../../nn/dsp/CTR/Sleep.html"><CODE>Sleep</CODE></a>
205            </th>
206<td>Temporarily interrupts the DSP and runs shutdown processing.</td>
207          </tr>
208          <tr>
209            <td width="100">  </td>
210            <th>
211<a href="../../../nn/dsp/CTR/WakeUp.html"><CODE>WakeUp</CODE></a>
212            </th>
213<td>Restores interrupted DSP processing.</td>
214          </tr>
215          <tr>
216            <td width="100">  </td>
217            <th>
218<a href="../../../nn/dsp/CTR/GetHeadphoneStatus.html"><CODE>GetHeadphoneStatus</CODE></a>
219            </th>
220<td>Gets whether headphones are plugged in.</td>
221          </tr> </table>
222      </div>
223    </a>
224<h2>Revision History</h2>
225    <div class="section">
226      <dl class="history">
227        <dt>2010/01/29</dt>
228<dd>Initial version.<br />
229        </dd>
230      </dl>
231    </div>
232  <hr><p>CONFIDENTIAL</p></body>
233</html>
234