|
APIs, concepts, guides, and more
|
| void UserLimitOutputSet | ( | int32_t | number, |
| uint32_t | andMask, | ||
| uint32_t | orMask, | ||
| uint64_t | outputPtr, | ||
| bool | enabled ) |
| number | the index of the User Limit (must be less than UserLimitCountMax). |
| andMask | 32-bit AND mask. |
| orMask | 32-bit OR mask. |
| *outputPtr | Any controller address. |
| enabled | 1 = enabled, 0 = disabled. |
Part of the User Limit method group.
To set a bit, use andMask = 0xFFFFFFFF and orMask = (bit(s) to set)
To clear a bit, use andMask = ~(bit(s) to clear) and orMask = 0
An Overload of this function accepts valueSet in place of andMask & orMask. Use this overload to set a specific value rather than using Masks.