Skip to main content

Module delay_do

Module delay_do 

Source
Expand description

Delay-and-Do state machine — native Rust port of delayDo.st.

Implements a state machine that waits for a standby condition, monitors an active condition, and after the active condition clears (with a configurable delay), triggers an action.

§State Machine

  init ──► idle ◄──────────────────────────┐
           │  ▲                              │
           │  └── maybeStandby ◄── disable  │
           ▼                       ▲        │
        standby ──► maybeWait ──► waiting ──► action
           ▲            │           │
           │            ▼           ▼
           │          idle       active ──► waiting
           └──────────────────────┘

Structs§

DelayDoController
The delay-do controller.
DelayDoInputs
Input signals for the delay-do state machine.

Enums§

DelayDoAction
Output actions from the delay-do state machine.
DelayDoState
States of the delay-do state machine.