wdt_enable

Enbale watchdog timer.

static int32_t wdt_enable(
    struct wdt_descriptor *const wdt
)

Parameters

wdt

Type: struct wdt_descriptor Struct *const

The pointer to the HAL WDT instance.

Returns

Type: int32_t

Operation status of init

0

Completed sucessfully.