source: rtems/cpukit/include/rtems/clockdrv.h @ ab304f4

5
Last change on this file since ab304f4 was 92b6f6e9, checked in by Joel Sherrill <joel@…>, on 03/30/16 at 13:14:56

Move various driver interface definition headers file libcsupport/ to include/

These were in libcsupport for historical reasons and the placement
no longer made sense.

As part of this move, some of the files were placed under subdirectories
which reflect their installed location.

Thank you git for allowing us to move files. Years of CVS resulted
in files being somewhere they no longer belonged.

  • Property mode set to 100644
File size: 895 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Clock Driver for all Boards
5 *
6 * This file describes the Clock Driver for all boards.
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2011.
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_CLOCKDRV_H
19#define _RTEMS_CLOCKDRV_H
20
21#include <rtems/io.h> /* rtems_device_driver */
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* variables */
28
29extern volatile uint32_t   Clock_driver_ticks;
30
31/* default clock driver entry */
32
33#define CLOCK_DRIVER_TABLE_ENTRY \
34  { Clock_initialize, NULL, NULL, NULL, NULL, NULL }
35
36rtems_device_driver Clock_initialize(
37  rtems_device_major_number,
38  rtems_device_minor_number,
39  void *
40);
41
42void Clock_exit(void);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
49/* end of include file */
Note: See TracBrowser for help on using the repository browser.