From 979965da13886883fe7399d60ff4d025f53bfd4c Mon Sep 17 00:00:00 2001 From: razvanm Date: Mon, 1 Dec 2008 23:51:38 +0000 Subject: [PATCH] Add a comment about the polarity of FIFOP. --- tos/chips/cc2420/receive/CC2420ReceiveP.nc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tos/chips/cc2420/receive/CC2420ReceiveP.nc b/tos/chips/cc2420/receive/CC2420ReceiveP.nc index 30a42191..b50ad035 100644 --- a/tos/chips/cc2420/receive/CC2420ReceiveP.nc +++ b/tos/chips/cc2420/receive/CC2420ReceiveP.nc @@ -126,6 +126,10 @@ implementation { reset_state(); m_state = S_STARTED; atomic receivingPacket = FALSE; + /* Note: + We use the falling edge because the FIFOP polarity is reversed. + This is done in CC2420Power.startOscillator from CC2420ControlP.nc. + */ call InterruptFIFOP.enableFallingEdge(); } return SUCCESS; -- 2.39.2