Fujitsu F2MC-16LX Hardware Manual page 515

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Timing transmission interrupt request generation
When sending interrupts are enabled (SSR0 to SSR3: TIE=1) and if the sending data empty flag bit (SSR0
to SSR3: TDRE) is set to "1", a sending interrupt request is generated.
Note:
If the sending operation is set to be disabled (SCR0 to SCR3: TXE=0, in the operation mode 1, also
including receiving operation disabled RXE) in the middle of sending operation, the sending data
empty flag bit is set (SSR0 to SSR3: TDRE=1), the shift operation of the sending shift register is
halted and then UART communication operation is disabled. The send data written to the serial
output data register 1 before the transmission stops 0 to 3 (SODR0 to SODR3) is sent.
By default TDRE bit is "1". So, as soon as sending interrupts are enabled (TIE=1), the interrupt
indicating completion of transmission is generated. TDRE bit is a read-only bit and has no other way
to clear than by writing new data in the serial output data registers 0 to 3 (SODR0 to SODR3) to
clear. So be careful when to enable a sending interrupt.
CHAPTER 21 UART
499

Advertisement

Table of Contents
loading

Table of Contents