wdt_avr.h File Reference
Watchdog interface for AVR architecture. More...
Go to the source code of this file.
Functions | |
| void | wdt_start (uint32_t _timeout) |
| Reset the watchdog timer. | |
| void | wdt_stop (void) |
| Stop watchdog timer. | |
Detailed Description
Watchdog interface for AVR architecture.
- Note:
- The avr-libc already provide an api to manage the watchdog on AVR architecture. In avr-libc are also available several constants used to set the timeout value (see documentation for more detail).
Definition in file wdt_avr.h.
Function Documentation
| void wdt_start | ( | uint32_t | _timeout | ) | [inline] |
Reset the watchdog timer.
This functions is already defind in avr-libc. Start the watchdog timer that fire at the select timeout.
- Parameters:
-
_timeout you can use the macro that are defineded in avr/wdt.h.
(from avr libc documentation) WDTO_15MS WDTO_30MS WDTO_60MS WDTO_120MS WDTO_250MS WDTO_500MS WDTO_1S WDTO_2S WDTO_4S WDTO_8S
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)