ADuC7034 atomic access to GPIO direction bits

Hi,

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.

Thanks,

Alex

Parents Reply Children
No Data