Skip to content

Add atomic XOR/set/clear access #25

@hmvp

Description

@hmvp

While I suspect this is something that might be added through svd2rust I still think its useful to mention here:

According to 2.1.2 from the datasheet most registers allow XORing, setting or clearing of individual bits by writing to offset 0x1000, 0x2000 or 0x3000 from the base register. This is useful in a lot of cases to circumvent a read/modify cycle.

Afaik this is not supported by the pac at the moment..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions