source: rtems/cpukit/include/rtems/score/watchdogticks.h @ 4c20da4b

5
Last change on this file since 4c20da4b was 4c20da4b, checked in by Sebastian Huber <sebastian.huber@…>, on 04/04/19 at 07:18:11

doxygen: Rename Score* groups in RTEMSScore*

Update #3706

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSScoreWatchdog
5 */
6
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
22extern "C" {
23#endif
24
25/**
26 * @addtogroup RTEMSScoreWatchdog
27 *
28 * @{
29 */
30
31/**
32 *  @brief Type is used to specify the length of intervals.
33 *
34 *  This type is used to specify the length of intervals.
35 */
36typedef uint32_t   Watchdog_Interval;
37
38/**
39 * @brief Special watchdog ticks value to indicate an infinite wait.
40 */
41#define WATCHDOG_NO_TIMEOUT 0
42
43/**
44 * @brief The watchdog ticks counter.
45 *
46 * With a 1ms watchdog tick, this counter overflows after 50 days since boot.
47 */
48extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
49
50/**
51 * @brief The watchdog nanoseconds per tick.
52 *
53 * This constant is defined by the application configuration via
54 * <rtems/confdefs.h>.
55 */
56extern const uint32_t _Watchdog_Nanoseconds_per_tick;
57
58/**
59 * @brief The watchdog ticks per second.
60 *
61 * This constant is defined by the application configuration via
62 * <rtems/confdefs.h>.
63 */
64extern const uint32_t _Watchdog_Ticks_per_second;
65
66/** @} */
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
73/* end of include file */
Note: See TracBrowser for help on using the repository browser.