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
RevLine 
[4d3017a]1/**
2 * @file rtems/clockdrv.h
[21242c2]3 *
[9ab091e]4 * @brief Clock Driver for all Boards
5 *
[21242c2]6 * This file describes the Clock Driver for all boards.
[4d3017a]7 */
8
[21242c2]9/*
10 *  COPYRIGHT (c) 1989-2011.
[ac7d5ef0]11 *  On-Line Applications Research Corporation (OAR).
12 *
[98e4ebf]13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
[0eae36c7]15 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]16 */
17
[7945944]18#ifndef _RTEMS_CLOCKDRV_H
19#define _RTEMS_CLOCKDRV_H
[ac7d5ef0]20
[253dde0]21#include <rtems/io.h> /* rtems_device_driver */
22
[ac7d5ef0]23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* variables */
28
[83c5fc1]29extern volatile uint32_t   Clock_driver_ticks;
[b06e68ef]30extern rtems_device_major_number rtems_clock_major;
31extern rtems_device_minor_number rtems_clock_minor;
[ac7d5ef0]32
[b06e68ef]33/* default clock driver entry */
[ac7d5ef0]34
35#define CLOCK_DRIVER_TABLE_ENTRY \
[16bd644c]36  { Clock_initialize, NULL, NULL, NULL, NULL, NULL }
[50f32b11]37
[ac7d5ef0]38rtems_device_driver Clock_initialize(
39  rtems_device_major_number,
40  rtems_device_minor_number,
[b06e68ef]41  void *
42);
43
[639e131]44void Clock_exit(void);
45
[ac7d5ef0]46#ifdef __cplusplus
47}
48#endif
49
50#endif
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.