RTEMS: cpukit/include/rtems/score/watchdogticks.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
24extern "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
55extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
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 */
basedefs.h
Basic Definitions.
_Watchdog_Ticks_since_boot
volatile Watchdog_Interval _Watchdog_Ticks_since_boot
The watchdog ticks counter.
Definition: watchdogtickssinceboot.c:29
_Watchdog_Microseconds_per_tick
const uint32_t _Watchdog_Microseconds_per_tick
The watchdog microseconds per tick.
_Watchdog_Nanoseconds_per_tick
const uint32_t _Watchdog_Nanoseconds_per_tick
The watchdog nanoseconds per tick.
_Watchdog_Ticks_per_second
const uint32_t _Watchdog_Ticks_per_second
The watchdog ticks per second.
Watchdog_Interval
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdogticks.h:38
_Watchdog_Ticks_per_timeslice
const uint32_t _Watchdog_Ticks_per_timeslice
The watchdog ticks per timeslice.
Definition: watchdogtimeslicedefault.c:34