Acrosser AIV-HM76V1FL User Manual
Page 60
AIV-HM76V1FL Series User Manual
60
Acrosser Technology Co., Ltd.
Syntax:
i32 getBattDelta(float *val)
Description:
This function gets the delta value. The delta value is the
maximum voltage deviation of the power from its nominal
voltage. If the function of Battery Monitor is ON, the Power
Subsystem shuts the system down when the voltage
deviation of the power is larger than the delta value.
Parameters:
This function takes a pointer to a float variable as the
parameter. The delta value will be put at the memory
which is pointed by the parameter ‘val’.
Return Value:
If this function works successfully, it returns 0, any other
value standards for error.
Syntax:
i32 setBattDelta(float val)
Description:
This function sets the voltage delta value. The range is
0.5V ~ 3.0V. The granularity is 0.5V.
Parameters:
This function takes a float variable as the parameter.
Return Value:
If this function works successfully, it returns 0, any other
value standards for error.
Syntax:
i32 setSoftOffDelay(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 3~3600. The unit of the
value of the parameter is seconds.
Return Value:
If this function works successfully, it returns 0, any other
value stands for error.
Syntax:
i32 setHardOffDelay(u32 setTime)
Description:
The Hard Off Delay is the interval between that the system
is off and that the power 5VSB is off. This functions set up
the interval in seconds.
Parameters:
The parameter is of the type of unsigned long. The value
of the parameter ranges from 3~3600. The unit of the
value of the parameter is seconds.
Return Value:
If the function works successfully, it returns 0, any other
value stands for error.