FreeCalypso > hg > tcs211-c139
comparison chipsetsw/drivers/drv_app/rtc/rtc_handle_message.c @ 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 * @file rtc_handle_msg.c | |
3 * | |
4 * Coding of the rtc_handle_msg function, which is called when the SWE | |
5 * receives a new message. | |
6 * | |
7 * @author Laurent Sollier (l-sollier@ti.com) | |
8 * @version 0.1 | |
9 */ | |
10 | |
11 /* | |
12 * History: | |
13 * | |
14 * Date Author Modification | |
15 * ------------------------------------ | |
16 * 10/24/2001 L Sollier Create | |
17 * | |
18 * | |
19 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved | |
20 */ | |
21 | |
22 | |
23 #include "rv/rv_general.h" | |
24 #include "rvf/rvf_api.h" | |
25 #include "rvm/rvm_use_id_list.h" | |
26 | |
27 | |
28 /* External declaration */ | |
29 extern void rtc_process(T_RV_HDR * msg_ptr); | |
30 | |
31 /** | |
32 * @name Functions implementation | |
33 * | |
34 */ | |
35 /*@{*/ | |
36 | |
37 /** | |
38 * function: rtc_handle_msg | |
39 */ | |
40 UINT8 rtc_handle_msg(T_RV_HDR* msg_p) | |
41 { | |
42 if (msg_p != NULL) | |
43 { | |
44 rtc_process(msg_p); | |
45 } | |
46 | |
47 return RV_OK; | |
48 } | |
49 | |
50 /*@}*/ |