??? 01/13/13 13:37 Read: times |
#189145 - RMW uses latch Responding to: ???'s previous message |
Hal Albach said:
Your CLEAR: function sets each bit of an output port sequentially and could cause problems. The 8051 ports are all READ-MODIFY-WRITE which means that when you write to the port all the PINS, not the latches, are read, then changed, then written back to the port latches. No, that's not true. The 8051 uses the latch for Read-Modify-Write instructions. see: http://www.keil.com/support/m...51_xrl.htm |