Is it possible to change a GPIO direction atomically (like outputs through GPxSET/GP2CLR regs)?
Now I change GPxDAT register inside a critical section of code.
It works, but may be I don't know something.
there is no register set such as GPxSET/GPxCLR in the ADuC7034 that would allow direct acces to control the direction of the GPIOs. Access to GPxDAT is the only way to change GPIO directions.
Thank you for your confirmation.
Retrieving data ...