Defines | Functions

# wdt_drv.c File Reference

This file contains the Watchdog low level driver definition. More...

`#include "config.h"`
`#include "wdt_drv.h"`
Include dependency graph for wdt_drv.c:

Go to the source code of this file.

## Defines
#define | Wdt_reset_instruction() __watchdog_reset()
## Functions
void | wdtdrv_disable (void)
| This functions stops the hardware watchdog timer.
void | wdtdrv_enable (U8 timeout)
| This functions activates the hardware watchdog timer System Reset Mode only.
void | wdtdrv_interrupt_enable (U8 timeout)
| This functions activates the hardware watchdog timer Interrupt Mode only.
void | wdtdrv_interrupt_reset_enable (U8 timeout)
| This functions activates the hardware watchdog timer Interrupt & System Reset Mode.

## Detailed Description

This file contains the Watchdog low level driver definition.

- Compiler: IAR EWAVR and GNU GCC for AVR
- Supported devices: ATmega32U4

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file wdt_drv.c.

## Define Documentation

#define Wdt_reset_instruction | ( | ) | __watchdog_reset()

Definition at line 54 of file wdt_drv.c.

Referenced by wdtdrv_disable(), wdtdrv_enable(), wdtdrv_interrupt_enable(), and wdtdrv_interrupt_reset_enable().