Interrupt Enable Register - Renesas EMMA Mobile 1 User Manual

Multimedia processor for mobile applications uart interface
Table of Contents

Advertisement

3.2.2 Interrupt enable register

This register (IER: 5000_0004H (UART0), 5001_0004H (UART1), 5002_0004H (UART2)) enables the issuance of
interrupt requests. Each interrupt can be set up individually for each interrupt source.
The interrupt sources corresponding to bits to which 1 is written are enabled.
15
14
7
6
Reserved
Name
R/W
Reserved
R
Reserved
R/W
EDSSI
R/W
ELSI
R/W
ETBEI
R/W
ERBI
R/W
Caution By setting bit 0 to "0", reception completion and timeouts can be excluded from the interrupt
sources. However, when bit 4 of the HCR0 register is set to 1 (receiver timeout DMA REQ
disable), a timeout error is added to the interrupt sources, regardless of the setting of bit 0.
Remark
A timeout error is detected when either of the following conditions is satisfied while the FIFO stores at
least one character:
<1> The most recent serial character is received before at least the four continuous character times.
<2> The host read the FIFO most recently before four continuous character times.
Four continuous character times is equivalent to four characters of a 12-bit received character (start: 1
bit, data: 8 bits, parity: 1 bit, stop: 2 bits), that is, 768 cycles (for a 16 clock) (12  4  16 = 768 cycles
(for a 16 clock)).
CHAPTER 3 REGISTERS
13
12
Reserved
5
4
Bit
After Reset
15:8
0
Reserved. When these bits are read, 0 is returned for each bit.
7:4
0
Reserved. Written data is ignored.
3
0
Specifies whether to enable the modem status interrupt.
0: Disables the modem status interrupt.
1: Enables the modem status interrupt.
2
0
Specifies whether to enable the reception error (receiver line status)
interrupt.
0: Disables the reception error interrupt.
1: Enables the reception error interrupt.
1
0
Specifies whether to enable the transmit buffer empty (transmit hold
register (THR) empty) interrupt.
0: Disables the transmit buffer empty interrupt.
1: Enables the transmit buffer empty interrupt.
0
0
Specifies whether to enable the reception completion (received data
available) and timeout interrupts.
0: Disables the reception completion and timeout interrupts.
1: Enables the reception completion and timeout interrupts.
User's Manual S19262EJ3V0UM
11
10
3
2
EDSSI
ELSI
Function
9
8
1
0
ETBEI
ERBI
15

Advertisement

Table of Contents
loading

Table of Contents