![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 957](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_2330655957.webp)
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
21-14
Freescale Semiconductor
21.3.3.6
LIN Transmit Register (ESCIx_LTR)
ESCI
x
_LTR can be written to only when TXRDY is set. The first byte written to the register selects the
transmit address, the second byte determines the frame length, the third and fourth byte set various frame
options and determine the timeout counter. Header parity will be automatically generated if the
ESCI
x
_LCR[PRTY] bit is set. For TX frames, the fourth byte (bits T7–T0) is skipped, because the timeout
function does not apply. All following bytes are data bytes for the frame. CRC and checksum bytes will
be automatically appended when the appropriate options are selected.
When a bit error is detected, an interrupt is set and the transmission aborted. The register can only be
written again after the interrupt is cleared. Afterwards a new frame starts, and the first byte needs to contain
a header again.
Additionally it is possible to flush the ESCI
x
_LTR by setting the ESCI
x
_LCR[LRES] bit.
NOTE
Not all values written to the ESCI
x
_LTR will generate valid LIN frames.
The values are determined according to the LIN specification.
14
CKIE
Checksum error interrupt enable. Generates an Interrupt on a detected checksum error.
For a list of interrupt enables and flags, see
.
15
FCIE
Frame complete interrupt enable. Generates an Interrupt after complete transmission of a
TX frame, or after the last byte of an RX frame is received. (The complete frame includes
all header, data, CRC and checksum bytes as applicable.) For a list of interrupt enables
and flags, see
.
16–22
—
Reserved.
23
OFIE
Overflow interrupt enable. Generates an Interrupt when a data byte in the ESCIx_LRR has
not been read before the next data byte is received. For a list of interrupt enables and flags,
see
24–31
—
Reserved.
Table 21-7. ESCIx_LCR Field Descriptions (Continued)
Bits
Name
Description
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...