OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [mvme162/] [include/] [tod.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: tod.h,v 1.2 2001-09-27 12:00:18 chris Exp $
18
 */
19
 
20
 
21
#ifndef TOD_H
22
#define TOD_H
23
 
24
#ifdef __cplusplus
25
extern "C" {
26
#endif
27
 
28
extern void setRealTimeToRTEMS();
29
/* Read real time from RTC and set it to RTEMS' clock manager */
30
 
31
extern void setRealTimeFromRTEMS();
32
/* Read time from RTEMS' clock manager and set it to RTC */
33
 
34
extern 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.