FreeCalypso > hg > freecalypso-sw
changeset 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 | 25a3095e8a98 |
children | 1c0033c2fe33 |
files | gsm-fw/bsp/abb+spi/abb.h gsm-fw/bsp/abb+spi/abb_core_inth.h gsm-fw/bsp/abb+spi/abb_inline.h gsm-fw/bsp/abb+spi/abb_inth.h gsm-fw/bsp/abb+spi/spi_api.h gsm-fw/bsp/abb+spi/spi_drv.h gsm-fw/bsp/abb+spi/spi_pool_size.h gsm-fw/bsp/abb+spi/spi_process.h gsm-fw/bsp/abb+spi/spi_task.h |
diffstat | 9 files changed, 266 insertions(+), 266 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/abb.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/abb.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,31 +1,31 @@ -/**********************************************************************************/ -/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ -/* */ -/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ -/* Unauthorized reproduction and/or distribution is strictly prohibited. This */ -/* product is protected under copyright law and trade secret law as an */ -/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ -/* rights reserved. */ -/* */ -/* */ -/* Filename : abb.h */ -/* */ -/* Description : Analog BaseBand registers and bits definition. */ -/* Functions to drive the ABB device. */ -/* The Serial Port Interface is used to connect the TI */ -/* Analog BaseBand (ABB). */ -/* It is assumed that the ABB is connected as the SPI */ -/* device 0. */ -/* */ -/* Author : Pascal PUEL */ -/* */ -/* Version number : 1.3 */ -/* */ -/* Date and time : 08/22/03 */ -/* */ -/* Previous delta : Creation */ -/* */ -/**********************************************************************************/ +/******************************************************************************/ +/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ +/* */ +/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ +/* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ +/* product is protected under copyright law and trade secret law as an*/ +/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ +/* rights reserved. */ +/* */ +/* */ +/* Filename : abb.h */ +/* */ +/* Description : Analog BaseBand registers and bits definition. */ +/* Functions to drive the ABB device. */ +/* The Serial Port Interface is used to connect the TI */ +/* Analog BaseBand (ABB). */ +/* It is assumed that the ABB is connected as the SPI */ +/* device 0. */ +/* */ +/* Author : Pascal PUEL */ +/* */ +/* Version number : 1.3 */ +/* */ +/* Date and time : 08/22/03 */ +/* */ +/* Previous delta : Creation */ +/* */ +/******************************************************************************/ #ifndef __ABB_H__ #define __ABB_H__
--- a/gsm-fw/bsp/abb+spi/abb_core_inth.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/abb_core_inth.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,37 +1,37 @@ -/**********************************************************************************/ -/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ -/* */ -/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ -/* Unauthorized reproduction and/or distribution is strictly prohibited. This */ -/* product is protected under copyright law and trade secret law as an */ -/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ -/* rights reserved. */ -/* */ -/* */ -/* Filename : abb_core_inth.h */ -/* */ -/* Description : Functions to manage the ABB device interrupt. */ -/* The Serial Port Interface is used to connect the TI */ -/* Analog BaseBand (ABB). */ -/* It is assumed that the ABB is connected as the SPI */ -/* device 0, and ABB interrupt is mapped as external IT. */ -/* */ -/* Author : Pascal PUEL */ -/* */ -/* Version number : 1.0 */ -/* */ -/* Date and time : Jan 2003 */ -/* */ -/* Previous delta : Creation */ -/* */ -/**********************************************************************************/ -/* */ -/* 17/12/03 */ -/* The original abb_inth.h has been splitted between the actual abb_inth.h */ -/* located in drv_apps directory and abb_inth_core.h located in drv_core */ -/* directory. */ -/* */ -/**********************************************************************************/ +/******************************************************************************/ +/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ +/* */ +/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ +/* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ +/* product is protected under copyright law and trade secret law as an*/ +/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ +/* rights reserved. */ +/* */ +/* */ +/* Filename : abb_core_inth.h */ +/* */ +/* Description : Functions to manage the ABB device interrupt. */ +/* The Serial Port Interface is used to connect the TI */ +/* Analog BaseBand (ABB). */ +/* It is assumed that the ABB is connected as the SPI */ +/* device 0, and ABB interrupt is mapped as external IT. */ +/* */ +/* Author : Pascal PUEL */ +/* */ +/* Version number : 1.0 */ +/* */ +/* Date and time : Jan 2003 */ +/* */ +/* Previous delta : Creation */ +/* */ +/******************************************************************************/ +/* */ +/* 17/12/03 */ +/* The original abb_inth.h has been splitted between the actual abb_inth.h */ +/* located in drv_apps directory and abb_inth_core.h located in drv_core */ +/* directory. */ +/* */ +/******************************************************************************/ #ifndef __ABB_CORE_INTH_H__ #define __ABB_CORE_INTH_H__
--- a/gsm-fw/bsp/abb+spi/abb_inline.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/abb_inline.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,30 +1,30 @@ -/**********************************************************************************/ -/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ -/* */ -/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ -/* Unauthorized reproduction and/or distribution is strictly prohibited. This */ -/* product is protected under copyright law and trade secret law as an */ -/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ -/* rights reserved. */ -/* */ -/* */ -/* Filename : abb_inline.h */ -/* */ -/* Description : inline functions to drive the ABB device. */ -/* The Serial Port Interface is used to connect the TI */ -/* Analog BaseBand (ABB). */ -/* It is assumed that the ABB is connected as the SPI */ -/* device 0. */ -/* */ -/* Author : Pascal PUEL */ -/* */ -/* Version number : 1.0 */ -/* */ -/* Date and time : Dec 2002 */ -/* */ -/* Previous delta : Creation */ -/* */ -/**********************************************************************************/ +/******************************************************************************/ +/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ +/* */ +/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ +/* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ +/* product is protected under copyright law and trade secret law as an*/ +/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ +/* rights reserved. */ +/* */ +/* */ +/* Filename : abb_inline.h */ +/* */ +/* Description : inline functions to drive the ABB device. */ +/* The Serial Port Interface is used to connect the TI */ +/* Analog BaseBand (ABB). */ +/* It is assumed that the ABB is connected as the SPI */ +/* device 0. */ +/* */ +/* Author : Pascal PUEL */ +/* */ +/* Version number : 1.0 */ +/* */ +/* Date and time : Dec 2002 */ +/* */ +/* Previous delta : Creation */ +/* */ +/******************************************************************************/ #ifndef __ABB_INLINE_H__ #define __ABB_INLINE_H__ @@ -94,7 +94,7 @@ /* ABB_ReadRegister() */ /* */ /* This function reads the ABB register "abb_reg" and returns */ -/* the real register value. */ +/* the real register value. */ /* */ /*-----------------------------------------------------------------------*/ static inline SYS_UWORD16 ABB_ReadRegister(SYS_UWORD16 abb_reg)
--- a/gsm-fw/bsp/abb+spi/abb_inth.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/abb_inth.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,38 +1,38 @@ -/**********************************************************************************/ -/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ -/* */ -/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ -/* Unauthorized reproduction and/or distribution is strictly prohibited. This */ -/* product is protected under copyright law and trade secret law as an */ -/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ -/* rights reserved. */ -/* */ -/* */ -/* Filename : abb_inth.h */ -/* */ -/* Description : Functions to manage the ABB device interrupt. */ -/* The Serial Port Interface is used to connect the TI */ -/* Analog BaseBand (ABB). */ -/* It is assumed that the ABB is connected as the SPI */ -/* device 0, and ABB interrupt is mapped as external IT. */ -/* */ -/* Author : Pascal PUEL */ -/* */ -/* Version number : 1.0 */ -/* */ -/* Date and time : Jan 2003 */ -/* */ -/* Previous delta : Creation */ -/* */ -/**********************************************************************************/ -/* */ -/* 17/12/03 */ -/* The original abb_inth.h has been splitted between the actual abb_inth.h */ -/* located in drv_apps directory and abb_inth_core.h located in drv_core */ -/* directory. */ -/* abb_core_inth.h must be included in abb_inth.h. */ -/* */ -/**********************************************************************************/ +/******************************************************************************/ +/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ +/* */ +/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ +/* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ +/* product is protected under copyright law and trade secret law as an*/ +/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ +/* rights reserved. */ +/* */ +/* */ +/* Filename : abb_inth.h */ +/* */ +/* Description : Functions to manage the ABB device interrupt. */ +/* The Serial Port Interface is used to connect the TI */ +/* Analog BaseBand (ABB). */ +/* It is assumed that the ABB is connected as the SPI */ +/* device 0, and ABB interrupt is mapped as external IT. */ +/* */ +/* Author : Pascal PUEL */ +/* */ +/* Version number : 1.0 */ +/* */ +/* Date and time : Jan 2003 */ +/* */ +/* Previous delta : Creation */ +/* */ +/******************************************************************************/ +/* */ +/* 17/12/03 */ +/* The original abb_inth.h has been splitted between the actual abb_inth.h */ +/* located in drv_apps directory and abb_inth_core.h located in drv_core */ +/* directory. */ +/* abb_core_inth.h must be included in abb_inth.h. */ +/* */ +/******************************************************************************/ #ifndef __ABB_INTH_H__ #define __ABB_INTH_H__
--- a/gsm-fw/bsp/abb+spi/spi_api.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_api.h Sun Aug 17 00:08:50 2014 +0000 @@ -82,96 +82,96 @@ /* Prototypes */ -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_write */ -/* */ -/* Purpose: This function is used to send to the SPI mailbox a */ -/* WRITE REGISTER rqst msg. */ -/* */ -/* Input Parameters: */ -/* - page : ABB Page where to read the register. */ -/* - address : address of the ABB register to read. */ -/* - data : data to write in the ABB register */ -/* */ -/* Return : */ -/* - RVM_NOT_READY : the SPI task is not ready */ -/* - RV_MEMORY_ERR : the SPI task has not enough memory */ -/* - RV_OK : normal processing */ -/* */ -/* Note: */ -/* None. */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_write */ +/* */ +/* Purpose: This function is used to send to the SPI mailbox a */ +/* WRITE REGISTER rqst msg. */ +/* */ +/* Input Parameters: */ +/* - page : ABB Page where to read the register. */ +/* - address : address of the ABB register to read. */ +/* - data : data to write in the ABB register */ +/* */ +/* Return : */ +/* - RVM_NOT_READY : the SPI task is not ready */ +/* - RV_MEMORY_ERR : the SPI task has not enough memory */ +/* - RV_OK : normal processing */ +/* */ +/* Note: */ +/* None. */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_write(UINT16 page, UINT16 address, UINT16 data); -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_read */ -/* */ -/* Purpose: This function is used to send a READ REGISTER rqst msg */ -/* to the SPI mailbox. */ -/* */ -/* Input Parameters: */ -/* - page : ABB Page where to read the register. */ -/* - address : address of the ABB register to read. */ -/* - CallBack : callback function called by the spi task */ -/* at the end of the read process. */ -/* */ -/* Return : */ -/* - RVM_NOT_READY : the SPI task is not ready */ -/* - RV_MEMORY_ERR : the SPI task has not enough memory */ -/* - RV_OK : normal processing */ -/* */ -/* Note: */ -/* None. */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_read */ +/* */ +/* Purpose: This function is used to send a READ REGISTER rqst msg */ +/* to the SPI mailbox. */ +/* */ +/* Input Parameters: */ +/* - page : ABB Page where to read the register. */ +/* - address : address of the ABB register to read. */ +/* - CallBack : callback function called by the spi task */ +/* at the end of the read process. */ +/* */ +/* Return : */ +/* - RVM_NOT_READY : the SPI task is not ready */ +/* - RV_MEMORY_ERR : the SPI task has not enough memory */ +/* - RV_OK : normal processing */ +/* */ +/* Note: */ +/* None. */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_read(UINT16 page, UINT16 address, CALLBACK_FUNC_U16 CallBack); -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_conf_ADC */ -/* */ -/* Purpose: This function is used to send to the SPI mailbox a rqst msg */ -/* for configuring ABB MADC for conversions. */ -/* */ -/* Input Parameters: */ -/* - channels : ABB channels to be converted. */ -/* - itval : configure the End Of Conversion IT. */ -/* */ -/* Return : */ -/* - RVM_NOT_READY : the SPI task is not ready */ -/* - RV_MEMORY_ERR : the SPI task has not enough memory */ -/* - RV_OK : normal processing */ -/* */ -/* Note: */ -/* None. */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_conf_ADC */ +/* */ +/* Purpose: This function is used to send to the SPI mailbox a rqst msg*/ +/* for configuring ABB MADC for conversions. */ +/* */ +/* Input Parameters: */ +/* - channels : ABB channels to be converted. */ +/* - itval : configure the End Of Conversion IT. */ +/* */ +/* Return : */ +/* - RVM_NOT_READY : the SPI task is not ready */ +/* - RV_MEMORY_ERR : the SPI task has not enough memory */ +/* - RV_OK : normal processing */ +/* */ +/* Note: */ +/* None. */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_conf_ADC(UINT16 channels, UINT16 itval); -/********************************************************************************/ -/* */ -/* Function Name: spi_abb_read_ADC */ -/* */ -/* Purpose: This function is used to send to the SPI mailbox a rqst msg */ -/* for reading the ABB ADC results. */ -/* */ -/* Input Parameters: */ -/* - Buff : pointer to the buffer filled with ADC results. */ -/* - CallBack : callback function called by the spi task */ -/* at the end of the read process. */ -/* */ -/* Return : */ -/* - RVM_NOT_READY : the SPI task is not ready */ -/* - RV_MEMORY_ERR : the SPI task has not enough memory */ -/* - RV_OK : normal processing */ -/* */ -/* Note: */ -/* None. */ -/* */ -/********************************************************************************/ +/******************************************************************************/ +/* */ +/* Function Name: spi_abb_read_ADC */ +/* */ +/* Purpose: This function is used to send to the SPI mailbox a rqst msg*/ +/* for reading the ABB ADC results. */ +/* */ +/* Input Parameters: */ +/* - Buff : pointer to the buffer filled with ADC results.*/ +/* - CallBack : callback function called by the spi task */ +/* at the end of the read process. */ +/* */ +/* Return : */ +/* - RVM_NOT_READY : the SPI task is not ready */ +/* - RV_MEMORY_ERR : the SPI task has not enough memory */ +/* - RV_OK : normal processing */ +/* */ +/* Note: */ +/* None. */ +/* */ +/******************************************************************************/ T_RV_RET spi_abb_read_ADC(UINT16 *Buff, CALLBACK_FUNC_NO_PARAM CallBack); #endif /* __SPI_API_H_ */
--- a/gsm-fw/bsp/abb+spi/spi_drv.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_drv.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,44 +1,44 @@ -/**********************************************************************************/ -/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ -/* */ -/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ -/* Unauthorized reproduction and/or distribution is strictly prohibited. This */ -/* product is protected under copyright law and trade secret law as an */ -/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All */ -/* rights reserved. */ -/* */ -/* */ -/* Filename : spi_drv.h */ -/* */ -/* Description : SPI registers and bits definitions. */ -/* Functions and macros to drive the SPI module. */ -/* The Serial Port Interface is a bidirectional 3 lines */ -/* interface dedicated to the transfer of data to and */ -/* from up to 5 external devices offering a 3 lines */ -/* serial interface. */ -/* In this project, it is only used to connect the TI */ -/* Analog BaseBand (ABB). */ -/* It is assumed that the ABB is connected as the SPI */ -/* device 0. */ -/* */ -/* This interface is specified to be compatible with */ -/* the UMA1018M Philips, the FUJITSU MB15F02, the */ -/* SIEMENS PMB2306T synthesizers and the TI ABB. */ -/* */ -/* This serial port is based on a looped shift-register */ -/* thus allowing both transmit (PISO) and receive (SIPO) */ -/* modes. */ -/* */ -/* */ -/* Author : Pascal PUEL */ -/* */ -/* Version number : 1.28 */ -/* */ -/* Date and time : 07/01/03 */ -/* */ -/* Previous delta : Rework */ -/* */ -/**********************************************************************************/ +/******************************************************************************/ +/* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION */ +/* */ +/* Property of Texas Instruments -- For Unrestricted Internal Use Only */ +/* Unauthorized reproduction and/or distribution is strictly prohibited. This*/ +/* product is protected under copyright law and trade secret law as an*/ +/* unpublished work. Created 1987, (C) Copyright 1997 Texas Instruments. All*/ +/* rights reserved. */ +/* */ +/* */ +/* Filename : spi_drv.h */ +/* */ +/* Description : SPI registers and bits definitions. */ +/* Functions and macros to drive the SPI module. */ +/* The Serial Port Interface is a bidirectional 3 lines */ +/* interface dedicated to the transfer of data to and */ +/* from up to 5 external devices offering a 3 lines */ +/* serial interface. */ +/* In this project, it is only used to connect the TI */ +/* Analog BaseBand (ABB). */ +/* It is assumed that the ABB is connected as the SPI */ +/* device 0. */ +/* */ +/* This interface is specified to be compatible with */ +/* the UMA1018M Philips, the FUJITSU MB15F02, the */ +/* SIEMENS PMB2306T synthesizers and the TI ABB. */ +/* */ +/* This serial port is based on a looped shift-register */ +/* thus allowing both transmit (PISO) and receive (SIPO) */ +/* modes. */ +/* */ +/* */ +/* Author : Pascal PUEL */ +/* */ +/* Version number : 1.28 */ +/* */ +/* Date and time : 07/01/03 */ +/* */ +/* Previous delta : Rework */ +/* */ +/******************************************************************************/ #ifndef __SPI_DRV_H__ #define __SPI_DRV_H__
--- a/gsm-fw/bsp/abb+spi/spi_pool_size.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_pool_size.h Sun Aug 17 00:08:50 2014 +0000 @@ -13,9 +13,9 @@ /* * History: * - * Date Author Modification - * ------------------------------------------------------------------- - * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h + * Date Author Modification + * ------------------------------------------------------------------- + * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h * * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved */
--- a/gsm-fw/bsp/abb+spi/spi_process.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_process.h Sun Aug 17 00:08:50 2014 +0000 @@ -3,7 +3,7 @@ /* Name spi_process.h */ /* */ /* Function this file contains the spi_process function prototype, */ -/* used to handle messages received in the SPI task mailbox. */ +/* used to handle messages received in the SPI task mailbox. */ /* */ /* Version 0.1 */ /* */ @@ -30,7 +30,7 @@ /******************************************************************************* ** Function spi_process ** -** Description It is called by the spi task core to handle the access to +** Description It is called by the spi task core to handle the access to ** the ABB through the SPI in a non-preemptive way. ** *******************************************************************************/
--- a/gsm-fw/bsp/abb+spi/spi_task.h Fri Aug 15 22:29:30 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_task.h Sun Aug 17 00:08:50 2014 +0000 @@ -1,19 +1,19 @@ /*****************************************************************************/ /* */ -/* Name spi_task.h */ +/* Name spi_task.h */ /* */ /* Function this file contains timers definitions used by spi_core, */ -/* in case the PWR SWE is defined. */ +/* in case the PWR SWE is defined. */ /* */ -/* Version 0.1 */ -/* Author Candice Bazanegue */ -/* */ -/* Date Modification */ -/* ------------------------------------ */ -/* 20/08/2000 Create */ -/* 01/09/2003 Modfication */ -/* Author Pascal Puel */ -/* */ +/* Version 0.1 */ +/* Author Candice Bazanegue */ +/* */ +/* Date Modification */ +/* ------------------------------------ */ +/* 20/08/2000 Create */ +/* 01/09/2003 Modfication */ +/* Author Pascal Puel */ +/* */ /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved */ /*****************************************************************************/