fprime/Ref/BlockDriver/BlockDriver.fpp
Andrei Tumbar 5723115f5e
Add FPP Interfaces (#3709)
* Interfaces

* Point to new fpp alpha release

* Fix the fprime-gds version

* Update for framer/deframer work

* Fix cmake tests

* Clean up annotations

* Clean up final fpp
2025-06-24 09:08:44 -07:00

46 lines
1.1 KiB
Fortran

module Ref {
@ An example block driver component with data buffers and interrupts
active component BlockDriver {
# ----------------------------------------------------------------------
# General ports
# ----------------------------------------------------------------------
import Drv.Tick
@ The rate group scheduler input
async input port Sched: Svc.Sched
@ The input data buffer port
async input port BufferIn: Drv.DataBuffer
@ The output data buffer port
output port BufferOut: Drv.DataBuffer
@ Input ping port
async input port PingIn: Svc.Ping
@ Output ping port
output port PingOut: Svc.Ping
# ----------------------------------------------------------------------
# Special ports
# ----------------------------------------------------------------------
@ Time get port
time get port Time
@ Telemetry port
telemetry port Tlm
# ----------------------------------------------------------------------
# Telemetry
# ----------------------------------------------------------------------
include "Tlm.fppi"
}
}