Skip to content

Use Bit Fields for Connector Bit mode_flag? #96

@yuanxun-yx

Description

@yuanxun-yx

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions