-----------------------------------
configuration Oscilloscope { }
implementation
{
components Main, OscilloscopeM
, TimerC
, LedsC
, DemoSensorC as Sensor
, GenericComm as Comm;
Main.StdControl -> OscilloscopeM;
Main.StdControl -> TimerC;
OscilloscopeM.Timer -> TimerC.Timer[unique("Timer")];
OscilloscopeM.Leds -> LedsC;
OscilloscopeM.SensorControl -> Sensor;
OscilloscopeM.ADC -> Sensor;
OscilloscopeM.CommControl -> Comm;
OscilloscopeM.ResetCounterMsg -> Comm.ReceiveMsg[AM_OSCOPERESETMSG];
OscilloscopeM.DataMsg -> Comm.SendMsg[AM_OSCOPEMSG];
}
No comments:
Post a Comment