How should the port transfer register be cleared?

If you have a simple question and just want an answer.
sudha
Member
Posts: 14
Joined: Thu Oct 17, 2013 12:19 pm

How should the port transfer register be cleared?

Post by sudha »

There is a spurious data read from the port. This needs clearing port transfer register.



sudha
Member
Posts: 14
Joined: Thu Oct 17, 2013 12:19 pm

Post by sudha »

clearbuf(port) clears the port transfer register.