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>RTC_Init</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">RTC_Init <img src="../image/NTR.gif" align="middle"><img src="../image/TWL.gif" align="middle"></h1> 15 16<h2>Syntax</h2> 17 18<dl> 19 <dd> 20<CODE>#include <nitro/rtc.h></CODE><BR> 21 <PRE><CODE>void RTC_Init( void );</CODE></PRE> 22 </dd> 23 24</dl><h2>Arguments</h2> 25<p>None.</p> 26 27<h2>Return Values</h2> 28<p>None.</p> 29 30<H2>Description</H2> 31<P>Initializes the real-time clock API. Call this function before calling any real-time clock functions.</P> 32 33<h2>Note</h2> 34<P> 35The real-time clock stores data using a battery and continues to measure time even if the console's power is not turned on. <FONT color=red>This stored data is not initialized by the initialization functions. Note, therefore, the initial date and time values are not defined. </FONT>Although the console startup sequence zero-clears all alarm-related settings, these settings will carry over for any application restarts caused by a software reset. 36</P> 37<P> 38The end user can freely adjust the real-time clock's date and time using the console's System Settings. <FONT color=red>As a result, note that the date and time are not guaranteed to be consistent before and after the console is restarted.</FONT> 39</P> 40 41<h2>See Also</h2> 42<P><a href="RTC_SetAlarmStatus.html"><CODE>RTC_SetAlarmStatus</CODE></a><BR><a href="RTC_SetAlarmParam.html"><CODE>RTC_SetAlarmParam</CODE></a></P> 43 44<H2>Revision History</H2> 45<P> 462008/09/16 Revised and added notes.<BR> 2004/07/01 Changed descriptions because the time notation was standardized.<BR> 2004/05/18 Initial version.<BR> 47</P> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50