PM_GetLCDPower

Syntax

#include <nitro/spi.h>
PMLCDPower PM_GetLCDPower( void );
  

Arguments

None.

Return Values

This function returns the LCD switch state using the following values. PM_LCD_POWER_ON LCD is switched ON. PM_LCD_POWER_OFF LCD is switched OFF.

Description

Gets the LCD switch state.

This function accesses registers in the GX category, but it is classified under the PM library because of the type of operation it performs.

Registers are not modified, only accessed, so this function can be called even from an interrupt-prohibited state or an interrupt handler.

Internal Operation

This function is accessed by the GX_POWCNT register.

See Also

PM_Init
PM_SetLCDPower

Revision History

2008/12/05 Added note about use in interrupt-prohibited states.
2004/08/07 Initial version.


CONFIDENTIAL