bcm-v4

[Specification

Performing a MaskSet

When the term MaskSet is used, it is shorthand for reading a value from a register, applying a bitwise AND mask to the value and then applying a bitwise OR to set a value. This value is then written back to the register.

As an example, this:

FOO = (FOO & MASK) | SET

Is the same as:

MaskSet FOO with mask MASK and set SET


Exported/Archived from the wiki to HTML on 2016-10-27