Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Utils] - Add get/set bit utils #200

Open
jr1221 opened this issue Nov 18, 2024 · 0 comments · May be fixed by #211
Open

[Utils] - Add get/set bit utils #200

jr1221 opened this issue Nov 18, 2024 · 0 comments · May be fixed by #211
Assignees

Comments

@jr1221
Copy link
Contributor

jr1221 commented Nov 18, 2024

Description

We need to get and set single bits alot. Add utils for that.

Acceptance Criteria

  • Added in c_utils.c and c_utils.h
  • Works for a variety of types (uint8_t, uint16_t, etc.)
  • Tested

Proposed Solution

Add these utils, use bitmath.https://en.wikipedia.org/wiki/Bitwise_operations_in_C

DimitryP6 added a commit that referenced this issue Dec 1, 2024
@DimitryP6 DimitryP6 linked a pull request Dec 2, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants