1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>RTCResult</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">RTCResult <img src="../image/NTR.gif" align="middle"><img src="../image/TWL.gif" align="middle"></h1>
15
16<h2>Definition</h2>
17
18<dl>
19  <dd>
20<CODE>#include &lt;nitro/rtc.h&gt;</CODE><BR>
21  <PRE><CODE>typedef enum
22{
23	RTC_RESULT_SUCCESS = 0 ,
24	RTC_RESULT_BUSY ,
25	RTC_RESULT_ILLEGAL_PARAMETER ,
26	RTC_RESULT_SEND_ERROR ,
27	RTC_RESULT_INVALID_COMMAND ,
28	RTC_RESULT_ILLEGAL_STATUS ,
29	RTC_RESULT_FATAL_ERROR ,
30	RTC_RESULT_MAX
31
32} RTCResult;</CODE></PRE>
33  </dd>
34
35</dl><h2>Elements</h2>
36<TABLE border="1" width="100%">
37  <TBODY>
38    <TR>
39      <TD width="300"><em><strong><font face="Courier New">RTC_RESULT_SUCCESS</font></strong></em></TD>
40      <TD width="700">Indicates that the process completed normally.</TD>
41    </TR>
42    <TR>
43      <TD width="300"><em><strong><font face="Courier New">RTC_RESULT_BUSY</font></strong></em></TD>
44      <TD width="700">Indicates that the request could not be performed because another RTC operation was being processed at the same time.</TD>
45    </TR>
46    <TR>
47      <TD><em><strong><font face="Courier New">RTC_RESULT_ILLEGAL_PARAMETER</font></strong></em></TD>
48      <TD>Indicates that the request was not performed because the specified parameter was illegal.</TD>
49    </TR>
50    <TR>
51      <TD width="300"><em><strong><font face="Courier New">RTC_RESULT_SEND_ERROR</font></strong></em></TD>
52      <TD width="700">Indicates the failure of a request to ARM7 that was issued using PXI communications.</TD>
53    </TR>
54    <TR>
55      <TD width="300"><em><strong><font face="Courier New">RTC_RESULT_INVALID_COMMAND</font></strong></em></TD>
56      <TD width="700">Indicates that the request could not be performed because the request received by ARM7 was not a supported command.</TD>
57    </TR>
58    <TR>
59      <TD><em><strong><font face="Courier New">RTC_RESULT_ILLEGAL_STATUS</font></strong></em></TD>
60      <TD>Indicates that the request could not be performed because of RTC internal status.<br>
61      This error is not generated during normal application of the RTC library.</TD>
62    </TR>
63    <TR>
64      <TD><em><strong><font face="Courier New">RTC_RESULT_FATAL_ERROR</font></strong></em></TD>
65      <TD>Indicates that proper process was not possible due to a cause not listed above.<br>
66      This error is not generated during normal application of the RTC library.</TD>
67    </TR>
68  </TBODY>
69</TABLE>
70
71<H2>Description</H2>
72<P>This is an enumerator that indicates the result for a function that manipulates the real time clock. It is used as a return value for synchronous and asynchronous functions, and the <B><I><FONT face="Courier New">result</FONT></I></B> argument that is passed to the user callback in an asynchronous function.</P>
73
74<h2>See Also</h2>
75<P><CODE><A href="RTCCallback.html">RTCCallback</A></CODE></P>
76
77<H2>Revision History</H2>
78<P>
792006/08/10 Added descriptions related to some internal errors. <br>2004/05/18 Initial version.<br>
80</P>
81<hr><p>CONFIDENTIAL</p></body>
82</html>
83