Question about an61345 | Cypress Semiconductor
Question about an61345
In TD_poll() of slave.c of An61345 example firmware code,
The IOC used like this IOC |=0x01 But i dont understand.
As i know, The IOC 's i/o initial direction is used by input.
So IOC register can read on input direction, but example code show that IOC can write like this IOC |=0x01.
Is this something wrong what write data to input register ?