source: rtems/cpukit/libcsupport/include/clockdrv.h @ 9ab091e

4.11
Last change on this file since 9ab091e was 9ab091e, checked in by Mathew Kallada <matkallada@…>, on Dec 28, 2012 at 4:35:32 PM

Header File Doxygen Enhancement Task #2

  • Property mode set to 100644
File size: 1016 bytes
Line 
1/**
2 * @file rtems/clockdrv.h
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.com/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.