SetBits Last update: 17.07.2025 Returns the input with a number of bits set to either 0 or 1, starting at the given position. Interface Name Kind Type Comment N P N/A Size of the bit-field bf I unsigned<<N>> Input bit-field p I integer Start bit positionRange: [0, N[ l I integer Number of bits to setRange: [0, N-p[ status I integer Value to set to the selected bitsRange: [0, 1] v O unsigned<<N>> Result of the operation Parent topic:Bitfield