firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
codegen.PaddingContext Class Reference

Public Member Functions

 __init__ (self, int index, int length)

Data Fields

str name = f"_padding_{index}"
 length = length
str packed_type = f"uint{get_type_width(length)}_t"

Detailed Description

Packed message struct padding member jinja context

Constructor & Destructor Documentation

◆ __init__()

codegen.PaddingContext.__init__ ( self,
int index,
int length )

Field Documentation

◆ length

codegen.PaddingContext.length = length

◆ name

str codegen.PaddingContext.name = f"_padding_{index}"

◆ packed_type

str codegen.PaddingContext.packed_type = f"uint{get_type_width(length)}_t"

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