19 typedef enum rf_address_mode_t {
21 RF_DECODER_COORDINATOR,
48 #define ISTXONCCA 0xE4
50 #define ISFLUSHRX 0xE6
51 #define ISFLUSHTX 0xE7
53 #define ISACKPEND 0xE9
58 #define MAC_IFS (1200/128)
60 #define CC2430_MAX_PACKET_LEN 127
61 #define CC2430_MIN_PACKET_LEN 4
63 #define CC2430_CCA_CLEAR 1
64 #define CC2430_CCA_BUSY 0
66 #ifdef CC2430_CONF_RFERR_INTERRUPT
67 #define CC2430_RFERR_INTERRUPT CC2430_CONF_RFERR_INTERRUPT
69 #define CC2430_RFERR_INTERRUPT 0
76 uint8_t cc2430_rf_channel_get();
80 #if !NETSTACK_CONF_SHORTCUTS
83 #if CC2430_RFERR_INTERRUPT
84 extern void cc2430_rf_error_ISR(
void) __interrupt(RFERR_VECTOR);
88 void rf_dma_callback_isr(
void);