source: rtems/cpukit/libcsupport/include/clockdrv.h @ d2b4fcd

4.104.114.84.95
Last change on this file since d2b4fcd was 4d3017a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/04 at 18:04:55

Add doxygen preamble.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @file rtems/clockdrv.h
3 */
4
5/*  clock.h
6 *
7 *  This file describes the Clock Driver for all boards.
8 *
9 *  COPYRIGHT (c) 1989-1999.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#ifndef __CLOCK_DRIVER_h
20#define __CLOCK_DRIVER_h
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/* variables */
27
28extern volatile uint32_t   Clock_driver_ticks;
29extern rtems_device_major_number rtems_clock_major;
30extern rtems_device_minor_number rtems_clock_minor;
31
32/* default clock driver entry */
33
34#define CLOCK_DRIVER_TABLE_ENTRY \
35  { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
36
37rtems_device_driver Clock_initialize(
38  rtems_device_major_number,
39  rtems_device_minor_number,
40  void *
41);
42
43rtems_device_driver Clock_control(
44  rtems_device_major_number major,
45  rtems_device_minor_number minor,
46  void *pargp
47);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif
54/* end of include file */
Note: See TracBrowser for help on using the repository browser.