FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/abb_core_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 | eba29cb0526c |
children | 05342cadbaf1 |
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_core_inth.c */ | 11 /* Filename : abb_core_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 "../../include/config.h" | 36 #include "../../include/config.h" |
37 #include "../../L1/include/l1_confg.h" | 37 #include "../../L1/include/l1_confg.h" |
38 #include "../../L1/include/l1_macro.h" | 38 #include "../../L1/include/l1_macro.h" |
39 | 39 |
77 | 77 |
78 /*-----------------------------------------------------------------------*/ | 78 /*-----------------------------------------------------------------------*/ |
79 /* Create_ABB_HISR() */ | 79 /* Create_ABB_HISR() */ |
80 /* */ | 80 /* */ |
81 /* This function is called from Layer1 during initialization process */ | 81 /* This function is called from Layer1 during initialization process */ |
82 /* to create the HISR associated to the ABB External Interrupt. */ | 82 /* to create the HISR associated to the ABB External Interrupt. */ |
83 /* */ | 83 /* */ |
84 /*-----------------------------------------------------------------------*/ | 84 /*-----------------------------------------------------------------------*/ |
85 void Create_ABB_HISR(void) | 85 void Create_ABB_HISR(void) |
86 { | 86 { |
87 // Fill the entire stack with the pattern 0xFE | 87 // Fill the entire stack with the pattern 0xFE |
96 | 96 |
97 /*-----------------------------------------------------------------------*/ | 97 /*-----------------------------------------------------------------------*/ |
98 /* Activate_ABB_HISR() */ | 98 /* Activate_ABB_HISR() */ |
99 /* */ | 99 /* */ |
100 /* This function is called from the interrupt handler to activate */ | 100 /* This function is called from the interrupt handler to activate */ |
101 /* the HISR associated to the ABB External Interrupt. */ | 101 /* the HISR associated to the ABB External Interrupt. */ |
102 /* */ | 102 /* */ |
103 /*-----------------------------------------------------------------------*/ | 103 /*-----------------------------------------------------------------------*/ |
104 SYS_BOOL Activate_ABB_HISR(void) | 104 SYS_BOOL Activate_ABB_HISR(void) |
105 { | 105 { |
106 if(NU_SUCCESS != NU_Activate_HISR(&ABB_Hisr)) | 106 if(NU_SUCCESS != NU_Activate_HISR(&ABB_Hisr)) |