wdtCtrl.h File Reference

The header file describes the WDT interface. More...

#include <halWdt.h>

Go to the source code of this file.

Functions

void HAL_StartWdt (HAL_WdtInterval_t interval)
 Starts WDT within a given interval.
void HAL_RegisterWdtCallback (void(*wdtCallback)())
 Registers WDT fired callback.


Detailed Description

The header file describes the WDT interface.

Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com
Copyright (c) 2008 , Atmel Corporation. All rights reserved. Licensed under Atmel's Limited License Agreement (BitCloudTM).

Definition in file wdtCtrl.h.


Function Documentation

void HAL_StartWdt ( HAL_WdtInterval_t  interval  ) 

Starts WDT within a given interval.

Parameters:
[in] interval - interval. Must be chosen from:
WDT_INTERVAL_16 // 16 ms
WDT_INTERVAL_32 // 32 ms
WDT_INTERVAL_64 // 64 ms
WDT_INTERVAL_125 // 125 ms
WDT_INTERVAL_250 // 250 ms
WDT_INTERVAL_500 // 500 ms
WDT_INTERVAL_1000 // 1 second
WDT_INTERVAL_2000 // 2 seconds
WDT_INTERVAL_4000 // 4 seconds
WDT_INTERVAL_8000 // 8 seconds

void HAL_RegisterWdtCallback ( void(*)()  wdtCallback  ) 

Registers WDT fired callback.

Parameters:
[in] wdtCallback - pointer to the callback function.


Generated on Mon Feb 16 17:53:40 2009 for BitCloud Stack Documentation by  doxygen 1.5.1-p1