- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# znp_interface_spi.h

Go to the documentation of this file.

    00001
    00010 #ifndef ZNP_INTERFACE_SPI_H
    00011 #define ZNP_INTERFACE_SPI_H
    00012
    00013 signed int sendMessage(unsigned int cmd, unsigned char *payload, unsigned char payloadLength);
    00014 signed int spiSreq(unsigned char *bytes);
    00015 void radioInit();
    00016 signed int spiPoll(unsigned char *bytes);
    00017
    00018 #define SRSP_BUFFER_SIZE 20
    00019 #define SRSP_HEADER_SIZE 3
    00020 #define SRSP_PAYLOAD_START 3  //may be different for UART
    00021 #define SRSP_LENGTH_FIELD 0  //may be different for UART
    00022
    00023 #endif

All Data Structures Files Functions Variables Defines