Revision: 1.23
78
argument successfully, this function will return TRUE. If any error, the function returns FALSE.
2. Syntax:
BOOL PowerPic_SetSoftOffDelayTime( int nTime, int nTimeUnit )
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.
Parameters: The parameter ‘nTime‘ is the value to set as delay interval. The value of the
parameter ‘nTime‘ ranges from 0~255. The parameter ‘nTimeUnit‘ is the unit of nTime. Users
can use macros TIME_UNIT_SECOND or TIME_UNIT_MINUTE to indicate unit.
Return Value: If the function sets the soft off delay successfully, this function will return
TRUE. If any error, the function returns FALSE.
3. Syntax:
BOOL PowerPic_SetHardOffDelayTime( int nTime, int nTimeUnit )
Description: The Hard Off Delay is the interval between that the system is off and that the
power 5VSB is off.
Parameters: The parameter ‘nTime‘ is the value to set as delay interval. The value of the
parameter ‘nTime‘ ranges from 0~255. The parameter ‘nTimeUnit‘ is the unit of nTime. Users
can use macros TIME_UNIT_SECOND or TIME_UNIT_MINUTE to indicate unit.
.
Return Value: If the function sets the hard off delay successfully, this function will return
TRUE. If any error, the function returns FALSE.
4. Syntax:
BOOL PowerPic_SetPowerOnMode( BYTE bMode )
Description: The function sets up the source of the boot-up signal of the system. There are two
choices: boot from the Ignition or boot from the Remote Switch.
Parameters:
bMode = 0xa5, boot up by the Ignition.
bMode = 0x5a, boot up by the Remote Switch.
There are macros of Ignition mode and Remote Switch mode in pwr_acce.h (Linux) and
AR_B6002_LIB.h(Windows).