rust/tests/target/issue-2479.rs
2018-03-02 15:07:13 +13:00

13 lines
569 B
Rust

// 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,
}