stm32: support pin input interrupts

This commit is contained in:
Kenneth Bell
2021-05-31 17:45:49 -07:00
committed by Ron Evans
parent c017ed2242
commit 5f9e339cf3
16 changed files with 527 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// +build stm32
package main
import "machine"
const (
buttonMode = machine.PinInputPulldown
buttonPinChange = machine.PinRising | machine.PinFalling
)