Hi,

MicaZ platform uses hardware timer1 and timer2 of Atmega128 in the radio stack. I am looking through the code under tos/platform/micaz and a bit confused about Timer2. What follows is a code extract from HPLTimer2.nc

  command result_t StdControl.init() {
      atomic {
                mscale = DEFAULT_SCALE;
                minterval = DEFAULT_INTERVAL;
      }
      return SUCCESS;
    }

But I can't seem to find where DEFAULT_SCALE and DEFAULT_INTERVAL are defined. There is no includes statement in the file and no defines. But since I can compile for MicaZ without errors and/or warnings so their values must be defined somewhere. Can someone direct me to the right place/file? I am using tinyos-1.1.15DecCVS.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to