
UART Serial Ports
Élan™SC520 Microcontroller User’s Manual
21-13
21.5.7.3
Interrupt Disable
Each UART interrupt request can be disabled (gated low) prior to the programmable
interrupt controller by clearing to 0 the OUT2 bit in the UART x Modem Control (UARTxMCR)
register. Note that setting the LOOP bit in the MCR also disables the UART interrupt request.
Therefore, interrupts are not propagated to the PIC while in loopback mode.
21.6
INITIALIZATION
At system reset, the serial port is disabled. To be enabled, it must be configured by software.
1. Configure the UART by programming the desired baud rate, character length, stop-bits,
and parity.
2. Enable interrupts and DMA operation as desired. Note that for UART interrupts to
propagate to the programmable interrupt controller, the OUT2 bit in the UART x Modem
Control (UARTxMCR) register must be set to 1.
After the UART is enabled, it powers up as a 16450-compatible device. It can be switched
between 16550-compatible mode and 16450-compatible mode under software control.
3. Enable 16550-compatible mode by setting the FIFO_ENB bit of UART x FIFO Control
(UARTxFCR) register. Note that the contents of this write-only register can be read back
in the UART x FIFO Control Shadow (UARTxFCRSHAD) register.
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...