Hi Team,
Can this device work with both input and output signal flow? Such as P0~P7 as input IO, P8~P15 as output IO. Is there any notices with the timing sequence of read and write? Thanks.
BRs,
Francis
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
Can this device work with both input and output signal flow? Such as P0~P7 as input IO, P8~P15 as output IO. Is there any notices with the timing sequence of read and write? Thanks.
BRs,
Francis
The configuration registers allow all bits to be set as input or output separately.
Just read from the input port registers, and write to the output port registers. (Reading an output pin returns it current value; writing to an input pin is ignored.)