LIN Stepper Software Description
LIN Stepper Software Implementation
DRM047 — Rev 0
Designer Reference Manual
MOTOROLA
LIN Stepper Software Description
65
6.2.7 App. Prepare Sleep
Application prepares all MCU modules for minimal consumption and
provides Stop instruction. It also sets the Power Die to be able to
generate IRQ pin signal for LIN-bus wake-up.
6.2.8 App. Wake-Up
After wake-up message from the bus, the MCU is wakened by the IRQ
pin signal from Power Die.
6.2.9 App. Configuration
Application Configuration is described in
.
6.2.10 App. Clear Errors
Application clears Power Die errors and uAppErrFlags.Byte = 0
6.3 LIN Stepper Software Implementation
6.3.1 Scaling of Quantities
The LIN Leveller application uses signed 16-bit type
SWord16
,
unsigned 16-bit type
UWord16
, signed 8-bit type
SByte,
and unsigned
8-bit type UByte variables.
Any defined Real Variable constant must be recalculated to the system
representation (
UWord16 Value, SWord16 Value, UWord8 Value,
SWord8 Value
)
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
.
..