FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/abb_inline.h @ 587:cc0944d35698
gsm-fw/bsp/abb+spi/*.h: formatting fixes (line length and tabs)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 00:08:50 +0000 |
parents | 971e84124a6f |
children |
comparison
equal
deleted
inserted
replaced
586:25a3095e8a98 | 587:cc0944d35698 |
---|---|
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_inline.h */ | 11 /* Filename : abb_inline.h */ |
12 /* */ | 12 /* */ |
13 /* Description : inline functions to drive the ABB device. */ | 13 /* Description : inline functions to drive the ABB device. */ |
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. */ | 17 /* device 0. */ |
18 /* */ | 18 /* */ |
19 /* Author : Pascal PUEL */ | 19 /* Author : Pascal PUEL */ |
20 /* */ | 20 /* */ |
21 /* Version number : 1.0 */ | 21 /* Version number : 1.0 */ |
22 /* */ | 22 /* */ |
23 /* Date and time : Dec 2002 */ | 23 /* Date and time : Dec 2002 */ |
24 /* */ | 24 /* */ |
25 /* Previous delta : Creation */ | 25 /* Previous delta : Creation */ |
26 /* */ | 26 /* */ |
27 /**********************************************************************************/ | 27 /******************************************************************************/ |
28 | 28 |
29 #ifndef __ABB_INLINE_H__ | 29 #ifndef __ABB_INLINE_H__ |
30 #define __ABB_INLINE_H__ | 30 #define __ABB_INLINE_H__ |
31 | 31 |
32 #include "../../include/config.h" | 32 #include "../../include/config.h" |
92 | 92 |
93 /*-----------------------------------------------------------------------*/ | 93 /*-----------------------------------------------------------------------*/ |
94 /* ABB_ReadRegister() */ | 94 /* ABB_ReadRegister() */ |
95 /* */ | 95 /* */ |
96 /* This function reads the ABB register "abb_reg" and returns */ | 96 /* This function reads the ABB register "abb_reg" and returns */ |
97 /* the real register value. */ | 97 /* the real register value. */ |
98 /* */ | 98 /* */ |
99 /*-----------------------------------------------------------------------*/ | 99 /*-----------------------------------------------------------------------*/ |
100 static inline SYS_UWORD16 ABB_ReadRegister(SYS_UWORD16 abb_reg) | 100 static inline SYS_UWORD16 ABB_ReadRegister(SYS_UWORD16 abb_reg) |
101 { | 101 { |
102 volatile SYS_UWORD16 status; | 102 volatile SYS_UWORD16 status; |