create_bfstruct

summary: create a structure with bitfield members

description:

The goal of this script is to demonstrate some usage of the type API. In this script, we:

  • Create a bitfield structure. In the present case the bitfield is an int32

made of three ‘members’ spanning it entirely:

bit0->bit19: bf1 bit20->bit25: bf2 bit26->bit31: bf3

  • For each member create a repeatable comment.

level: intermediate

Attributes

udt

bftif

tif

Module Contents

create_bfstruct.udt
create_bfstruct.bftif
create_bfstruct.tif