MT_SetWDTMode

■Description

Set up the time-up mode of the watchdog timer.

■Synopsis

int MT_SetWDTMode(int fd,unsigned char ucMode)

■Argument

int fd
  Please specify handle acquired by MT_Open function.

unsigned char ucMode
  The following modes can be specified.
    WDT_RESET : Performs a reset.
    WDT_SCI : Power Button action.
    WDT_POH (*) : Perform PO output.
    WDT_POL (*) : Perform PO output.

■RETURN VALUE

If the function succeeds, NO_ERROR is returned.
If the function fails, a code other than NO_ERROR is returned.
The other errors : Error code details



Function List