Acrosser Technology AR-V6002FL User Manual page 77

Hide thumbs Also See for AR-V6002FL:
Table of Contents

Advertisement

5.3.3 Power Subsystem
1. Syntax:
i32 getIgnStatus( u8 *ignStatus )
Description: Get the current ignition status. The ignition has two statuses: ON or OFF.
Parameters: This function puts the ignition status at the memory pointed by the
unsigned character pointer 'ignStatus'. If the returned status is 0xa5, the ignition is ON.
If the returned status is 0x5a, the ignition is OFF. There are macros of Ignition ON and
Ignition OFF in pwr_acce.h.
Return Value: If the function gets the ignition status and put it at the memory pointed by
the argument successfully, this function will return 0. If any error, the function returns –1.
2. Syntax:
i32 setSoftOffDelayS( u32 setTime )
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 sets up
the interval in seconds.
Parameters: The parameter is of the type of unsigned long. The value of the parameter
ranges from 0~255. The unit of the value of the parameter is seconds.
Return Value: If the function sets the delay time successfully, it will return 0. If any error,
the function returns –1.
3. Syntax:
i32 setSoftOffDelayM( u32 setTime )
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 sets up
the interval in minutes.
Parameters: The parameter is of the type of unsigned long. The value of the parameter
ranges from 0~255. The unit of the value of the parameter is minutes.
Return Value: If the function sets the delay time successfully, it will return 0. If any error,
the function returns –1.
77
Revision: 1.0

Advertisement

Table of Contents
loading

Table of Contents