sift_py.yaml.channel
¶
| CLASS | DESCRIPTION |
|---|---|
ChannelBitFieldElementYamlSpec |
Formal spec that defines what a bit-field element should look like in YAML. |
ChannelConfigYamlSpec |
Formal spec that defines what a channel should look like in YAML. |
ChannelEnumTypeYamlSpec |
Formal spec that defines what a channel enum type should look like in YAML. |
ChannelBitFieldElementYamlSpec
¶
ChannelConfigYamlSpec
¶
Bases: TypedDict
Formal spec that defines what a channel should look like in YAML.
name: Name of channel.
description: Optional channel description.
unit: Unit of measurement.
component: Name of component that channel belongs to.
data_type: Type of the data associated with the channel.
enum_types: Required if data_type is enum.bit_field_elements: Required ifdata_typeisbit_field`.
| ATTRIBUTE | DESCRIPTION |
|---|---|
bit_field_elements |
TYPE:
|
component |
TYPE:
|
data_type |
TYPE:
|
description |
TYPE:
|
enum_types |
TYPE:
|
name |
TYPE:
|
unit |
TYPE:
|
bit_field_elements
instance-attribute
¶
bit_field_elements: NotRequired[
List[ChannelBitFieldElementYamlSpec]
]