Did you write “ADL_ioSubscribe(…)” or “adl_ioSubscribe(…)” in the code? I f you haven´t defined ADL_ioSubscribe() yourself, then it should be with lower case “adl”… C is case-sensitive and will punish you for not using the correct upper/lower case spelling…
A 2nd parameter is needed as a mask. The 3rd one is the value right?
This way I have to set the value as 0x00000004 or 0x00000000
It wouldn´t be a problem to use 0xFFFFFFFF or 0x00000000 correct? Because we´re using a mask.
Yeah, I guess you could use 0xFFFFFFFF / 0x00000000. I haven’t tried it but it may work. I don’t know if they check internally if you try to set a value for a GPIO which isn’t in the mask of GPIOs to write…
I think the safe way would be to only pass the value that the function needs… Even if it does work now, who knows if they implement more thorough checking in future versions of OpenAT…