Microchip® Advanced Software Framework

wdt_callback.c File Reference

SAM Watchdog Driver.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include "wdt.h"
#include <system.h>
#include <system_interrupt.h>

Functions

enum status_code wdt_disable_callback (const enum wdt_callback type)
 Disables asynchronous callback generation for a given type. More...
 
enum status_code wdt_enable_callback (const enum wdt_callback type)
 Enables asynchronous callback generation for a given type. More...
 
void WDT_Handler (void)
 Handler for the WDT hardware module interrupt. More...
 
enum status_code wdt_register_callback (const wdt_callback_t callback, const enum wdt_callback type)
 Registers an asynchronous callback function with the driver. More...
 
enum status_code wdt_unregister_callback (const enum wdt_callback type)
 Unregisters an asynchronous callback function with the driver. More...
 

Variables

wdt_callback_t wdt_early_warning_callback
 

void WDT_Handler ( void  )

Handler for the WDT hardware module interrupt.

References wdt_clear_early_warning(), and wdt_early_warning_callback.

wdt_callback_t wdt_early_warning_callback