mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
rp2040: add definition for machine.PinToggle
This commit is contained in:
@@ -241,6 +241,8 @@ const (
|
|||||||
PinFalling PinChange = 4 << iota
|
PinFalling PinChange = 4 << iota
|
||||||
// Edge rising
|
// Edge rising
|
||||||
PinRising
|
PinRising
|
||||||
|
|
||||||
|
PinToggle = PinFalling | PinRising
|
||||||
)
|
)
|
||||||
|
|
||||||
// Callbacks to be called for pins configured with SetInterrupt.
|
// Callbacks to be called for pins configured with SetInterrupt.
|
||||||
|
|||||||
Reference in New Issue
Block a user