Download DSC56800EX Quick Start User Guide

Transcript
pParam
ENC_GET_FILTERED_ENCSIGNA
LS
ENC_GET_RAW_ENCSIGNALS
ENC_GET_SCALED_POSITION
ENC_GET_SCALED_POSITION_DI
FFERENCE
ENC_GET_TEST_COUNT
ENC_GET_TEST_PERIOD
ENC_HOME_EDGE
NULL
NULL
pointer to
decoder_sEncScale type
pointer to
decoder_sEncScale type
NULL
NULL
ENC_NEGATIVE/ENC_POSI
TIVE
Description
56F84xxx
Cmd
56F82xxx
Table 5-21. ENC Driver Command
Read and return the filtered version of
HOME (Bit0), INDEX (Bit1), PHASEB
(Bit2) and PHASEA (Bit3) encoder
signals from the Input Monitor Register (IMR) as UWord16 or as
decoder_sEncSignals structure members.

Read and return the raw version of
HOME (Bit0), INDEX (Bit1), PHASEB
(Bit2) and PHASEA (Bit3) encoder
signals from the Input Monitor Register (IMR) as UWord16 or as
decoder_sEncSignals structure members.

Calculate and return absolute position
as Word32, where the MSB part represents the number of revolutions
(equals to the content of the Revolution Register) while the LSB part represents the portion of the current
revolution, scaled into the range of a
16bit unsigned data. The
DEC_CALCULATE_SCALE_COEF
command must be executed prior to
this command.

Calculate and return a relative position
difference as Word16. The
DEC_CALCULATE_SCALE_COEF
command must be executed prior to
this command. This command reads
the content of the Position Difference
Counter Register (POSD).

Get the number of quadrature
advances to generate during self-test
operation.

Get the number of quadrature
advances to generate during self-test
operation.

Set the rising or falling edge of the
HOME signal to trigger the initialization of the Upper and the Lower Position Counter Registers (UPOS,
LPOS).

DSC56800EX Quick Start User’s Guide, Rev. 2, 04/2015
Freescale Semiconductor, Inc.
5-69