Changeset 1460
- Timestamp:
- 02/25/12 19:03:36 (15 months ago)
- Location:
- trunk/firmware/openos/bsp
- Files:
-
- 3 edited
-
radio.h (modified) (1 diff)
-
telosb/radio.c (modified) (1 diff)
-
telosb/radiotimer.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware/openos/bsp/radio.h
r1459 r1460 30 30 void radio_txEnable(); 31 31 void radio_txNow(); 32 void radio_waitTxDone();33 32 void radio_rxEnable(); 34 33 void radio_rxNow(); -
trunk/firmware/openos/bsp/telosb/radio.c
r1459 r1460 126 126 } 127 127 128 void radio_waitTxDone() {129 radio_spiStrobe(CC2420_SNOP, &radio_vars.radioStatusByte);130 while (radio_vars.radioStatusByte.tx_active==1) {131 radio_spiStrobe(CC2420_SNOP, &radio_vars.radioStatusByte);132 }133 }134 135 128 void radio_rxEnable() { 136 129 // poipoi -
trunk/firmware/openos/bsp/telosb/radiotimer.c
r1459 r1460 108 108 switch (tbiv_local) { 109 109 case 0x0002: // CCR1 fires 110 if (TBCC R1 & CCI) {110 if (TBCCTL1 & CCI) { 111 111 // SFD pin is high: this was the start of a frame 112 112 if (radiotimer_vars.startFrameCb!=NULL) {
Note: See TracChangeset
for help on using the changeset viewer.
