configuration HplCC2420InterruptsC {
provides interface GpioCapture as CaptureSFD;
+ provides interface GpioInterrupt as InterruptSFD;
+
provides interface GpioInterrupt as InterruptCCA;
provides interface GpioInterrupt as InterruptFIFOP;
implementation {
- components HplMsp430GeneralIOC as GeneralIOC;
- components Msp430TimerC;
- components new GpioCaptureC() as CaptureSFDC;
- CaptureSFDC.Msp430TimerControl -> Msp430TimerC.ControlA1;
- CaptureSFDC.Msp430Capture -> Msp430TimerC.CaptureA1;
- CaptureSFDC.GeneralIO -> GeneralIOC.Port10;
-
components HplMsp430InterruptC;
components new Msp430InterruptC() as InterruptCCAC;
components new Msp430InterruptC() as InterruptFIFOPC;
+ components new Msp430InterruptC() as InterruptSFDC;
+
InterruptCCAC.HplInterrupt -> HplMsp430InterruptC.Port27;
InterruptFIFOPC.HplInterrupt -> HplMsp430InterruptC.Port12;
+ InterruptSFDC.HplInterrupt -> HplMsp430InterruptC.Port10;
+
+ components HplCC2420InterruptsP;
+ components LocalTimeMilliC;
+ components new GpioCaptureC() as CaptureSFDC;
+ components HplCC2420PinsC;
+
+ CaptureSFD = HplCC2420InterruptsP.CaptureSFD;
+
+ HplCC2420InterruptsP.InterruptSFD -> InterruptSFDC.Interrupt;
+ HplCC2420InterruptsP.LocalTime -> LocalTimeMilliC;
- CaptureSFD = CaptureSFDC.Capture;
InterruptCCA = InterruptCCAC.Interrupt;
InterruptFIFOP = InterruptFIFOPC.Interrupt;
+ InterruptSFD = InterruptSFDC.Interrupt;
}