source: rtems/c/src/lib/libbsp/m68k/mvme162/include/tod.h @ 6693a68

4.104.114.84.95
Last change on this file since 6693a68 was cfefaa6e, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 23, 1997 at 6:48:35 PM

Added TOD driver from Katsutoshi Shibuya.

  • Property mode set to 100644
File size: 1001 bytes
Line 
1/*
2 * Real Time Clock (MK48T08) for RTEMS on MVME162
3 *
4 *  Author:
5 *    COPYRIGHT (C) 1997
6 *    by Katsutoshi Shibuya - BU Denken Co.,Ltd. - Sapporo - JAPAN
7 *    ALL RIGHTS RESERVED
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  This material is a part of the MVME162 Board Support Package
14 *  for the RTEMS executive. Its licensing policies are those of the
15 *  RTEMS above.
16 *
17 *  $Id$
18 */
19
20
21#ifndef TOD_H
22#define TOD_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28extern void setRealTimeToRTEMS();
29/* Read real time from RTC and set it to RTEMS' clock manager */
30
31extern void setRealTimeFromRTEMS();
32/* Read time from RTEMS' clock manager and set it to RTC */
33
34extern int checkRealTime();
35/* Return the difference between RTC and RTEMS' clock manager time in minutes.
36   If the difference is greater than 1 day, this returns 9999. */
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
Note: See TracBrowser for help on using the repository browser.