Skip to content
Commit cf35bb0b authored by Wolfgang Reissnegger's avatar Wolfgang Reissnegger
Browse files

SAM3/4 GPIO: Enable peripheral clock for GPIO port when GPIO is configured as input.

The value of a GPIO input is only sampled when the peripheral clock for
the port controller the GPIO resides in is enabled. Therefore we need
to enable the clock even when polling a GPIO.
parent b5b7a21b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment