
ABN-192 User’s Guide 9
4. set_nb_bpe
Function name set_nb_bpe
Description Set Ethernet port to bypass mode or normal mode while power start up or
power off, the details as below description
Format:
int set_nb_bpe (unsigned char para)
Input: para
SET_NB_BPE_NB0: set Ethernet port to normal mode when power start up.
SET_NB_BPE_NB1: set Ethernet port to bypass mode when power start up.
SET_NB_BPE_BPE0: set Ethernet port to normal mode when power off.
SET_NB_BPE_BPE1: set Ethernet port to bypass mode when power off.
Return: 0: return ok.
-1:return fail.
5 set_period_wdt
Function name set_period_wdt
Description Set watch dog timer period
Format:
int set_period_wdt(unsigned char pd)
Input: pd
SET_WDT_CYCLE_264258:set watch dog timer period as 264.258ms
SET_WDT_CYCLE_528516:set watch dog timer period as 528.516ms
SET_WDT_CYCLE_1057032:set watch dog timer period as 1057.032ms
SET_WDT_CYCLE_2114065:set watch dog timer period as 2114.065ms
SET_WDT_CYCLE_4228129:set watch dog timer period as 4228.129ms
SET_WDT_CYCLE_8456258:set watch dog timer period as 8456.258ms
SET_WDT_CYCLE_1691252:set watch dog timer period as 16912.52ms
SET_WDT_CYCLE_3382503:set watch dog timer period as 33825.03ms
SET_WDT_CYCLE_6755006:set watch dog timer period as 67550.06ms
SET_WDT_CYCLE_1353001:set watch dog timer period as 135300.1ms
SET_WDT_CYCLE_2706003:set watch dog timer period as 270600.3ms
Return: 0: return ok.
-1:return fail.
Commentaires sur ces manuels