source: rtems/c/src/lib/libbsp/powerpc/score603e/include/tod.h @ f05b2ac

4.104.114.84.95
Last change on this file since f05b2ac was f05b2ac, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 16:01:48

Remove duplicate white lines.

  • Property mode set to 100644
File size: 860 bytes
Line 
1/*
2 * Real Time Clock (MK48T08) for RTEMS on Score603e
3 *
4 *  Based on MVME162 TOD by:
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.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#ifndef TOD_H
17#define TOD_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23extern void setRealTimeToRTEMS();
24/* Read real time from RTC and set it to RTEMS' clock manager */
25
26extern void setRealTimeFromRTEMS();
27/* Read time from RTEMS' clock manager and set it to RTC */
28
29extern int checkRealTime();
30/* Return the difference between RTC and RTEMS' clock manager time in minutes.
31   If the difference is greater than 1 day, this returns 9999. */
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif
Note: See TracBrowser for help on using the repository browser.