EasyManua.ls Logo

Acrosser Technology AR-V6002FL - Page 75

Default Icon
84 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Revision: 1.23
75
6. Syntax:
i32 setPowerOnMode( u8 powerOnMode )
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:
PowerOnMode = 0xa5, boot up by the Ignition.
PowerOnMode = 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.h(Windows).
Return Value: If the function sets power-on mode successfully, it will return 0. If any error, the
function returns –1.
7. Syntax:
i32 getSoftOffDelay( u32 *Time )
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 is a pointer which points to an unsigned long variable. The
returned value is stored at this variable. The unit of the returned value is in seconds.
Return Value: If the delay time is returned successfully, the function returns 0. If any error, it
returns –1.
8. Syntax:
i32 getHardOffDelay( u32 *Time )
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 is a pointer which points to an unsigned long variable. The
returned value is stored at this variable. The unit of the returned value is in seconds.
Return Value: If the delay time is returned successfully, the function returns 0. If any error, it
returns –1.