Skip to content

Conversation

@benpicco
Copy link
Contributor

@benpicco benpicco commented Jun 2, 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

Read.

Issues/PRs references

@benpicco benpicco added Area: sys Area: System Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation labels Jun 2, 2021
@jeandudey jeandudey added this to the Release 2021.07 milestone Jun 2, 2021
@jeandudey jeandudey added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 2, 2021
@benpicco benpicco merged commit 3ad85a3 into RIOT-OS:master Jun 3, 2021
@benpicco benpicco deleted the bit_check branch June 3, 2021 11:07
elenaf9 added a commit to elenaf9/RIOT that referenced this pull request Sep 8, 2025
A general `bit_checkXX` implementation was added with RIOT-OS#16522 to
`sys/bit.h`, but still missing for kinetis MCUs.
elenaf9 added a commit to elenaf9/RIOT that referenced this pull request Sep 8, 2025
A general `bit_checkXX` implementation was added with RIOT-OS#16522 to
`sys/bit.h`, but still missing for kinetis MCUs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants