rubberduck203 / stm32f3-discovery

Rust Board Support Package for the STM32F3DISCOVERY
Apache License 2.0
52 stars 20 forks source link

Allow configuration of button interrupt trigger #12

Closed rubberduck203 closed 4 years ago

rubberduck203 commented 4 years ago

Currently, the button interrupt is configured to only trigger on rising edge. Allow other configurations.

https://github.com/rubberduck203/stm32f3-discovery/blob/33db991148879278bc3ce6404bf68a47bf81fc01/src/button/interrupt.rs#L42