Updated SPI config for faster SPI, split msp430/clock/spi into separate versions for MSP430/MSP430X
This commit is contained in:
parent
09082f02fe
commit
f4f84ffca4
14 changed files with 677 additions and 237 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue