Struct gd32vf103xx_hal::exti::ExtiLine[][src]

pub struct ExtiLine(_);
Expand description

An ExtiLine that can be listen()ed for interrupt

Implementations

Generate an Option<ExtiLine> from a GPIO pin configured by Afio

A line from gpio can be obtained through its pin_number() method

extiline = ExtiLine::from_gpio_line(some_pin.pin_number()).unwrap();
exti.listen(extiline, TriggerEdge::Falling);

Generate an ExtiLine from internal source specified by InternalLine

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.