Download MPC8245UM: MPC8245 Integrated Processor User`s Manual

Transcript
Freescale Semiconductor, Inc.
Programming Model
Table 12-5. Baud Rate Examples (continued)
Baud Rate
(Dec)
Divisor
(Dec)
Input Clock
Frequency
(MHz)
Percent Error
(Dec)
128000
49
100
0.352
256000
24
100
1.725
Freescale Semiconductor, Inc...
12.4.3 Transmitter Holding Register (UTHR)
A write to UTHR, a write only register, causes the UART device to transfer 5 to 8 data bits
on the UART bus in the format setup in the ULCR. In FIFO mode, data written to UTHR
is placed into the FIFO. The first byte written to UTHR is the first byte onto the UART bus.
Figure 12-6 shows the data bits in the UTHRs.
DATA BITS
7
0
Figure 12-6. Transmitter Holding Register (UTHR)
Table 12-6 describes the bit settings for the UTHRs.
Table 12-6. Bit Settings for UTHR—Offsets 0x500, 0x600
Bit
Name
Reset
Value
R/W
Description
7–0
DATA
All 0s
R
Data written to the external device receiver on the UART bus. Bit 0 is the least
significant bit, and the first data bit to be transmitted; bit 7is the most significant
bit, and the last data bit to be transmitted.
12.4.4 Interrupt Enable Register (UIER)
The UIER gives the user the ability to mask specific UART interrupts to the processor core
or PCI bus.
Figure 12-7 shows the bits in the UIERs.
Reserved
0000
7
EMSI
4
3
ERLSI ETHREI ERDAI
2
1
0
Figure 12-7. Interrupt Enable Register (UIER)
12-16
MPC8245 Integrated Processor User’s Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA