|
|
str | macro_name (self) |
| |
| None | resolve_layout (self, Dict custom_types) |
| |
| None | validate_semantics (self, Dict custom_types) |
| |
|
int | get_total_bit_length (self, Optional[Dict] custom_types=None) |
| |
| int | get_dlc (self, Dict custom_types) |
| |
|
|
str | desc = "" |
| |
|
List | signals = field(default_factory=list) |
| |
|
int | priority = 0 |
| |
|
int | period = 0 |
| |
|
Optional | id_override = None |
| |
|
bool | is_extended = False |
| |
|
int | final_id = 0 |
| |
|
int | dlc = 0 |
| |
|
str | layout_hash = "" |
| |
◆ get_dlc()
| int parser.Message.get_dlc |
( |
| self, |
|
|
Dict | custom_types ) |
Calculate the Data Length Code (DLC) in bytes.
◆ resolve_layout()
| None parser.Message.resolve_layout |
( |
| self, |
|
|
Dict | custom_types ) |
Calculate bit offsets, shifts, and masks for all signals.
This is intrinsic to the message definition.
◆ validate_semantics()
| None parser.Message.validate_semantics |
( |
| self, |
|
|
Dict | custom_types ) |
Perform semantic checks that require external context (like custom types).
Raises ValueError if invalid.
The documentation for this class was generated from the following file:
- common/can_library/canpiler/parser.py