FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/abb_inth.c @ 588:1c0033c2fe33
gsm-fw/bsp/abb+spi/abb*.c: formatting fixes (line length and tabs)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 00:35:56 +0000 |
parents | 63750f70796d |
children | 6fd70825db76 |
comparison
equal
deleted
inserted
replaced
587:cc0944d35698 | 588:1c0033c2fe33 |
---|---|
1 /**********************************************************************************/ | 1 /******************************************************************************/ |
2 /* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ | 2 /* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ |
3 /* */ | 3 /* */ |
4 /* Property of Texas Instruments -- For Unrestricted Internal Use Only */ | 4 /* Property of Texas Instruments -- For Unrestricted Internal Use Only */ |
5 /* Unauthorized reproduction and/or distribution is strictly prohibited. This */ | 5 /* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ |
6 /* product is protected under copyright law and trade secret law as an */ | 6 /* product is protected under copyright law and trade secret law as an*/ |
7 /* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ | 7 /* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ |
8 /* rights reserved. */ | 8 /* rights reserved. */ |
9 /* */ | 9 /* */ |
10 /* */ | 10 /* */ |
11 /* Filename : abb_inth.c */ | 11 /* Filename : abb_inth.c */ |
12 /* */ | 12 /* */ |
13 /* Description : Functions to manage the ABB device interrupt. */ | 13 /* Description : Functions to manage the ABB device interrupt. */ |
14 /* The Serial Port Interface is used to connect the TI */ | 14 /* The Serial Port Interface is used to connect the TI */ |
15 /* Analog BaseBand (ABB). */ | 15 /* Analog BaseBand (ABB). */ |
16 /* It is assumed that the ABB is connected as the SPI */ | 16 /* It is assumed that the ABB is connected as the SPI */ |
17 /* device 0, and ABB interrupt is mapped as external IT. */ | 17 /* device 0, and ABB interrupt is mapped as external IT. */ |
18 /* */ | 18 /* */ |
19 /* Author : Pascal PUEL */ | 19 /* Author : Pascal PUEL */ |
20 /* */ | 20 /* */ |
21 /* Version number : 1.2 */ | 21 /* Version number : 1.2 */ |
22 /* */ | 22 /* */ |
23 /* Date and time : 07/02/03 */ | 23 /* Date and time : 07/02/03 */ |
24 /* */ | 24 /* */ |
25 /* Previous delta : Creation */ | 25 /* Previous delta : Creation */ |
26 /* */ | 26 /* */ |
27 /**********************************************************************************/ | 27 /******************************************************************************/ |
28 /* */ | 28 /* */ |
29 /* 17/12/03 */ | 29 /* 17/12/03 */ |
30 /* The original abb_inth.c has been splitted between the actual abb_inth.c */ | 30 /* The original abb_inth.c has been splitted between the actual abb_inth.c */ |
31 /* located in drv_apps directory and abb_inth_core.c located in drv_core */ | 31 /* located in drv_apps directory and abb_inth_core.c located in drv_core */ |
32 /* directory. */ | 32 /* directory. */ |
33 /* */ | 33 /* */ |
34 /**********************************************************************************/ | 34 /******************************************************************************/ |
35 | 35 |
36 #include "l1sw.cfg" | 36 #include "l1sw.cfg" |
37 #include "chipset.cfg" | 37 #include "chipset.cfg" |
38 #include "swconfig.cfg" | 38 #include "swconfig.cfg" |
39 #include "sys.cfg" | 39 #include "sys.cfg" |
73 #include "lcc/lcc_api.h" | 73 #include "lcc/lcc_api.h" |
74 #include "lcc/lcc_cfg_i.h" | 74 #include "lcc/lcc_cfg_i.h" |
75 #include "lcc/lcc.h" | 75 #include "lcc/lcc.h" |
76 #include "lcc/lcc_env.h" | 76 #include "lcc/lcc_env.h" |
77 #endif | 77 #endif |
78 /********************************************************************************/ | 78 /******************************************************************************/ |
79 /* */ | 79 /* */ |
80 /* Function Name: spi_abb_read_int_reg_callback */ | 80 /* Function Name: spi_abb_read_int_reg_callback */ |
81 /* */ | 81 /* */ |
82 /* Purpose: Callback function */ | 82 /* Purpose: Callback function */ |
83 /* Called when an external interrupt has occured and the */ | 83 /* Called when an external interrupt has occured and the */ |
84 /* ABB interrupt register has been read. */ | 84 /* ABB interrupt register has been read. */ |
85 /* */ | 85 /* */ |
86 /********************************************************************************/ | 86 /******************************************************************************/ |
87 void spi_abb_read_int_reg_callback(SYS_UWORD16 *read_value) | 87 void spi_abb_read_int_reg_callback(SYS_UWORD16 *read_value) |
88 { | 88 { |
89 SYS_UWORD16 loop_count; | 89 SYS_UWORD16 loop_count; |
90 SYS_UWORD16 status_value; | 90 SYS_UWORD16 status_value; |
91 xSignalHeaderRec *adc_msg; | 91 xSignalHeaderRec *adc_msg; |