Download Designer Reference Manual

Transcript
Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc.
Designer Reference Manual — DRM047
Appendix D. LIN Stepper Software Data Variables
Table D-1 describes the LIN Stepper Controller data variables.
Table D-1. Stepper Controller Software Data Variables
Name
eAppState
Components
enumeration constants:
APP_INIT,
APP_RUN,
APP_POS_INIT,
APP_PREPARE_CONFIG
APP_CONFIG,
APP_PREPARE_SLEEP,
APP_SLEEP,
Description
Application State enumeration
Actual motor stepping Frequency union
Word
frequencyActLowHigh
Byte.High
Byte.Low
frequencyReq
Required motor stepping Frequency
HBCTL, eHBCTL
H-Bridge Control Register
in Power Die (see Section 9. References, 9)
HBOUT, eHBOUT
H-Bridge Output Register
in Power Die (see Section 9. References, 9)
IFR, erIFR
Interrupt Flag Register
in Power Die (see Section 9. References, 9)
IMR, erIMR
Interrupt Mask Register
in Power Die (see Section 9. References, 9)
periodStep
motor stepping Period
positionAct
Actual motor Position
positionreq
Required motor Position
POUT, erPOUT
Power Output register
in Power Die (see Section 9. References, 9)
DRM047 — Rev 0
MOTOROLA
Designer Reference Manual
LIN Stepper Software Data Variables
For More Information On This Product,
Go to: www.freescale.com
111