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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>CARD_SetThreadPriority</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">CARD_SetThreadPriority <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/card.h&gt;</CODE><BR>
16  <BR>
17  <CODE>u32	CARD_SetThreadPriority(u32 prior);</CODE><br>
18  <br>
19  </dd>
20</dl>
21<h2>Arguments</h2>
22<p>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26      <TD width="13%"><EM><STRONG>prior</STRONG></EM></TD>
27      <TD width="87%">The priority to assign to a thread.</TD>
28    </TR>
29  </TBODY>
30</TABLE>
31</p>
32<h2>Return Values</h2>
33<p>Returns the priority previously assigned to the CARD asynchronous process.</p>
34<H2>Description</H2>
35<P>Sets the priority of the CARD asynchronous processing thread. This thread is used internally when restrictions on arguments or the operating environment prevent <A href="../rom/CARD_ReadRomAsync.html"><CODE>CARD_ReadRomAsync</CODE></A> and other asynchronous CARD functions from running in an IRQ handler. The priority of this thread is set to <code><A href="../card_thread_priority_default_const.html">CARD_THREAD_PRIORITY_DEFAULT</A></code> by default. It can be changed with the <code><A href="CARD_SetThreadPriority.html">CARD_SetThreadPriority</A></code> function. <BR>
36</P>
37<h2>See Also</h2>
38<p><CODE><A href="CARD_GetThreadPriority.html">CARD_GetThreadPriority</A><BR> <A href="../rom/CARD_ReadRomAsync.html">CARD_ReadRomAsync</A><BR> <A href="../eeprom/CARD_ReadEepromAsync.html">CARD_ReadEepromAsync</A><BR> <A href="../eeprom/CARD_WriteEepromAsync.html">CARD_WriteEepromAsync</A><BR> <A href="../eeprom/CARD_VerifyEepromAsync.html">CARD_VerifyEepromAsync</A><BR> <A href="../eeprom/CARD_WriteAndVerifyEepromAsync.html">CARD_WriteAndVerifyEepromAsync</A></CODE></p>
39<H2>Revision History</H2>
40<P>
412004/11/02 Corrected typo in argument name.<br /> 2004/07/28 Added descriptions and links.<br /> 2004/07/19 Initial version.
42</P>
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45