Newer
Older
pyenergenie / src / energenie / drv / spih_rpi.c
@David Whale David Whale on 3 Apr 2016 645 bytes Created file architecture for arduino build
/* spih.c (Hard SPI)  D.J.Whale  19/07/2014
 */


/***** INCLUDES *****/

//#include <stdio.h>
//#include <stdlib.h>
//#include <time.h>
//#include <sys/time.h>
//#include <string.h>

//#include "spi.h"
//#include "gpio.h"



/***** VARIABLES *****/

static SPI_CONFIG config;


void spi_init_defaults(void)
{
  //TODO
}


void spi_init(SPI_CONFIG* pConfig)
{
  //TODO
}


void spi_finished(void)
{
  //TODO
}


void spi_select(void)
{
  //TODO
}


void spi_deselect(void)
{
  //TODO
}


int spi_byte(int txbyte)
{
  //TODO
}


void spi_frame(unsigned char* pTx, unsigned char* pRx, unsigned char count)
{
  //TODO
}


/***** END OF FILE *****/