EasyManua.ls Logo

Acrosser Technology AR-V6002FL - Page 76

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
76
9. Syntax:
i32 getPowerOnMode( u8 *powerOnMode )
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 is a pointer which points to an unsigned character. The returned
code is stored at this memory. There are two power-on modes:
PowerOnMode = 0xa5, boot up by the Ignition.
PowerOnMode = 0x5a, boot up by the Remote Switch.
Return Value: If the power-on mode is returned successfully, the function returns 0. If any
error, it returns –1
10. Syntax:
i32 getBattVolt( float *volt )
Description: The function gets the voltage reading of the battery.
Parameters: The parameter ‘volt’ is a pointer which points to an variable of type ‘float’. The
unit of the returned value is voltage.
Return Value: If the reading of voltage is returned successfully, the function returns 0. If any
error, it returns –1
11. Syntax:
i32 getPicFwVer( struct PicInfo *ver )
Description: The function gets version information of Power Subsystem firmware.
Parameters: The parameter is a pointer which points to a ‘PicInfo’ structure, which consists of
9 unsigned characters. Here is the definition of structure ‘PicInfo’:
type struct {
u8 type[3]; // The type of the power subsystem
u8 mode[4]; // The mode at which the power subsystem is
operating.
u8 majorVersion; // Major version number of the firmware
u8 minorVersion; // Minor version number of the firmware
} PicInfo;