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>CNTShutdown</title> 9</head> 10 11<body> 12 13<h1>CNTShutdown</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre><code> 17#include <revolution/cnt.h> 18 19void CNTShutdown(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> 35Performs shutdown operations. Always execute this function before executing <CODE>OSShutdownSystem</CODE>.<br><br> <STRONG>Note:</STRONG> 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="./CNTInit.html"><CODE>CNTInit</CODE></a><br> <a href="../os/Reset/OSShutdownSystem.html"><CODE>OSShutdownSystem</CODE></a><br> <a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a> 41</p> 42 43<H2>Revision History</H2> 44<p> 452008/01/08 Revised a description. Changed links.<br>2007/09/12 Added information about the sleep status of threads.<br>2006/10/26 Added link to Reset and Shutdown functions.<BR>2006/09/27 Initial version.</p> 46 47 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50