Updated SPI config for faster SPI, split msp430/clock/spi into separate versions for MSP430/MSP430X

This commit is contained in:
Niclas Finne 2011-09-23 15:01:13 +02:00
parent 09082f02fe
commit f4f84ffca4
14 changed files with 677 additions and 237 deletions

View file

@ -73,8 +73,10 @@ cc2520_arch_init(void)
CC2520_VREG_PORT(DIR) |= BV(CC2520_VREG_PIN);
CC2520_RESET_PORT(DIR) |= BV(CC2520_RESET_PIN);
P1DIR &= ~(BV(CC2520_FIFOP_PIN) | BV(CC2520_FIFO_PIN) | BV(CC2520_CCA_PIN));
P2DIR &= ~(BV(CC2520_SFD_PIN));
CC2520_FIFOP_PORT(DIR) &= ~(BV(CC2520_FIFOP_PIN));
CC2520_FIFO_PORT(DIR) &= ~(BV(CC2520_FIFO_PIN));
CC2520_CCA_PORT(DIR) &= ~(BV(CC2520_CCA_PIN));
CC2520_SFD_PORT(DIR) &= ~(BV(CC2520_SFD_PIN));
#if CONF_SFD_TIMESTAMPS
cc2520_arch_sfd_init();