fprime/Svc/PolyIf/PolyIf.fpp
Philip Romano 3f25d8b535
Change FPP enums to smallest representation (#4342)
For all FPP enums in the framework, set the representing type to the minimum
width that can represent the enum's member constants.
2025-10-22 15:44:10 -07:00

19 lines
560 B
Fortran

module Svc {
@ An enumeration for measurement status
enum MeasurementStatus : U8 {
OK = 0 @< Measurement was good
FAILURE = 1 @< Failure to retrieve measurement
STALE = 2 @< Measurement is stale
}
@ Port for setting and getting PolyType values
port Poly(
$entry: PolyDbCfg.PolyDbEntry @< The entry to access
ref status: MeasurementStatus @< The command response argument
ref $time: Fw.Time @< The time of the measurement
ref val: Fw.PolyType @< The value to be passed
)
}