diff gsm-fw/bsp/abb+spi/spi_api.c @ 157:e48ea5875df7

gsm-fw: SPI task code compiles and links
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 09:17:06 +0000
parents 63750f70796d
children
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/spi_api.c	Sun Nov 17 08:15:19 2013 +0000
+++ b/gsm-fw/bsp/abb+spi/spi_api.c	Sun Nov 17 09:17:06 2013 +0000
@@ -1,4 +1,4 @@
-/*********************************************************************************
+/*******************************************************************************
 *
 *	File Name: spi_api.c
 *
@@ -12,21 +12,21 @@
 *
 *	Author: 
 *
-*********************************************************************************/
+*******************************************************************************/
 
-#include "rvf/rvf_api.h"
-#include "spi/spi_api.h"
-#include "spi/spi_env.h"
-#include "spi/spi_process.h"
-#include "rvm/rvm_use_id_list.h"
+#include "../../riviera/rvf/rvf_api.h"
+#include "spi_api.h"
+#include "spi_env.h"
+#include "spi_process.h"
+#include "../../riviera/rvm/rvm_use_id_list.h"
 
 
 
-/********************************************************************************/
-/*                                                                              */
-/*    Function Name:   spi_abb_read                                             */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*    Function Name:   spi_abb_read                                           */
+/*                                                                            */
+/******************************************************************************/
 T_RV_RET spi_abb_read(UINT16 page, UINT16 address, CALLBACK_FUNC_U16 CallBack)
 {
    T_SPI_READ *msgPtr;
@@ -75,11 +75,11 @@
 
 
 
-/********************************************************************************/
-/*                                                                              */
-/*    Function Name:   spi_abb_write                                            */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*    Function Name:   spi_abb_write                                          */
+/*                                                                            */
+/******************************************************************************/
 T_RV_RET spi_abb_write(UINT16 page, UINT16 address, UINT16 data)
 {
    T_SPI_WRITE *msgPtr;
@@ -125,11 +125,11 @@
 
 
 
-/********************************************************************************/
-/*                                                                              */
-/*    Function Name:   spi_abb_conf_ADC                                         */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*    Function Name:   spi_abb_conf_ADC                                       */
+/*                                                                            */
+/******************************************************************************/
 T_RV_RET spi_abb_conf_ADC(UINT16 channels, UINT16 itval)
 {
    T_SPI_ABB_CONF_ADC *msgPtr;
@@ -176,11 +176,11 @@
 
 
 
-/********************************************************************************/
-/*                                                                              */
-/*    Function Name:   spi_abb_read_ADC                                         */
-/*                                                                              */
-/********************************************************************************/
+/******************************************************************************/
+/*                                                                            */
+/*    Function Name:   spi_abb_read_ADC                                       */
+/*                                                                            */
+/******************************************************************************/
 T_RV_RET spi_abb_read_ADC(UINT16 *Buff, CALLBACK_FUNC_NO_PARAM CallBack)
 {
    T_SPI_ABB_READ_ADC *msgPtr;
@@ -224,4 +224,3 @@
 
    return (RV_OK);
 }
-