Chapter 23 LIN Physical Layer (S12LINPHYV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
764
Freescale Semiconductor
23.3.2.8
LIN Interrupt Flags Register (LPIF)
Table 23-9. LPIF Field Description
Module Base + Address 0x0007
Access: User read/write
(1)
1. Read: Anytime
Write: Writing ‘1’ clears the flags, writing a ‘0’ has no effect
7
6
5
4
3
2
1
0
R
LPDTIF
LPOCIF
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented
Figure 23-10. LIN Interrupt Flags Register (LPIF)
Field
Description
7
LPDTIF
LIN Transmitter TxD-dominant timeout Interrupt Flag
— LPDTIF is set to 1 when LPTxD is still dominant (0)
after
t
TDLIM
of the falling edge of LPTxD. For protection, the transmitter is disabled. This flag can only be
cleared by writing a 1. Writing a 0 has no effect. Please make sure that LPDTIF=1 before trying to clear it.
Clearing LPDTIF is not allowed if LPDTIF=0 already. If the LPTxD is still dominant after clearing the flag, the
transmitter stays disabled and this flag is set again (see 23.4.4.2 TxD-dominant timeout Interrupt).
If interrupt requests are enabled (LPDTIE= 1), LPDTIF causes an interrupt request.
0 No TxD-dominant timeout has occurred.
1 A TxD-dominant timeout has occurred.
6
LPOCIF
LIN Transmitter Overcurrent Interrupt Flag
— LPOCIF is set to 1 when an overcurrent event happens. For
protection, the transmitter is disabled. This flag can only be cleared by writing a 1. Writing a 0 has no effect.
Please make sure that LPOCIF=1 before trying to clear it. Clearing LPOCIF is not allowed if LPOCIF=0 already.
If the overcurrent is still present or LPTxD is dominant after clearing the flag, the transmitter stays disabled and
this flag is set again (see23.4.4.1 Overcurrent Interrupt).
If interrupt requests are enabled (LPOCIE= 1), LPOCIF causes an interrupt request.
0 No overcurrent event has occurred.
1 Overcurrent event has occurred.