
LIN Master Software Description
Designer Reference Manual
DRM047 — Rev 0
40
LIN Master Software Description
MOTOROLA
5.1.3 PC Master Mode Initialization
The actions are following:
•
Turn on LIN supply voltage
•
Initialize SCI1 and PC master software driver
•
Initialize LIN driver (including initialization of SCI0 and ECT
channel0)
•
Set up ECT (each channels acts as an output compare and
causes the corresponding interrupt):
–
channel1 (Loop1 timing)
–
channel2 (Loop2 timing)
–
channel3 (PC master software recorder)
•
Set all program flow control and state variables
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..