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