wdt_deinit

Deinitialize the WDT HAL instance and hardware.

static int32_t wdt_deinit(
    struct wdt_descriptor *const wdt
)

Deinitialize WDT HAL.

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.

-1

Always on, can't deinitialize.