コード例 #1
0
        /**
         * Enables clearing the position of the feedback sensor when the quadrature index signal
         * is detected
         *
         * @param clearPositionOnQuadIdx    Whether clearing is enabled, defaults false
         * @param timeoutMs
         *            Timeout value in ms. If nonzero, function will wait for
         *            config success and report an error if it times out.
         *            If zero, no blocking or checking is performed.
         * @return Error Code generated by function. 0 indicates no error.
         */
        public ErrorCode ConfigClearPositionOnQuadIdx(bool clearPositionOnQuadIdx, int timeoutMs)
        {
            ErrorCode retval = _ll.ConfigClearPositionOnQuadIdx(clearPositionOnQuadIdx, timeoutMs);

            return(retval);
        }