29.3.2.2 EUSART Synchronous Client Transmit
The operation of the Synchronous Host and Client modes are identical (see Synchronous Host Transmission), except in the case of the Sleep mode.
If two words are written to TXxREG and then the SLEEP
instruction is executed, the following will
occur:
- The first character will immediately transfer to the TSR register and transmit.
- The second word will remain in the TXxREG register.
- The TXxIF bit will not be set.
- After the first character has been shifted out of TSR, the TXxREG register will transfer the second character to the TSR and the TXxIF bit will now be set.
- If the PEIE and TXxIE bits are set, the interrupt will wake the device from Sleep and execute the next instruction. If the GIE bit is also set, the program will call the Interrupt Service Routine.