Skip to content

Can't degrade_adc for PD3/A4 (ch32v003) #68

Open
ch32-rs/ch32-data
#17
@jsprog

Description

@jsprog

Description

AdcChannel trait isn't implemented for PD3/A4

    let adc_channel_7 = p.PD4.degrade_adc(); // success
    let adc_channel_4 = p.PD3.degrade_adc(); // not available
error[E0599]: no method named `degrade_adc` found for struct `PD3` in the current scope

Affected devices:

  • ch32v003f4p6 and CH32V003f4u6

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