FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/rtc/rtc_env.h @ 159:3c42e6e5fc04
gsm-fw/bsp/rtc: initial import from Leonardo TCS211 semi-src
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Nov 2013 22:10:10 +0000 |
parents | |
children | dbfc9ff4e8d2 |
comparison
equal
deleted
inserted
replaced
158:97b671efff9c | 159:3c42e6e5fc04 |
---|---|
1 /****************************************************************************/ | |
2 /* */ | |
3 /* File Name: rtc_env.h */ | |
4 /* */ | |
5 /* Purpose: This file contains prototypes for RV Environment related */ | |
6 /* functions used to get info, start and stop the rtc block. */ | |
7 /* */ | |
8 /* Version 0.1 */ | |
9 /* */ | |
10 /* Date Modification */ | |
11 /* ------------------------------------ */ | |
12 /* 03/20/1 Create */ | |
13 /* */ | |
14 /* Author Laurent Sollier */ | |
15 /* */ | |
16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ | |
17 /****************************************************************************/ | |
18 #ifndef __RTC_ENV_H_ | |
19 #define __RTC_ENV_H_ | |
20 | |
21 | |
22 #include "rvm/rvm_gen.h" | |
23 | |
24 #include "rtc/rtc_pool_size.h" /* Stack & Memory Bank sizes definitions */ | |
25 | |
26 | |
27 /* memory bank size and watermark */ | |
28 #define RTC_MB_PRIM_SIZE RTC_MB1_SIZE | |
29 #define RTC_MB_PRIM_WATERMARK (RTC_MB_PRIM_SIZE - 20) | |
30 | |
31 /* generic functions declarations */ | |
32 T_RVM_RETURN rtc_get_info (T_RVM_INFO_SWE *infoSWE); | |
33 | |
34 T_RVM_RETURN rtc_set_info(T_RVF_ADDR_ID addrId, | |
35 T_RV_RETURN return_path[], | |
36 T_RVF_MB_ID mbId[], | |
37 T_RVM_RETURN (*callBackFct) ( T_RVM_NAME SWEntName, | |
38 T_RVM_RETURN errorCause, | |
39 T_RVM_ERROR_TYPE errorType, | |
40 T_RVM_STRING errorMsg) ); | |
41 | |
42 T_RVM_RETURN rtc_init (void); | |
43 | |
44 T_RVM_RETURN rtc_stop (void); | |
45 | |
46 T_RVM_RETURN rtc_kill (void); | |
47 | |
48 | |
49 #endif /*__RTC_ENV_H_*/ | |
50 |