fprime/Svc/BufferAccumulator/Commands.fppi
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

23 lines
444 B
Plaintext

enum OpState : U8 {
ACCUMULATE = 0
DRAIN = 1
}
@ Set the mode
async command BA_SetMode(
mode: OpState
) \
opcode 0x00
enum BlockMode : U8 {
NOBLOCK = 0
BLOCK = 1
}
@ Drain the commanded number of buffers
async command BA_DrainBuffers(
numToDrain: U32
blockMode: BlockMode
) \
opcode 0x01