Skip to content

Commit

Permalink
Created ComInterface.fppi (#3017)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsilveira1409 authored Nov 11, 2024
1 parent 3d49971 commit e3a4024
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
14 changes: 1 addition & 13 deletions Svc/ComStub/ComStub.fpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 8 additions & 0 deletions Svc/Interfaces/ComInterface.fppi
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e3a4024

Please sign in to comment.