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>CTRDG_GetPhiClock</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CTRDG_GetPhiClock <IMG src="../image/NTR.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/ctrdg.h></CODE><BR> 20 <BR> 21 <CODE>CTRDGPhiClock CTRDG_GetPhiClock( void )</CODE></dd> 22</dl> 23<h2>Arguments</h2> 24<P>None.</P> 25<h2>Return Values</h2> 26<p>PHI terminal output control settings.</p> 27 28<H2>Description</H2> 29<P>This function acquires the PHI terminal output control settings.</P> 30<P>The return value is a <CODE>CTRDGPhiClock</CODE> enumerated type that has the following meanings:</P> 31<TABLE> 32 <TBODY> 33 <TR> 34 <TD bgcolor="#eeeeee"><CODE>CTRDG_PHI_CLOCK_LOW</CODE></TD> 35 <TD bgcolor="#eeeeee">Low-level output</TD> 36 </TR> 37 <TR> 38 <TD bgcolor="#eeeeee"><CODE>CTRDG_PHI_CLOCK_4MHZ</CODE></TD> 39 <TD bgcolor="#eeeeee">4.19MHz clock output</TD> 40 </TR> 41 <TR> 42 <TD bgcolor="#eeeeee"><CODE>CTRDG_PHI_CLOCK_8MHZ</CODE></TD> 43 <TD bgcolor="#eeeeee">8.38MHz clock output</TD> 44 </TR> 45 <TR> 46 <TD bgcolor="#eeeeee"><CODE>CTRDG_PHI_CLOCK_16MHZ</CODE></TD> 47 <TD bgcolor="#eeeeee">16.76MHz clock output</TD> 48 </TR> 49 </TBODY> 50</TABLE> 51<P><BR> This function reads the setting value of the ARM9 and returns the value. (Usually, the ARM9 and ARM7 use the same setting value. The <CODE><A href="CTRDG_SetPhiClock.html">CTRDG_SetPhiClock()</A></CODE> function simultaneously sets both processors.)</P> 52<h2>Internal Operation</h2> 53<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P> 54 55<h2>See Also</h2> 56<p><CODE><A href="CTRDG_SetPhiClock.html">CTRDG_SetPhiClock</A><br></CODE></p> 57 58<H2>Revision History</H2> 59<P>2006/04/28 Changed from MI_ to CTRDG_ <BR> 2003/12/18 Initial version</P> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62