??? 06/22/06 22:17 Read: times |
#118913 - It's exactly how Moto does it Responding to: ???'s previous message |
There are still flags to read (are read-only) but the act of accessing the associated data register resets the flags. It's very common. Here is a tidbid:
http://www.electronics.dit.ie/staff/tsc...a/6850.htm Receiver Data Register Full (RDRF) is cleared by reading from the Receiver Data Register (RDR). Transmitter Data Register Empty (TDRE) is cleared by writing new data to the TDR register. So the flags stick high until you clear them by accessing the data reg. I don't know how you could have missed this from my earlier post ;-) GB |