X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Ftimer%2FMsp430TimerCapComP.nc;h=52355369c72ac061da5169356856f51e9594088c;hb=fbde8e8b590651b32583d9250bb4921d5b6ab1a3;hp=5ae8695a62432b2df807dea0758da70a16c6299f;hpb=849e12737171e9cada78e2e4c272b993d0393758;p=tinyos-2.x.git diff --git a/tos/chips/msp430/timer/Msp430TimerCapComP.nc b/tos/chips/msp430/timer/Msp430TimerCapComP.nc index 5ae8695a..52355369 100644 --- a/tos/chips/msp430/timer/Msp430TimerCapComP.nc +++ b/tos/chips/msp430/timer/Msp430TimerCapComP.nc @@ -28,7 +28,7 @@ generic module Msp430TimerCapComP( uint16_t TxCCTLx_addr, uint16_t TxCCRx_addr - ) + ) @safe() { provides interface Msp430TimerControl as Control; provides interface Msp430Compare as Compare; @@ -65,7 +65,7 @@ implementation ccis : 0, // capture/compare input select clld : 0, // TBCL1 loads on write to TBCCR1 cap : 1, // compare mode - scs : 1, // synchronous capture mode + scs : 0, // non synchronous capture mode ccie : 0, // capture compare interrupt enable }; return CC2int(x);