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 http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>CNTInit</title>
9</head>
10
11<body>
12
13<h1>CNTInit</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/cnt.h&gt;
18
19void CNTInit(void);
20</code></pre></dd></dl>
21
22<h2>Arguments</h2>
23<p>
24None.
25</p>
26
27<h2>Return Values</h2>
28<p>
29None.
30</p>
31
32
33<H2>Description</H2>
34<p>
35Initializes the driver. With NAND applications, when using the NAND API to save data or for other purposes, always call <CODE>NANDInit</CODE> first.<br><br> <B>Note:</B>In SDK 2.1 Patch 1 and later versions, <CODE>NANDInit</CODE> is called automatically by <CODE>OSInit</CODE>. </font><br><br><B>Note:</B> This function may put the current thread to sleep. Refer to <a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a>.
36</p>
37
38<h2>See Also</h2>
39<p>
40<a href="./intro.html">NADK Introduction</a><br><a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a>
41
42</p>
43<H2>Revision History</H2>
44<p>
452007/09/12 Added information about the sleep status of threads.<br>2006/12/04 Added a description of <CODE>NANDInit</CODE>.<br>2006/08/15 Initial version.
46</p>
47
48
49<hr><p>CONFIDENTIAL</p></body>
50</html>
51