From bb09c493f559917408544d6a9f49bbc9ddd1671a Mon Sep 17 00:00:00 2001 From: Nathan Chow Date: Mon, 29 Apr 2024 14:42:23 -0700 Subject: [PATCH] Pull BlockDriver CycleOut port into an interface --- Drv/BlockDriver/BlockDriver.fpp | 5 ++--- Drv/Interfaces/TickInterface.fppi | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Drv/Interfaces/TickInterface.fppi diff --git a/Drv/BlockDriver/BlockDriver.fpp b/Drv/BlockDriver/BlockDriver.fpp index b5f903e45c..c5414c3775 100644 --- a/Drv/BlockDriver/BlockDriver.fpp +++ b/Drv/BlockDriver/BlockDriver.fpp @@ -7,15 +7,14 @@ module Drv { # General ports # ---------------------------------------------------------------------- + include "../Interfaces/TickInterface.fppi" + @ The rate group scheduler input async input port Sched: Svc.Sched @ The input data buffer port async input port BufferIn: Drv.DataBuffer - @ The cycle outputs. Meant to be connected to rate group driver - output port CycleOut: Svc.Cycle - @ The output data buffer port output port BufferOut: Drv.DataBuffer diff --git a/Drv/Interfaces/TickInterface.fppi b/Drv/Interfaces/TickInterface.fppi new file mode 100644 index 0000000000..d6c7b02b1c --- /dev/null +++ b/Drv/Interfaces/TickInterface.fppi @@ -0,0 +1,2 @@ + @ The cycle outputs. Meant to be connected to rate group driver + output port CycleOut: Svc.Cycle