32 #include "contiki-net.h" 36 #include "isr_compat.h" 38 #ifdef CC2420_CONF_SFD_TIMESTAMPS 39 #define CONF_SFD_TIMESTAMPS CC2420_CONF_SFD_TIMESTAMPS 42 #ifndef CONF_SFD_TIMESTAMPS 43 #define CONF_SFD_TIMESTAMPS 0 46 #ifdef CONF_SFD_TIMESTAMPS 47 #include "cc2420-arch-sfd.h" 51 ISR(CC2420_IRQ, cc2420_port1_interrupt)
59 cc2420_arch_init(
void)
64 CC2420_CSN_PORT(DIR) |= BV(CC2420_CSN_PIN);
65 CC2420_VREG_PORT(DIR) |= BV(CC2420_VREG_PIN);
66 CC2420_RESET_PORT(DIR) |= BV(CC2420_RESET_PIN);
68 #if CONF_SFD_TIMESTAMPS 69 cc2420_arch_sfd_init();
CC2420 driver header file
int cc2420_interrupt(void)
Interrupt function, called from the simple-cc2420-arch driver.