ecu_hsm Struct Reference

ECU: ecu_hsm Struct Reference
ECU
ecu_hsm Struct Reference

Hierarchical state machine. Users create their own HSMs by containing this as an intrusive member. More...

#include <hsm.h>

Collaboration diagram for ecu_hsm:
[legend]

Data Fields

const struct ecu_hsm_statestate
 Current state the hsm is in.
 
uint8_t height
 Number of levels in the hsm, starting at 0. Used as a fail safe to avoid infinite loops when traversing up the state hierarchy.
 
uint32_t transition
 Bitmap representing hsm's state transition context.
 

Detailed Description

Hierarchical state machine. Users create their own HSMs by containing this as an intrusive member.

Warning
PRIVATE. Unless otherwise specified, all members can only be edited via the public API.

The documentation for this struct was generated from the following file: