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

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 999 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;
30extern rtems_device_major_number rtems_clock_major;
31extern rtems_device_minor_number rtems_clock_minor;
32
33/* default clock driver entry */
34
35#define CLOCK_DRIVER_TABLE_ENTRY \
36  { Clock_initialize, NULL, NULL, NULL, NULL, NULL }
37
38rtems_device_driver Clock_initialize(
39  rtems_device_major_number,
40  rtems_device_minor_number,
41  void *
42);
43
44void Clock_exit(void);
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.