1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>PM_GetLCDPower</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">PM_GetLCDPower <IMG src="../../image/NTR.gif" width="24" height="12" border="0" align="middle"><IMG src="../../image/TWL.gif" width="24" height="12" border="0" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/spi.h&gt;</CODE></PRE>
16  <PRE><CODE>PMLCDPower PM_GetLCDPower( void );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<P>None.</P>
21<H2>Return Values</H2>
22<P>This function returns the LCD switch state using the following values. <CODE>PM_LCD_POWER_ON</CODE> LCD is switched ON. <CODE>PM_LCD_POWER_OFF</CODE> LCD is switched OFF.</P>
23<H2>Description</H2>
24<P>Gets the LCD switch state.</P>
25<P>This function accesses registers in the GX category, but it is classified under the PM library because of the type of operation it performs.</P>
26<P>Registers are not modified, only accessed, so this function can be called even from an interrupt-prohibited state or an interrupt handler.</P>
27<H2>Internal Operation</H2>
28<P>This function is accessed by the GX_POWCNT register.</P>
29<H2>See Also</H2>
30<P><a href="PM_Init.html"><code>PM_Init</code></a><BR> <a href="PM_SetLCDPower.html"><code>PM_SetLCDPower</code></a></P>
31<H2>Revision History</H2>
32<P>2008/12/05 Added note about use in interrupt-prohibited states.<BR> 2004/08/07 Initial version.</P>
33<hr><p>CONFIDENTIAL</p></body>
34</HTML>