source: rtems/c/src/lib/include/rtc.h @ df25c998

4.104.114.84.95
Last change on this file since df25c998 was d6a2d7ee, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 16, 2001 at 8:22:12 PM

2001-04-16 Joel Sherrill <joel@…>

  • include/rtc.h: New file.
  • include/Makefile.am: Updated to reflect above.
  • Property mode set to 100644
File size: 791 bytes
Line 
1/*  rtc.h
2 *
3 *  This file describes the Real-Time Clock driver for all boards.
4 *  This driver provides support for the standard RTEMS routines
5 *  that set the tod based on an RTC.
6 *
7 *  COPYRIGHT (c) 1989-2001.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef _RTC_DRIVER_h
18#define _RTC_DRIVER_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#define RTC_DRIVER_TABLE_ENTRY \
25  { rtc_initialize, NULL, NULL, NULL, NULL, NULL }
26
27rtems_device_driver rtc_initialize(
28  rtems_device_major_number,
29  rtems_device_minor_number,
30  void *
31);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif
38/* end of include file */
Note: See TracBrowser for help on using the repository browser.