Skip to main content

Scade One standard libraries 2024 R2

BitsMask

Last update: 17.07.2025

Returns a mask of a number of bits at the given position.

Interface

Name Kind Type Comment
N P N/A Size of the bit-field
p I integer Start bit position
Range: [0, N[
l I integer Number of bits to set
Range: [0, N-p[
mask O unsigned<<N>> Resulting mask

Parent topic:Bitfield

Connect with Ansys