FreeCalypso > hg > leo2moko-debug
comparison chipsetsw/services/mks/mks_handle_timer.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 mks_handle_timer.c | |
3 * | |
4 * Coding of the mks_handle_timer function, which is called when a timer | |
5 * of the SWE expires. | |
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 * 11/19/2001 L Sollier Create | |
17 * | |
18 * | |
19 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved | |
20 */ | |
21 | |
22 #include "mks/mks_i.h" | |
23 | |
24 #include "rv/rv_general.h" | |
25 #include "rvm/rvm_use_id_list.h" | |
26 | |
27 /** | |
28 * @name Functions implementation | |
29 * | |
30 */ | |
31 /*@{*/ | |
32 | |
33 /** | |
34 * function: mks_handle_timer | |
35 */ | |
36 T_RV_RET mks_handle_timer(UINT8 timer_num) | |
37 { | |
38 if (timer_num == RVF_TIMER_0) | |
39 { | |
40 mks_reset_sequence(); | |
41 } | |
42 else | |
43 { | |
44 MKS_SEND_TRACE("MKS: Unexepected Timer expired", RV_TRACE_LEVEL_ERROR); | |
45 } | |
46 | |
47 return RV_OK; | |
48 } | |
49 | |
50 /*@}*/ |