SZSPTP ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
spi.h File Reference

SPI interface. More...

#include <xdc/std.h>
+ Include dependency graph for spi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPI_BUFSIZE   128
 Size of the SPI buffer.
 

Functions

void spi_init ()
 SPI initialization. More...
 
UInt16 spi_proccess ()
 SPI proccess. More...
 
UInt8 spi_reqBegin (UInt8 len, UInt8 cmd0, UInt8 cmd1)
 Request begin. More...
 
UInt8 spi_reqData (UInt8 len, void *pBuf)
 Request data. More...
 
void spi_reqEnd (UInt8 forwardToSerial)
 Request end. More...
 
UInt8 spi_busy ()
 SPI busy. More...
 
void SPI_SRDYISR ()
 ISR SRDY. More...
 
void SPI_USCIB0RX_ISR ()
 USCIB0 RX. More...
 

Variables

char spi_buf [SPI_BUFSIZE]
 SPI buffer, used to send and receive data.
 

Detailed Description

SPI interface.

Definition in file spi.h.