AND-DNV3N2FL
38
Acrosser Technology Co., Ltd.
Syntax:
int set_bypass_poweron_action(int pair, int action)
Description:
This function can set which pair bypass power on action.
Parameters:
pair: 1-4, action: 0: bypass, 1: normal.
Return Value:
0: Successful, -1: fail.
Syntax:
int get_bypass_poweron_action(int pair)
Description:
This function can get which pair bypass power on action.
Parameters:
pair: 1-4.
Return Value:
0: bybpass, 1: normal, -1: fail.
Syntax:
int set_bypass_poweroff_action(int pair, int action)
Description:
This function can set which pair bypass power off action.
Parameters:
pair: 1-4, action: 0: bypass, 1: normal.
Return Value:
0: Successful, -1: fail.
Syntax:
int get_bypass_poweroff_action(int pair)
Description:
This function can get which pair bypass power off action.
Parameters:
pair: 1-4.
Return Value:
0: bybpass, 1: normal, -1: fail.
4.3.4.
Notes
Syntax:
int libw83627_init(void)
Description:
use the watchdog, gpio function before, must be call this
function first.
Parameters:
None.
Return Value:
0: Successful, -1: Fail
Syntax:
void lib_close(void)
Description:
if watchdog, gpio fuction not use on your program, please
call this function.
Parameters:
None.
Return Value:
None.