Thanks, Sha. Now I know what active high is, but I can not find the definition of active active high. Is it reverse(active low)?
On 3/16/08, Liusand <[EMAIL PROTECTED]> wrote: > > FIFOP pin is active active high by default. > > -Sha > > > > *From:* renjie huang <[EMAIL PROTECTED]> > *Sent:* Sunday, March 16, 2008 4:57 AM > *To:* [email protected] > *Subject:* [Tinyos-help] FIFOP AND FIFO OVERFLOW > > > In CC2420 datasheet, it says that " If an overflow occurs in the RXFIFO, > this is signalled to the microcontroller by setting the FIFO pin low while > the FIFOP pin is high. " But I am confused when I read the code in CC2420 > for TinyOS-1.x. > From the code ,it seems that both FIFO pin and FIFOP pin are low > when FIFO overflow happens. > > Following code is copied from CC2420RadioM.nc: > > // if a FIFO overflow occurs or if the data length is invalid, > flush > // the RXFIFO to get back to a normal state. > if ((!TOSH_READ_CC_FIFO_PIN() && !TOSH_READ_CC_FIFOP_PIN())) { > flushRXFIFO(); > } > > > > -- > > Renjie > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > -- Renjie
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
