RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
38typedef uint32_t Watchdog_Interval;
39
43#define WATCHDOG_NO_TIMEOUT 0
44
48#define WATCHDOG_TICKS_PER_TIMESLICE_DEFAULT 50
49
56
63extern const uint32_t _Watchdog_Microseconds_per_tick;
64
71extern const uint32_t _Watchdog_Nanoseconds_per_tick;
72
79extern const uint32_t _Watchdog_Ticks_per_second;
80
87extern const uint32_t _Watchdog_Ticks_per_timeslice;
88
91#ifdef __cplusplus
92}
93#endif
94
95#endif
96/* end of include file */
Basic Definitions.
volatile Watchdog_Interval _Watchdog_Ticks_since_boot
The watchdog ticks counter.
Definition: watchdogtickssinceboot.c:29
const uint32_t _Watchdog_Microseconds_per_tick
The watchdog microseconds per tick.
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:38
const uint32_t _Watchdog_Ticks_per_timeslice
The watchdog ticks per timeslice.
Definition: watchdogtimeslicedefault.c:34