FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/rtc/rtc_handle_message.c @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:23:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4e78acac3d88 |
|---|---|
| 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 /*@}*/ |
