32 #include "contiki-net.h" 35 #include "isr_compat.h" 37 #ifdef CC2420_CONF_SFD_TIMESTAMPS 38 #define CONF_SFD_TIMESTAMPS CC2420_CONF_SFD_TIMESTAMPS 41 #ifndef CONF_SFD_TIMESTAMPS 42 #define CONF_SFD_TIMESTAMPS 0 45 #ifdef CONF_SFD_TIMESTAMPS 46 #include "cc2420-arch-sfd.h" 52 ISR(CC2420_IRQ, cc24240_port1_interrupt)
61 cc2420_arch_init(
void)
66 CC2420_CSN_PORT(DIR) |= BV(CC2420_CSN_PIN);
67 CC2420_VREG_PORT(DIR) |= BV(CC2420_VREG_PIN);
68 CC2420_RESET_PORT(DIR) |= BV(CC2420_RESET_PIN);
70 #if CONF_SFD_TIMESTAMPS 71 cc2420_arch_sfd_init();
CC2420 driver header file
int cc2420_interrupt(void)
Interrupt function, called from the simple-cc2420-arch driver.