Wixel SDK
radio_link.h
Go to the documentation of this file.
1 
25 #ifndef _RADIO_LINK
26 #define _RADIO_LINK
27 
28 #include <cc2511_types.h>
29 #include <radio_mac.h>
30 
34 #define RADIO_LINK_PAYLOAD_SIZE 18
35 
40 #define RADIO_LINK_MAX_PAYLOAD_TYPE 15
41 
48 
95 extern volatile BIT radioLinkResetPacketReceived;
96 
100 void radioLinkInit(void);
101 
105 
109 
134 
142 void radioLinkTxSendPacket(uint8 payloadType);
143 
155 uint8 XDATA * radioLinkRxCurrentPacket(void); // returns 0 if no packet is available.
156 
163 
166 void radioLinkRxDoneWithPacket(void);
167 
172 BIT radioLinkConnected(void);
173 
177 extern volatile BIT radioLinkActivityOccurred;
178 
179 #endif
#define XDATA
Definition: cc2511_types.h:65
__bit BIT
Definition: cc2511_types.h:32
unsigned char uint8
Definition: cc2511_types.h:9
signed long int32
Definition: cc2511_types.h:24
#define CODE
Definition: cc2511_types.h:39