source: rtems/c/src/lib/include/clockdrv.h @ b06e68ef

4.104.114.84.95
Last change on this file since b06e68ef was b06e68ef, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 17, 1995 at 7:51:51 PM

Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:

+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  clock.h
2 *
3 *  This file describes the Clock Driver for all boards.
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  $Id$
14 */
15
16#ifndef __CLOCK_DRIVER_h
17#define __CLOCK_DRIVER_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* variables */
24
25extern volatile rtems_unsigned32 Clock_driver_ticks;
26extern rtems_device_major_number rtems_clock_major;
27extern rtems_device_minor_number rtems_clock_minor;
28
29/* default clock driver entry */
30
31#define CLOCK_DRIVER_TABLE_ENTRY \
32  { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
33 
34rtems_device_driver Clock_initialize(
35  rtems_device_major_number,
36  rtems_device_minor_number,
37  void *
38);
39
40rtems_device_driver Clock_control(
41  rtems_device_major_number major,
42  rtems_device_minor_number minor,
43  void *pargp
44);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.