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

4.104.114.84.95
Last change on this file since 4de102cc was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

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