Jump to content
Electronics-Lab.com Community

read/write operations


shekhar_dandya
 Share

Recommended Posts

Good afternoon,

Read-modify-write means that the port is read, the bit selected is set or cleared, and the result is written to the port. The disadvantage of this is that the output that is driven high by the output may be overloaded and read as low (or vice-versa) as the output latch is not read only the actual pin. This is why sometimes it is good to use 'shadow' registers to modify, then transfer their contents to the port.

Tri-state means that the output driver is disabled- writing a 0 or 1 to the latch will not affect the external circuitry.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
  • Create New...