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

Use Bit Fields for Connector Bit mode_flag? #96

Open
yuanxun-yx opened this issue Oct 24, 2024 · 0 comments
Open

Use Bit Fields for Connector Bit mode_flag? #96

yuanxun-yx opened this issue Oct 24, 2024 · 0 comments

Comments

@yuanxun-yx
Copy link

yuanxun-yx commented Oct 24, 2024

It would be clearer if bit field is used for connector's mode_flag. Something like this:

struct bf_mode_flag
{
    uint8_t mode :3;
    uint8_t logical_operator :2;
    uint8_t relational_operator :3;
} mode_flag;
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

No branches or pull requests

1 participant