RTEMS  5.1
watchdogticks.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2009.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_SCORE_WATCHDOGTICKS_H
19 #define _RTEMS_SCORE_WATCHDOGTICKS_H
20 
21 #include <rtems/score/basedefs.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
38 typedef uint32_t Watchdog_Interval;
39 
43 #define WATCHDOG_NO_TIMEOUT 0
44 
48 #define WATCHDOG_TICKS_PER_TIMESLICE_DEFAULT 50
49 
56 
63 extern const uint32_t _Watchdog_Microseconds_per_tick;
64 
71 extern const uint32_t _Watchdog_Nanoseconds_per_tick;
72 
79 extern const uint32_t _Watchdog_Ticks_per_second;
80 
87 extern const uint32_t _Watchdog_Ticks_per_timeslice;
88 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif
96 /* end of include file */
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdogticks.h:38
const uint32_t _Watchdog_Ticks_per_second
The watchdog ticks per second.
const uint32_t _Watchdog_Nanoseconds_per_tick
The watchdog nanoseconds per tick.
const uint32_t _Watchdog_Microseconds_per_tick
The watchdog microseconds per tick.
Basic Definitions.
volatile Watchdog_Interval _Watchdog_Ticks_since_boot
The watchdog ticks counter.
Definition: watchdogtickssinceboot.c:29
const uint32_t _Watchdog_Ticks_per_timeslice
The watchdog ticks per timeslice.
Definition: watchdogtimeslicedefault.c:34