summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-2479.rs
blob: 3683ab2208955136ebaf665a281446ef8d8a308a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Long attributes.
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum POLARITYR {
    #[doc = "Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity."]
    NONE,
    #[doc = "Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin."]
    LOTOHI,
    #[doc = "Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin."]
    HITOLO,
    #[doc = "Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin."]
    TOGGLE,
}