FreeCalypso > hg > freecalypso-sw
changeset 589:54459b912ef0
gsm-fw/bsp/abb+spi/spi_*.c: formatting fixes (line length and tabs)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 00:56:26 +0000 |
parents | 1c0033c2fe33 |
children | 05342cadbaf1 |
files | gsm-fw/bsp/abb+spi/spi_drv.c gsm-fw/bsp/abb+spi/spi_process.c gsm-fw/bsp/abb+spi/spi_task.c |
diffstat | 3 files changed, 47 insertions(+), 46 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/spi_drv.c Sun Aug 17 00:35:56 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_drv.c Sun Aug 17 00:56:26 2014 +0000 @@ -1,43 +1,43 @@ -/**********************************************************************************/ -/* 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.c */ -/* */ -/* Description : Functions 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.45 */ -/* */ -/* 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.c */ +/* */ +/* Description : Functions 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.45 */ +/* */ +/* Date and time : 07/01/03 */ +/* */ +/* Previous delta : Rework */ +/* */ +/******************************************************************************/ #include "spi_drv.h"
--- a/gsm-fw/bsp/abb+spi/spi_process.c Sun Aug 17 00:35:56 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_process.c Sun Aug 17 00:56:26 2014 +0000 @@ -3,7 +3,7 @@ /* Name spi_process.c */ /* */ /* Function this file contains the spi_process function, used to */ -/* handle messages received in the SPI mailbox, and used to */ +/* handle messages received in the SPI mailbox, and used to */ /* access the ABB. It is called by the spi task core. */ /* */ /* Version 0.1 */
--- a/gsm-fw/bsp/abb+spi/spi_task.c Sun Aug 17 00:35:56 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_task.c Sun Aug 17 00:56:26 2014 +0000 @@ -44,7 +44,7 @@ ** Function spi_core ** ** Description Core of the spi task, which initiliazes the spi SWE and -** waits for messages. +** waits for messages. ** *******************************************************************************/ T_RV_RET spi_core(void) @@ -122,18 +122,19 @@ -/********************************************************************************** +/******************************************************************************* * Function : spi_adc_on * -* Description : Put the variable is_adc_on of the T_SPI_GBL_INFO structure to TRUE. -* This variable is used for the battery management. +* Description : Put the variable is_adc_on of the T_SPI_GBL_INFO structure +* to TRUE. +* This variable is used for the battery management. * This function is called by the CST entity. * * Parameters : None * * Return : None * -**********************************************************************************/ +*******************************************************************************/ void spi_adc_on (void) { SPI_GBL_INFO_PTR->is_adc_on = TRUE;