Fujitsu MB90480 Series Hardware Manual page 465

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

● Method to check completion of operation
Perform in the following method.
• Mode 0/1, transmission : Check the SSR register empty flag after next transmission data is
• Mode 0/1, reception :
• Mode 2, transmission/reception : Check register full flag. (Completion can be checked when
● Method to set baud rate
See section "19.5 UART Operations".
● Interrupt related register
The relationship between the UART interrupt vector and UART interrupt level setting register is
shown in the following table.
For details of the interrupt level and interrupt vector, see "CHAPTER 3 INTERRUPT".
UART
reception
UART
transmission
● Type of interrupt
4 interrupt sources are provided at reception side and one at transmission side.
UART
reception
UART
transmission
● Method to enable/disable/clear interrupt
Enabling/disabling interrupt is set by the interrupt request enable bit (SSR.RIE, SSR.TIE).
To disable interrupt request
To enable interrupt request
written. (completion can be checked when next transmission data is
transferred from register to shifter and the empty flag in the serial
output register is set to "1".)
Check register full flag. (Completion can be checked when the full
flag in the serial input register is set to "1".)
the full flag in the serial input register is set to "1".)
Interrupt vector
#36
Address
: FFFF6C
H
#34
Address
: FFFF74
H
The interrupt request occurs due to the sources that occurred first among reception
completion (serial input register full), parity error, overrun error, and framing error.
The interrupt request occurs at the transmission buffer empty.
UART
Interrupt request enable bit
Interrupt level setting register
Interrupt control register
Address
Interrupt control register
Address
reception
Interrupt request enable bit
(RIE)
Set to "0"
Set to "1"
CHAPTER 19 UART
12 (ICR12)
: 0000BC
H
11 (ICR11)
: 0000BB
H
transmission
UART
(TIE)
443

Advertisement

Table of Contents
loading

Table of Contents