[riot-notifications] [RIOT-OS/RIOT] sys/bit: add bit_checkXX() functions (#16522)

benpicco notifications at github.com
Wed Jun 2 14:55:03 CEST 2021

### Contribution description

There are functions to set and clear bits in a bit map, but no functions to check if a bit in a bit map is set.
Add those trivial functions for consistency. 

### Testing procedure


### Issues/PRs references

Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/bit: add bit_checkXX() functions

-- File Changes --

    M sys/include/bit.h (66)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210602/d1194047/attachment.htm>

More information about the notifications mailing list