How can this be so hard?
I'm just trying to toggle between pull-up and pull-down or input and output, but it's not working. Atmel Start/ASF4 based stupid test code.
Why is there nothing with PULL_DOWN. I get only 0.6 uA sink to pin, while it should be arounf 30 uA. With PULL_UP I do get 30 uA source, but I can't get that to stop with PULL_OFF.
When I have once set the direction OUT, I can't change it back to IN without reset.
Using ASF3 and "gpio_pin_set_config" etc. I can do all the toggling and get the LED to glow with PULL_DOWN. So there is nothing wrong in the chip and it's capable of doing all these changes.