PIO confusion
Posted: Mon Mar 01, 2021 6:46 pm
A couple of things still puzzling me. When instantiating a state machine input pins start at in_base, sideset pins start at sideset_base and jmp_pin denotes pins used for jump. But what is the difference between set_base and out_base?
Another thing that puzzles me is the distinction between the pin and pins symbols. The test scripts have
Ref here and here. I don't understand why there are two different symbols.
Other queries: the meaning of relative vs absolute IRQ numbers. Under what circumstances does the IRQ number matter? Also the distinction between PIO.IN_LOW and PIO.IN_HIGH? I know I raised this before, but maybe someone has figured it out in the meanwhile.
Another thing that puzzles me is the distinction between the pin and pins symbols. The test scripts have
Code: Select all
set pins 0
wait 1 pin 0
Other queries: the meaning of relative vs absolute IRQ numbers. Under what circumstances does the IRQ number matter? Also the distinction between PIO.IN_LOW and PIO.IN_HIGH? I know I raised this before, but maybe someone has figured it out in the meanwhile.