Skip to content

[DMA] Refactor DMA driver to allow AnyChannel to start transfers too #103

@felipebalbi

Description

@felipebalbi

Drivers should not be polymorphic on the channel they use. Instead, drivers should keep Peri<'d, AnyChannel<T>> for each of the DMA channels they use and AnyChannel should be capable of starting transfers. That way, we minimize the amount of typestate in drivers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions