Revision: 1.23
79
Return Value: If the function sets the power on mode successfully, this function will return
TRUE. If any error, the function returns FALSE.
5. Syntax:
BOOL PowerPic_GetSoftOffDelayTime( int* pSeconds )
Description: The Soft Off Delay is the interval between that the system receives a power off
signal and that the system generates a power off signal. This function gets the interval.
Parameters: The parameter ‘pSeconds‘ is a pointer which points to an int variable. The
returned value is stored at this variable. The unit of the returned value is in seconds.
Return Value: If the function gets the soft off delay successfully, this function will return
TRUE. If any error, the function returns FALSE.
6. Syntax:
BOOL PowerPic_GetHardOffDelayTime( int* pSeconds )
Description: The Hard Off Delay is the interval between that the system is off and that the
power 5VSB is off. This function gets the interval.
Parameters: The parameter ‘pSeconds’ is a pointer which points to an int variable. The
returned value is stored at this variable. The unit of the returned value is in seconds.
Return Value: If the function gets the hard off delay successfully, this function will return
TRUE. If any error, the function returns FALSE.
7. Syntax:
BOOL PowerPic_GetPowerOnMode( BYTE* pMode )
Description: The function gets the setting of power-on mode. There are two modes: boot from
the Ignition or boot from the Remote Switch.
Parameters: The parameter ‘pMode’ is a pointer which points to an BYTE. The returned code
is stored at this memory. There are two power-on modes:
* pMode = 0xa5, boot up by the Ignition.
* pMode = 0x5a, boot up by the Remote Switch.
Return Value: If the function gets the power in mode successfully, this function will return