/* Disables asynchronous callback generation for a given type. 
Disables asynchronous callbacks for a given callback type. */
enum status_code wdt_disable_callback(const enum wdt_callback type)
/* Disables asynchronous callback generation for a given type. 
Disables asynchronous callbacks for a given callback type. */
enum status_code wdt_disable_callback(const enum wdt_callback type)
{
	Wdt *const WDT_module = WDT;
	switch (type)
	{
	case WDT_CALLBACK_EARLY_WARNING:
		WDT_module->INTENCLR.reg = WDT_INTENCLR_EW;
		return STATUS_OK;
	default:
		Assert(false);
		return STATUS_ERR_INVALID_ARG;
	}
}