RTEMS  5.0.0
watchdogticks.h
Go to the documentation of this file.
1 
7 /*
8  * COPYRIGHT (c) 1989-2009.
9  * On-Line Applications Research Corporation (OAR).
10  *
11  * The license and distribution terms for this file may be
12  * found in the file LICENSE in this distribution or at
13  * http://www.rtems.org/license/LICENSE.
14  */
15 
16 #ifndef _RTEMS_SCORE_WATCHDOGTICKS_H
17 #define _RTEMS_SCORE_WATCHDOGTICKS_H
18 
19 #include <rtems/score/basedefs.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
36 typedef uint32_t Watchdog_Interval;
37 
41 #define WATCHDOG_NO_TIMEOUT 0
42 
48 extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
49 
56 extern const uint32_t _Watchdog_Nanoseconds_per_tick;
57 
64 extern const uint32_t _Watchdog_Ticks_per_second;
65 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif
73 /* end of include file */
const uint32_t _Watchdog_Nanoseconds_per_tick
The watchdog nanoseconds per tick.
const uint32_t _Watchdog_Ticks_per_second
The watchdog ticks per second.
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdogticks.h:36
Basic Definitions.
volatile Watchdog_Interval _Watchdog_Ticks_since_boot
The watchdog ticks counter.
Definition: watchdogtickssinceboot.c:29