FreeCalypso > hg > leo2moko-debug
comparison chipsetsw/drivers/drv_app/rtc/rtc_env.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
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 |