
AIV-QM97V1FL Series User Manual
69
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.
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 this function works successfully, the function returns 0,
any other value stands for error.