diff --git a/Svc/ComStub/ComStub.fpp b/Svc/ComStub/ComStub.fpp index 65576cc854..dd66cb973c 100644 --- a/Svc/ComStub/ComStub.fpp +++ b/Svc/ComStub/ComStub.fpp @@ -1,19 +1,7 @@ module Svc { @ Communication adapter interface implementing communication adapter interface via a Drv.ByteStreamDriverModel. passive component ComStub { - - # ---------------------------------------------------------------------- - # Framer, deframer, and queue ports - # ---------------------------------------------------------------------- - - @ Data coming in from the framing component - sync input port comDataIn: Drv.ByteStreamSend - - @ Status of the last radio transmission - output port comStatus: Fw.SuccessCondition - - @ Com data passing back out - output port comDataOut: Drv.ByteStreamRecv + include "../Interfaces/ComInterface.fppi" # ---------------------------------------------------------------------- # Byte stream model diff --git a/Svc/Interfaces/ComInterface.fppi b/Svc/Interfaces/ComInterface.fppi new file mode 100644 index 0000000000..448345a86a --- /dev/null +++ b/Svc/Interfaces/ComInterface.fppi @@ -0,0 +1,8 @@ +@ Data coming in from the framing component +sync input port comDataIn: Drv.ByteStreamSend + +@ Status of the last radio transmission +output port comStatus: Fw.SuccessCondition + +@ Com data passing back out +output port comDataOut: Drv.ByteStreamRecv \ No newline at end of file