/**
*  @file znp_interface_spi.h
*
*  @brief  public methods for znp_interface_spi.c
*
* $Rev: 619 $
* $Author: dsmith $
* $Date: 2010-07-02 10:54:13 -0700 (Fri, 02 Jul 2010) $
*
* YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY 
* OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, 
* TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS INSTRUMENTS 
* OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, 
* BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
* INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, 
* LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY 
* CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
*/
#ifndef ZNP_INTERFACE_SPI_H
#define ZNP_INTERFACE_SPI_H
signed int sendMessage();
signed int sendSreq();
signed int spiPoll();

#define SRSP_BUFFER_SIZE        20
#define SRSP_HEADER_SIZE        3

//Change these for UART
#define SRSP_PAYLOAD_START      3  //may be different for UART
#define SRSP_LENGTH_FIELD       0  //may be different for UART
#define SRSP_CMD_LSB_FIELD      2
#define SRSP_CMD_MSB_FIELD      1



#endif
