]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/timer/Msp430TimerCapComP.nc
Align the interface definition for the capture configuration with the implementation...
[tinyos-2.x.git] / tos / chips / msp430 / timer / Msp430TimerCapComP.nc
index efcd3b54a3ead3f835aaf2f61c6b5588d16581cc..5ae8695a62432b2df807dea0758da70a16c6299f 100644 (file)
@@ -61,7 +61,7 @@ implementation
   uint16_t captureControl(uint8_t l_cm)
   {
     cc_t x = {
-      cm : l_cm & 0x03,    // capture on rising edge
+      cm : l_cm & 0x03,  // capture on none, rising, falling or both edges
       ccis : 0,  // capture/compare input select
       clld : 0,  // TBCL1 loads on write to TBCCR1
       cap : 1,   // compare mode