diff gsm-fw/bsp/rtc/rtc_api.h @ 160:dbfc9ff4e8d2

gsm-fw: starting to compile RTC code
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 22:52:52 +0000
parents 3c42e6e5fc04
children
line wrap: on
line diff
--- a/gsm-fw/bsp/rtc/rtc_api.h	Sun Nov 17 22:10:10 2013 +0000
+++ b/gsm-fw/bsp/rtc/rtc_api.h	Sun Nov 17 22:52:52 2013 +0000
@@ -1,44 +1,44 @@
-/********************************************************************************/
-/*                                                                              */
-/*      File Name:   rtc_functions.h                                            */
-/*                                                                              */
-/*      Purpose:   This file contains prototypes of RTC's internal functions.   */
-/*                                                                              */
-/*      Note:      None.                                                        */
-/*                                                                              */
-/*      Revision History:                                                       */
-/*      03/20/01   Laurent Sollier      Create.                                 */
-/*                                                                              */
-/*   (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved  */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*    File Name:   rtc_functions.h                                            */
+/*                                                                            */
+/*    Purpose:   This file contains prototypes of RTC's internal functions.   */
+/*                                                                            */
+/*    Note:      None.                                                        */
+/*                                                                            */
+/*    Revision History:                                                       */
+/*    03/20/01   Laurent Sollier      Create.                                 */
+/*                                                                            */
+/* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved  */
+/*                                                                            */
+/******************************************************************************/
 
 #ifndef _RTC_FUNCTIONS_H_
 #define _RTC_FUNCTIONS_H_
 
-#include "rvf/rvf_api.h"
+#include "../../riviera/rvf/rvf_api.h"
 
 
-/********************************************************************************/
-/*                                                                              */
-/*   Generic functions declarations.                                            */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*   Generic functions declarations.                                          */
+/*                                                                            */
+/******************************************************************************/
 
 
 
 /* Structure containing date and time */
-typedef struct {  UINT8   second;      /* seconds after the minute   - [0,59]  */
-                  UINT8   minute;      /* minutes after the hour      - [0,59]  */
-                  UINT8   hour;        /* hours after the midnight   - [0,23]  */
-                  UINT8   day;         /* day of the month            - [1,31]  */
-                  UINT8   month;       /* months                     - [01,12] */
-                  UINT8   year;        /* years                        - [00,99] */
-                  UINT8   wday;        /* days in a week               - [0,6] */
-                  BOOL   mode_12_hour; /* TRUE->12 hour mode ; FALSE-> 24 hour mode */
-                  BOOL   PM_flag;      /* if 12 hour flag = TRUE
-                                             TRUE->PM ; FALSE->AM */
-               } T_RTC_DATE_TIME;
+typedef struct {
+	UINT8   second;      /* seconds after the minute   - [0,59]  */
+	UINT8   minute;      /* minutes after the hour      - [0,59]  */
+	UINT8   hour;        /* hours after the midnight   - [0,23]  */
+	UINT8   day;         /* day of the month            - [1,31]  */
+	UINT8   month;       /* months                     - [01,12] */
+	UINT8   year;        /* years                        - [00,99] */
+	UINT8   wday;        /* days in a week               - [0,6] */
+	BOOL   mode_12_hour; /* TRUE->12 hour mode ; FALSE-> 24 hour mode */
+	BOOL   PM_flag;      /* if 12 hour flag = TRUE: TRUE->PM ; FALSE->AM */
+} T_RTC_DATE_TIME;
 
 
 /*******************************************************************************