pc87591l-n05 National Semiconductor Corporation, pc87591l-n05 Datasheet - Page 153

no-image

pc87591l-n05

Manufacturer Part Number
pc87591l-n05
Description
Lpc Mobile Embedded Controller
Manufacturer
National Semiconductor Corporation
Datasheet
Revision 1.2
4.0 Embedded Controller Modules
Figure 57 shows a diagram of the interrupt sources and associated enable bits.
The interrupts can be individually enabled or disabled using Enable Transmit Interrupt (ETI), Enable Receive Interrupt (ERI)
and Enable Receive Error Interrupt (EEI) bits in UnICTRL register.
A transmit interrupt is generated when both the TBE and ETI bits are set. To remove this interrupt, the software must either
disable the interrupt by clearing the ETI bit or write to UnTBUF register (thus clearing the TBE bit).
A receive interrupt is generated on two conditions:
DMA Support
The USART can operate with either one or two DMA channels. Two DMA channels are required for processor-independent
full-duplex operation. Both receive and transmit DMA can be enabled individually.
If the transmit DMA is enabled (ETD=1), the USART issues a DMA request every time the TBE flag is set. Enabling the
transmit DMA automatically disables the TX interrupt independent of the value of the ETI bit.
Enabling the receive DMA (ERD=1) causes a DMA request to be asserted every time the Receive Buffer Full flag (RBF) is
set. Once the receive DMA is enabled the RX interrupt is automatically disabled independent of the value of the ERI bit.
However, to detect errors during reception the receive error interrupt should be enabled (EEI=1) while using the DMA.
In the PC87591L-N05 only USART1 supports DMA.
Break Generation and Detection
A line break is generated when BRK bit is set in MDSL register. The UTXDn line remains low until the user resets the BRK bit.
A line break is detected if URXDn remains low for a time equivalent to 10 bit times or longer, after a missing stop bit has
been detected.
Parity Generation and Detection
Parity is only generated or checked with 7- and 8-bit data formats. It is not generated or checked in Diagnostic Loopback
mode, Attention mode or in Normal mode with 9-bit data format. Parity generation and checking is enabled and disabled via
PEN bit in UnFRS register. PSEL bits in UnFRS register are used to select odd, even, mark or space parity.
ISE Mode Operation
The USART module supports breakpoint operation by preserving some of the status bits of the UnSTAT and UnICTRL reg-
isters. While the FREEZE bit is asserted, the PE, FE, DOE, BKD and DCTS bits are not cleared on a read of UnSTAT or
UnICTRL register.
• If both the RBF and ERI bits are set. To remove this interrupt, the software must either disable the interrupt, by clear-
• If both the ERR and the EEI bits are set. To remove this interrupt, the software must either disable it by clearing the
ing the ERI bit, or read from UnRBUF register (thus clearing the RBF bit).
EEI bit, or read UnSTAT register, which causes ERR flag to be cleared.
DOE
FE
PE
Figure 57. USART Interrupt Sources
ERR
TBE
RBF
(Continued)
153
EEI
ERI
ETI
RX
Interrupt
TX
Interrupt
www.national.com

Related parts for pc87591l-n05