/* Registers an asynchronous callback function with the driver. 
Registers an asynchronous callback with the WDT driver, fired when a given criteria (such as an Early Warning) is met. Callbacks are fired once for each event. */
enum status_code wdt_register_callback(const wdt_callback_t callback, const enum wdt_callback type)
/* Registers an asynchronous callback function with the driver. 
Registers an asynchronous callback with the WDT driver, fired when a given criteria (such as an Early Warning) is met. Callbacks are fired once for each event. */
enum status_code wdt_register_callback(const wdt_callback_t callback, const enum wdt_callback type)
{
	Assert(callback);
	switch (type)
	{
	case WDT_CALLBACK_EARLY_WARNING:
		wdt_early_warning_callback = callback;
		return STATUS_OK;
	default:
		Assert(false);
		return STATUS_ERR_INVALID_ARG;
	}
}