mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* 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
46 lines
1.1 KiB
Fortran
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"
|
|
|
|
}
|
|
|
|
}
|