Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Split GPIO registers into named bit fields #5

@MabezDev

Description

@MabezDev

Would be nice to have a nicer api instead of manually bit shifting, e.g

Replace

gpio_reg_x.write(|w| unsafe { w.bits(0x1 << 0) });

With, or similar

gpio_reg_x.write(|w| w.gpio0().set_bit())

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions