> disable interrupts at runtime and use that as a state machine, while I was > wondering whether it wouldn't be simpler to keep all interrupts enabled at all > time and handle the synchronization explicitly. If I do this, I'll get another "spurious" interrupt telling me the transmit register is empty again, even after I wrote the last byte. I don't like this.
Attachment:
signature.asc
Description: Digital signature