Samsung S3C84E5 Microphone User Manual


 
UART S3C84E5/C84E9/P84E9
13-4
UART INTERRUPT PENDING REGISTER (UARTPND)
The UART interrupt pending register, UARTPND is located at address F4H. It contains the UART data transmit
interrupt pending bit (UARTPND.0) and the receive interrupt pending bit (UARTPND.1).
In mode 0 of the UART module, the receive interrupt pending flag UARTPND.1 is set to "1" when the 8th receive data
bit has been shifted. In mode 1 or 2, the UARTPND.1 bit is set to "1" at the halfway point of the stop bit's shift time.
When the CPU has acknowledged the receive interrupt pending condition, the UARTPND.1 flag must be cleared by
software in the interrupt service routine.
In mode 0 of the UART module, the transmit interrupt pending flag UARTPND.0 is set to "1" when the 8th transmit
data bit has been shifted. In mode 1 or 2, the UARTPND.0 bit is set at the start of the stop bit. When the CPU has
acknowledged the transmit interrupt pending condition, the UARTPND.0 flag must be cleared by software in the
interrupt service routine.
UART Pending Register (UARTPND)
F4H, Set1, Bank 0, R/W, Reset Value: 00H
MSB LSB
PEN RPE RIP TIP.7 .6 .3 .2
UART parity enable/disable:
0 = Disable
1 = Enable
UART receive parity error:
0 = No error
1 = Parity error
UART receive interrupt pending flag:
0 = Not pending
0 = Clear pending bit (when write)
1 = Interrupt pending
UART transmit interrupt pending flag:
0 = Not pending
0 = Clear pending bit (when write)
1 = Interrupt pending
Not used
(must keep
always 0)
Not used
(must keep always 0)
NOTES:
1. In order to clear a data transmit or receive interrupt pendingflag, you must write a "0" to the
appropriate pending bit. A "0" has no effect.
2. To avoid errors, we recommend using load instruction (except for LDB), when manipulating
UARTPND values.
3. Parity enable and parity error check can be available in 9-bit UART mode (Mode 2) only.
4. Parity error bit (RPE) will be refreshed whenever 8th receive data bit has been shifted.
Figure 13-2. UART Interrupt Pending Register (UARTPND)