comparison gsm-fw/bsp/rtc/rtc_handle_message.c @ 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 98be4841eeb7
comparison
equal deleted inserted replaced
158:97b671efff9c 159:3c42e6e5fc04
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 /*@}*/