Skip to content

Define reusable bitfield patterns #5384

Description

@thomas-bc
F´ Version
Affected Component

Feature Description

Nothing F Prime specific, but it'd be handy if we had somewhere in the framework shared definitions to work with bitfields in byte values.

e.g.

BIT_0 = 0x01
BIT_1 = 0x02
...
BIT_7 = 0x80

// potentially up to 32/64 ? unsure how useful

Or maybe even MACROS that automatically does the & and >> ... potentially with bit ranges and such. Not sure how fancy we want to get.

Rationale

standardize patterns to work with bitfields, mostly for driver code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    Status
    CCB

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions